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

Community site session details

Session Id : UMWwFPw/1UVXlxOUk3klIL
Power Automate - General Discussion
Answered

Sending multiple attachments to email using Power Automate.

Like (0) ShareShare
ReportReport
Posted on 15 Feb 2024 06:57:09 by 78

Hello, I'm having trouble to send attachments from the responses in MS Forms to Email. Basically, my flow is like this:

  1. Submit form.

  2. Store information in Sharepoint.

  3. Send some information and attachments in email.

This is the step to send attachments via email that I followed on Youtube, this part starts from minute 29:40 

Qistina_0-1707980110243.png

 

Qistina_6-1707979783918.png

Qistina_7-1707979807673.png

 

Bear in mind, there are two questions in MS Forms for uploading the files.

Qistina_8-1707979838014.png

  1. Upload photo - varFiles2

  2. Upload resume - varFiles3

 

I tested it out, and it worked for varFiles2. So I tried adding one more variable (varFiles3) after varfiles2 and before send email. Basically just the same step like varFiles2. So now, the flow looks like this:

Qistina_1-1707980169078.png

 

 

But, when I add varFiles3 in the attachment in send email, there's an error when I tried saving the flow.

Qistina_10-1707979964810.png

If I only put either varFiles2 or varFiles3 in the attachment in send email step, it works. But it won't work if I put both attachments.

If you know the solution to this problem, please help me.

 

Thank you very much.
Qis

  • Verified answer
    Qistina Profile Picture
    78 on 16 Feb 2024 at 07:02:19
    Re: Sending multiple attachments to email using Power Automate.

    Hi Sudeep,

     

    Thank you for your suggestion. However, it didn't work for me, probably because I don't know how to do it properly as I'm still a beginner. But, I found the solution. If there's anyone out there that are facing the same problem as me, you can watch this video. It worked for me. https://www.youtube.com/watch?v=Aerky9hiYDo

     

  • SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on 15 Feb 2024 at 23:10:59
    Re: Sending multiple attachments to email using Power Automate.

    @Qistina 

    You shouldn't create three separate variable for attachments.

    Rather than creating three individual variables for attachments, consolidating them into a single array of documents to be attached. This can be achieved by using a single array variable, which can then be referenced within Append to array variable action of each apply to each loop. Hope that helps!

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

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!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2