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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate Send th...
Power Automate
Unanswered

Power Automate Send the one Email with Multiple Attachments from SharePoint List

(0) ShareShare
ReportReport
Posted on by 67

Hi team,

Hoping you can assist.

The below flow gets items from a SharePoint list and attaches the documents from the SharePoint List entry to an email and sends the email.

The issue I have currently, if there is more than one document (attachment), the flow will only attach one attachment at a time and send one email per attachment. So if there is more than one attachment, the client gets more than one email. I would like the flow to send only the one email and that email includes all that clients’ SharePoint List attachments.

EG. the flow looks in a SharePoint List for clients with outstanding payments. If there are any outstanding payments, the flow attaches all the invoices which are saved in that clients SharePoint List entry, and emails that client.

Please let me know if I need to provide any further clarification.
Please see below, and let me know if you need further screen shots. 

PA-1.png

 

PA-2.png

Categories:
I have the same question (0)
  • Rhiassuring Profile Picture
    8,692 Moderator on at

    So in this scenario, the "Get Items" should be returning all of the files that you want to attach to a single email, is that correct?

  • joeking Profile Picture
    67 on at

     

    yes, the Get Items and the Condition, is returning the correct files.

    the issue is that the flow sends the files in separate emails, and it doesn't send all the files in the one email.

    EG. if a client has 2 invoices for outstanding payments, instead of attaching the two invoices into the one email, it sends the two files separately in 2 emails. 

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @joeking,

    You need to initialize a variable as an array to save the multi attachments, then append variable to the array.

    Here is a simple demo:

    vqiaqimsft_0-1699584456538.pngvqiaqimsft_1-1699584525065.pngvqiaqimsft_2-1699584568275.png

    {
     "Name": items('Apply_to_each_2')?['DisplayName'],
     "ContentBytes": body('Get_attachment_content')
    }

     

  • joeking Profile Picture
    67 on at

    Thanks so much Qi, I will run some tests and confirm back. 
    @v-qiaqi-msft 

  • joeking Profile Picture
    67 on at

    Thanks @v-qiaqi-msft  however the flow is still sending one attachment per email. Please see below;

    PA-01.png

    PA-02.png

    PA-03.png



    Any suggestions? Have I missed something?


  • joeking Profile Picture
    67 on at

    also, if I move the outlook module from the apply to each, the flows sends multiple email attachments, but these attachments include other SharePoint List/clients documents.  

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard