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
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

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (85,257)