cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Raeville
Level: Powered On

How can i add a hyperlink in the Approval email? Link back to SharePoint item.

Hi,

 

I would like to add a working hyperlink (URL) on the approval request email (using Start Approval action)

 

I have added the URL in the email but when it comes through, it is just a string and not an active link. 

 

Appreciate any advise i could get.

 

Thanks! 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How can i add a hyperlink in the Approval email? Link back to SharePoint item.

Hi @Raeville,

 

Do you want to add two hyperlinks (URL) within the approval email sent via "Start an approval" action?

 

If you want to add two hyperlinks (URL) within the approval email sent via "Start an approval" action, I afraid that there is no way to achieve your needs in Microsoft Flow currently. If you would like this feature to be added in "Start an approval" action of Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

In addition, you could consider take a try with the following workaround as an alternative way:

  • Add a "When an item is created" trigger.
  • Add a "Get attachments" action, specify Site Address and List Name. Id field set to ID dynamic content of the trigger.
  • Add a "Create HTML table" action, From set to output of "Get attachments" action, Include headers set to Yes and Columns set to Custom. Within Columns entry, entry one entry, Header box set to AttachmentURL and Value box set to AbsoluteUri dynamic content of "Get attachments" action.
  • Add a "Send email with options" action, User Options set to following formula:
Approve, Reject

Body field set to Link to item dynamic content and Output of "Create HTML table" action.

Image reference:6.JPG

 

7.JPG

The flow works successfully as below:9.JPG

 

8.JPG

Click "Show original message" button within approval email, the original approval email shows up as below:10.JPG

Two hyperlinks (URLs) show up as above.

 

Best regards,

Kris

 

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
5 REPLIES 5
Anonymous
Not applicable

Re: How can i add a hyperlink in the Approval email? Link back to SharePoint item.

I believe the only way to do this is to use the built-in link and link description fields. The "details" field doesn't support html.

link in flow.pngScreenshot_20180303-092606.png

Raeville
Level: Powered On

Re: How can i add a hyperlink in the Approval email? Link back to SharePoint item.

Thanks @Anonymous 

 

But what if i have more than 2 links to add to the email? 

 

1. Link to the item

2. Link to the attachment or a document somewhere else?

 

thanks again. 

Community Support Team
Community Support Team

Re: How can i add a hyperlink in the Approval email? Link back to SharePoint item.

Hi @Raeville,

 

Do you want to add two hyperlinks (URL) within the approval email sent via "Start an approval" action?

 

If you want to add two hyperlinks (URL) within the approval email sent via "Start an approval" action, I afraid that there is no way to achieve your needs in Microsoft Flow currently. If you would like this feature to be added in "Start an approval" action of Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

In addition, you could consider take a try with the following workaround as an alternative way:

  • Add a "When an item is created" trigger.
  • Add a "Get attachments" action, specify Site Address and List Name. Id field set to ID dynamic content of the trigger.
  • Add a "Create HTML table" action, From set to output of "Get attachments" action, Include headers set to Yes and Columns set to Custom. Within Columns entry, entry one entry, Header box set to AttachmentURL and Value box set to AbsoluteUri dynamic content of "Get attachments" action.
  • Add a "Send email with options" action, User Options set to following formula:
Approve, Reject

Body field set to Link to item dynamic content and Output of "Create HTML table" action.

Image reference:6.JPG

 

7.JPG

The flow works successfully as below:9.JPG

 

8.JPG

Click "Show original message" button within approval email, the original approval email shows up as below:10.JPG

Two hyperlinks (URLs) show up as above.

 

Best regards,

Kris

 

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Jambo1
Level: Powered On

Re: How can i add a hyperlink in the Approval email? Link back to SharePoint item.

Another way to add more links into the approval email (i.e. the message that comes out of the Start an Approval action is to use the markdown formatting i.e. [Link Text](Link URL) then you can add as many links as you like.

 

 

 https://docs.microsoft.com/en-us/flow/approvals-markdown-support

Manolete83
Level: Powered On

Re: How can i add a hyperlink in the Approval email? Link back to SharePoint item.

Best solution. Thanks!

Helpful resources

Announcements
firstImage

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.

firstImage

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

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 186 members 5,493 guests
Recent signins:
Please welcome our newest community members: