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.

View solution in original post

6 REPLIES 6
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.

View solution in original post

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!

wtedla
Level: Powered On

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

Create dynamic link using the item Link object. 

concat('https://apps.powerapps.com/play/[Screen ID]?tenantId=[Tenant ID]?ItemId=',body('Update_item_initialize_default_action_columns_')?['ID'])

approvalLinktoitem.JPG

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

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 Power Automate Community Video Gallery!

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