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

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (5,909)