cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

I can't attach in email when form response has more than 1 attachment.

With the new feature of attaching a file as a form response, I was able to get responses from my form emailed through flow. Following are images of my process:

 

Imagem 1.png

 

Imagem 2.PNG

 

Imagem 3.PNG

 

This process I got through this post:
https://www.bythedevs.com/post/working-with-files-on-ms-forms-in-ms-power-automate

 

However, this process only works if the user only attaches 1 file to the form per question. If it attaches, for example, 3 images in one question, I can't pull the information from the 3 files in the dynamic content.

 

How can I get these 3 files to attach to my email?

 

Thank you in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resolver IV
Resolver IV

Re: I can't attach in email when form response has more than 1 attachment.

Hi @taisamedina 

 

I think the issue is the way you are adding the attachments to the email

 

When you add an array of attachments you will need to click on the little “T” icon on the right side of the Attachments, then put the Attachment Array variable in the field that comes up

 

Since you have 2 questions with attachments then you will need append the other question to the same attachment array variable

View solution in original post

3 REPLIES 3
Highlighted
Resolver IV
Resolver IV

Re: I can't attach in email when form response has more than 1 attachment.

Hi @taisamedina 

The JSON that is returned is actually an array, so you can loop through each of the attachments to create an array of the attachment name and file content

 

I have an article and video showing how to save all of the attachments to a Sharepoint list

https://garethhunt.io/index.php/2019/12/29/saving-attachments-with-microsoft-forms-and-power-automat...

 

However this could be modified to send the attachments by email instead

Screen Shot 2020-01-10 at 11.00.42 pm.png

You can then pass the Attachment Array to the Attachments section in the Send Email

Screen Shot 2020-01-10 at 11.00.47 pm.png

Highlighted
Regular Visitor

Re: I can't attach in email when form response has more than 1 attachment.

Thank you for your response, but didn't work 😞 I don't know if it's because i have 2 questions with attachments.

I put like you said:

Print1.PNGPrint2.PNGPrint3.PNG

 

 

But in the email the file looks like this:

email.PNG

 

 

Highlighted
Resolver IV
Resolver IV

Re: I can't attach in email when form response has more than 1 attachment.

Hi @taisamedina 

 

I think the issue is the way you are adding the attachments to the email

 

When you add an array of attachments you will need to click on the little “T” icon on the right side of the Attachments, then put the Attachment Array variable in the field that comes up

 

Since you have 2 questions with attachments then you will need append the other question to the same attachment array variable

View solution in original post

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (7,016)