Showing results for 
Search instead for 
Did you mean: 
Level: Power Up

Get hyperlink associated to a known text string

Somewhere in the body of a received e-mail in HTML format is a text string of the form 

Click here to approve request 123456

(where `123456` is an example that changes from e-mail to e-mail)


This text it has a `mailto:` hyperlink. Something like:

<a href=";body=blahblah">Click here to approve request 123456</a>

In Microsoft Flow, I need to get that hyperlink:;body=blahblah

How do I do this?


The ultimate goal is to have Flow send an e-mail as per the contents of the `mailto:` link.


I guess I could:

  1. Figure out the position (index) of `Click here to approve request`;
  2. Work back somehow to figure out the index of the `<a href="` and `">` immediately before that; and
  3. Parse what's in between those two markers.

This looks like it will be extremely painful in the Flow GUI. Is there no more convenient way?

Community Support Team
Community Support Team

Re: Get hyperlink associated to a known text string

Hi @jeaco ,


It could be achieved with the three steps you’ve mentioned in the post.

If you want a more convenient way, please consider using connector MailParser.

Here is the doc on mailParser (Preview) for your reference:

MailParse templates for your reference:


Best regards,



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

Helpful resources


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020


Flow Community User Group Member Badge

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


Microsoft Learn

Learn how to build the business apps that you need


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 169 members 4,863 guests
Please welcome our newest community members: