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 / Multiple Email Attachm...
Power Automate
Unanswered

Multiple Email Attachments using Power Automate Desktop

(0) ShareShare
ReportReport
Posted on by 6

Hi - I'm new to Power Automate Desktop and am running into an issue attempting to send Outlook Email with multiple attachments.  I am currently using the "Get Files in Folder" action to get the file into a variable (I do this for the 3 files I want to send).  When I configure the Send Email using one variable in the Attachments section - it sends the email and attachment no problem.  When I use two variables (put in double quotes and separated by a space) - the email gets sent but no attachments are on the email.  Doing something wrong?

 

gdcathey_0-1634755754252.png

 

I have the same question (1)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    "%Doc[0]%" "%Doc[1]%"

     

    That would be the proper syntax for the first two files in the List %Doc%; however, you should also just be able to put %Doc% in the Attachments and it will email all files in the list, if that is an option.  %Doc% is a list of files, so the syntax of [0] is how you reference the first item on the list, then [1], [2], etc.

     

    Best of luck!

  • gdcathey Profile Picture
    6 on at

    Thank you!  I wasn't very clear, but I do the "Get Files in Folder" 3 separate times and filtering to a specific file (creating 3 variables) - so was just attempting to attach using the 3 separate variables.  If instead, I just select mutliple files from that Attachments option - that works fine as well.  It's just trying to use the Variables that seems to be the issue.

  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    Ahhh.  Because "Get Files" is always a list, even if you only have one file, so you need it like this:

     

    "%Doc1[0]%" "%Doc2[0]%"

    Best of luck!

  • gdcathey Profile Picture
    6 on at

    That was it!  Thank you so much for your help on that!  Experience = Learning!

  • priya4 Profile Picture
    5 on at

    Thanks! for the solution.  I too face the same one.  Now, its cleared.

  • CU25091023-0 Profile Picture
    2 on at
    thank you so much it worked for me, spent 4 hours trying to find proper solution for this. Just added "" and [0] to my variables
    "%recap[0]%" "%td[0]%"

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