Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Sending unique attachments from SharePoint based on Excel sheet

(0) ShareShare
ReportReport
Posted on by 4

Hi everyone, looking for some guidance for this flow I am trying to create. 

 

I have an excel sheet with name, email and file name. 

 

ssura123_1-1662056772006.png

 

 

The flow I created below sends the emails but for the second row, it sends both attachments instead of only "k - 0829.pdf"

Is there are way to only send the file that appears in the row for each email address? Thank you for the help!

 

ssura123_2-1662056905857.png

 

ssura123_3-1662056936085.png

 

ssura123_4-1662056954107.png

 

 

 

 

 

 

 

  • ssura123 Profile Picture
    4 on at
    Re: Sending unique attachments from SharePoint based on Excel sheet

    Thanks @DamoBird365 , that makes a lot of sense. However when I changed it to set variable instead of append, the flow just kept running without sending an email. Do you know why this would happen? BTW nice youtube channel, very informative as well! Thanks for your help!

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at
    Re: Sending unique attachments from SharePoint based on Excel sheet

    Hi @ssura123 

     

    No problems.  Here is a screenshot of all 3: 

     

    DamoBird365_0-1662061185774.png

    By update I mean set variable - i.e. the middle one.

     

    In terms of functionality, set will overwrite the existing value(s).  Append will add to the existing.

     

    If I have a variable set to A and I set it to B, the value will be B.  If I then append C, the value will be BC.

     

    I hope that makese sense and good luck with your Power Automate journey!


    Cheers
    Damien

    Please take a look and subscribe to my YouTube Channel for more Power Platform ideas and concepts. Thanks

  • ssura123 Profile Picture
    4 on at
    Re: Sending unique attachments from SharePoint based on Excel sheet

    Sorry for my ignorance, still new to this. What is the difference between update and append? Is there a specific operation I should choose? 

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at
    Re: Sending unique attachments from SharePoint based on Excel sheet

    Hi @ssura123,

     

    rather than append to array, update the array/variable.

     

    Damien

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1