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 / Sending multiple attac...
Power Automate
Answered

Sending multiple attachments to email using Power Automate.

(0) ShareShare
ReportReport
Posted on 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

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @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!

     

  • Verified answer
    Qistina Profile Picture
    78 on at

    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

     

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard