Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

Inserting hyperlinks to multiple attachments in an approval flow

Posted on by 49
Hi everyone, I'm trying to design a flow for an approval of Purchase Orders, that may contain multiple attachments. I would prefer that these attachments be hyperlinks to the attachments that were uploaded to my Sharepoint List so that the size of e-mails is minimized. This worked fine with 1 attachment, so after some online videos I managed to insert some variables in my flow so that it can grab multiple hyperlinks to my attachments. All of it is working as planned, except it is displaying my hyperlinks as text, not hyperlinks. I am wondering if there is a quick fix to this? I have tried using HTML in the Details but all that does is generate a broken hyperlink because it will insert multiple URL's into 1 link. I have also tried using the [URL](description) but all it does is output the hyperlinks in text like this [URL1](Description1)[URL2](Description2) as seen in the image below. I've also attached an image below of the flow design with the variables. I have tried editing the 'Append Strings to Variable' action with no success. If I use the "Item Link" fields, it will not work with more than 1 attachment at all. I have tried SO many different things that it would be too much to include here - I am DYING for a resolution after spending days on this!
 
 
  • MM-07112006-0 Profile Picture
    MM-07112006-0 49 on at
    Inserting hyperlinks to multiple attachments in an approval flow
    Hi David,
     
    I have tried using a space and enter at the end of the 'Append to string variable' output and I get the same result for each below. This just causes everything to show up as text.
     
  • David_MA Profile Picture
    David_MA 7,541 on at
    Inserting hyperlinks to multiple attachments in an approval flow
    Your format is correct as approvals use Markdown. Try adding (space, space) at the end of the Append to string variable action so each link is on its own line. 
  • MM-07112006-0 Profile Picture
    MM-07112006-0 49 on at
    Inserting hyperlinks to multiple attachments in an approval flow
    Hi Gopala,
     
    When I make that change, this is the output I get. The operators don't seem to be working at all now. I am also getting 2 approval messages now, as if it is asking me to approve each file that has been uploaded for the same Purchase Order request.
     
  • Gopala_Krishna Profile Picture
    Gopala_Krishna 1,425 on at
    Inserting hyperlinks to multiple attachments in an approval flow
    In the append to string variable action, add a enter character, it should be as follows
     
    Current configuration:
    Expected configuration:
     
    To insert a new line character after the hyperlink, press Enter. Power Automate expects each hyperlink to be on a separate line. When appending to a string variable without a new line character, all the data is placed on a single line, which can cause Power Automate to interpret the data as text and result in an error.
     

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,297

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,890

Leaderboard