cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ojiu
Regular Visitor

Flow parsing names and emails from domains

Hi all,

 

Can someone please share a flow on how to loop through a top-level domain e.g. www.target.com" or www.walmart.com and find all associated email addresses, names and phone numbers that are listed on the website? 

 

Would this first require the flow to generate a xml sitemap and then continuously loop through the website based on a azure ML library that uses a reference of NLP/documents? 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @Ojiu,

 

This is an example that extracts the "target":

replace(replace(outputs('Compose'),'www.',''),'.com','')

Annotation 2020-07-09 164940.jpg

 

This an example that determines the string(Email, name, etc) whether contains "target":

contains('Email@target.com',outputs('Compose_2'))

Annotation 2020-07-09 165248.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-litu-msft
Community Support
Community Support

Hi @Ojiu,

 

Firstly, you could use replace() function to remove "www." and ".com" from the "www.target.com', then it will remain "target".

Then use the contains() function or Contains action to find email addresses, names, and phone numbers whether including the "target".

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for clarifying, can you link an example of the flow that you would set up?

 

 

v-litu-msft
Community Support
Community Support

Hi @Ojiu,

 

This is an example that extracts the "target":

replace(replace(outputs('Compose'),'www.',''),'.com','')

Annotation 2020-07-09 164940.jpg

 

This an example that determines the string(Email, name, etc) whether contains "target":

contains('Email@target.com',outputs('Compose_2'))

Annotation 2020-07-09 165248.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Thanks could you share the code the flow to import? Couldn't get it to work - just to understand this will parse through an entire website to find the emails right? 

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,906)