web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How can i add a hyperl...
Power Automate
Unanswered

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

(1) ShareShare
ReportReport
Posted on by 29

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! 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at
    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 Profile Picture
    29 on at
    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. 

  • Verified answer
    v-xida-msft Profile Picture
    on at
    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

     

     

  • Jambo1 Profile Picture
    96 on at
    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 Profile Picture
    2 on at
    Re: How can i add a hyperlink in the Approval email? Link back to SharePoint item.

    Best solution. Thanks!

  • wtedla Profile Picture
    2 on at
    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

  • Community Power Platform Member Profile Picture
    on at
    Re: How can i add a hyperlink in the Approval email? Link back to SharePoint item. - Wondwossen Belay Tedla

    I got this done by applying an alternative.

    1. Captured the link text into a variable string, using Get attachements, initialising variable and appending to string variable.

    2. Then used that variable in Item Link attribute of the approval function.

  • ColinM Profile Picture
    26 on at
    Re: How can i add a hyperlink in the Approval email? Link back to SharePoint item.

    Hi, 

    If you would like to put multiple links in an Approval you will need:  Get Attachments Content connector. 

     

    From here:

    1. Initialize String Variable - call it whatever  varApprovalLinks
    2. Add 'Apply to Each' connector - connect it to Body
    3. Append String Variable as Follows: 
      • Type:  [
      • In dynamic content choose the link name - DisplayName
      • Type: ](
      • Use the expression:  join(split(item()?['AbsoluteUri'],' '),'%20')
      • Type:  )

     

    Your final piece in Append Variable should look like this: [DisplayName](Join(...))Approval Function.JPGCreating Variable.JPG

    From here you could get fancy and put each link on it's own line; number them / whatever. 

     

    Thanks

    CM

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard