cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

Re: Flow parsing names and emails from domains

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
Highlighted
Community Support
Community Support

Re: Flow parsing names and emails from domains

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.

Highlighted
Regular Visitor

Re: Flow parsing names and emails from domains

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

 

 

Highlighted
Community Support
Community Support

Re: Flow parsing names and emails from domains

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

Highlighted
Regular Visitor

Re: Flow parsing names and emails from domains

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
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (6,369)