Hello, I'm having trouble to send attachments from the responses in MS Forms to Email. Basically, my flow is like this:
Submit form.
Store information in Sharepoint.
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
Bear in mind, there are two questions in MS Forms for uploading the files.
Upload photo - varFiles2
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:
But, when I add varFiles3 in the attachment in send email, there's an error when I tried saving the flow.
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
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
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!
Pstork1
20
Most Valuable Professional
Gprior
19
stampcoin
16