Skip to main content

Notifications

Community site session details

Community site session details

Session Id : bgCO66dB3wDyqjwd2sl5FP
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,318 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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
Pstork1 Profile Picture

Pstork1 20 Most Valuable Professional

#2
Gprior Profile Picture

Gprior 19

#3
stampcoin Profile Picture

stampcoin 16

Overall leaderboard
Loading started