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 / Split attachments from...
Power Automate
Unanswered

Split attachments from sharepoint item to different emails with power automate

(0) ShareShare
ReportReport
Posted on by 86

Hi all, 

 

With my power automate flow i'm getting the attachments when a new item is created in my sharepoint list but I need to send an email for each attachment found. Actually this is how is working my flow right now, the issue i'm facing is that my flow is sending the first email with only one attachment but the second one with both attachments in one mail. Can someone help me finding the issue please?

 

silviavg_0-1659381727409.png

- First mail:

silviavg_1-1659381754203.png

- Second mail:

silviavg_2-1659381780551.png

 

Categories:
I have the same question (0)
  • Ellis Karim Profile Picture
    11,931 Super User 2026 Season 1 on at

    Hi @silviavg ,

     

    Try taking the Send an Email action out of the Apply to Each loop:

    silviavg_0-1659381727409.png

     


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @silviavg 

    The reason for the behavior is that you are not clearing out the array between loops.  So, the first email goes with a single file.  Then you loop and add another file to the array, so both are sent.

    If you want a single file to go with each email, you don't need the array.  Just reference the attachment name and attachment content in the email directly.

    Let me know if you need more help.

    image.png

     

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