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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SharePoint list attach...
Power Automate
Unanswered

SharePoint list attachment link via flow

(0) ShareShare
ReportReport
Posted on by 61

Hi everyone,

I would like to send multiple attachments from a sharepoint-list via email and I don´t know how to handle this:

list.jpg

The first entry has 3 attachments. So I like to get the link from them via flow and send the linkinformation in one Mail. I tried different times but nothing worked.

I know that I can use a link field in this sharepoint list. But thats not the optimal solution.

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    on at

    Hi @Oliandril,

     

    You could use the String variable to store the attachment link.

    1. Use Get attachments action to get the attachment file absoluteUri.
    2. Configure Apply_to_each to iterate through all the attachment files contained in the item, then append the Uri to String variable, preferably adding a newline.
    3. Finally, the variables are configured in the Body.

    Image reference:

    9.PNG10.PNG

    In addition, if you want to send the attachments contained in the item, you could refer to the following link:

    https://flow.microsoft.com/en-us/blog/multiple-attachments-single-email/

     

    Best Regards,

    Barry

  • Oliandril Profile Picture
    61 on at

    Thank you Barry!

     

    I tried your propose like this, because otherwise I get no complete HMTL Link:

    Capture.JPG

    next step is to get the Link into an approval mail (with options):

     

    Capture.JPG 

     

    Unfortunately, the result in the email looks like this:

    Capture.JPG

     

    The links are finally working, but I like to format the text for our management.

    How can this be solved?

     

    Thank you, Thomas

     

  • v-bacao-msft Profile Picture
    on at

    Hi @Oliandril,

     

    Can you provide specific format?

    I don't know what format you need, I can't start.

    Please provide specific examples.

     

    Regards,

    Barry

  • Oliandril Profile Picture
    61 on at

    Hi Barry,

     

    the sent e-mail should look like this:

     

    Capture.JPG

     

    /Thomas

     

  • Verified answer
    v-bacao-msft Profile Picture
    on at

    Hi @Oliandril,

     

    You could improve Append to string variable action as follows:

    22.PNG23.PNG

    Please take a try again.

     

    Best Regards,

    Barry

  • Oliandril Profile Picture
    61 on at

    Hey Barry,

    great work! Thank you so much.  Smiley Very Happy

    I didn´t know that you can use html to format the email even in a string variable.

    Good to know.

    This solution could be very interesting for many companys and flows!!!

     

    Capture.JPG

     

     

  • Community Power Platform Member Profile Picture
    on at

    what if you have more than 2 attachments? Also, is there a way to get this links into a html file to see the pictures attached?

  • Oliandril Profile Picture
    61 on at

    Hi Edgar,

    you can have up to 6 attachments.

    The file links are displayed in html.

    This is my flow to include the files:

     

    Capture.JPG

     

    Capture.JPG

    Capture.JPG

    Please bear in mind that you have set the email option "send as html"=yes

     

    Hope my explanation helps.

    Thomas

  • mthompson Profile Picture
    43 on at

    Hello everyone,

    I created an approval flow (Send email with Options) from a SharePoint list that is triggered when new item is created.  The email contains multiple attachments (invoice and backup) for Approver to review. Approver is to Approve or Reject attachments for payment. I need to capture Approver comments when rejected so that the "Created By" knows what to change or correct when rejected so they can resubmit for approval.  Also need to resend this request (Schedule for one day reminder) in the event the approver does not approve/reject within a day's time.  Any assistance on the best way to achieve these flow tasks?  End result is for all requests to be approved for payment.

    Thanks,

    Michelle

  • Community Power Platform Member Profile Picture
    on at

    Hello,

    I saw and it worked for me when i try to sent in an email the name of that attachment on the list, but what haapend or how can i do if the item on the list have multiple attchments?

     

     

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard