This article covers the process of getting and sending attachments in an Email using Power Automate.
If you have not read the Power Automate Integration article, please read it first.
Emailing Attachments Steps
Step 1: Create the Power Automate tigger, Retrieve Submission Data and Parse JSON actions described in the linked article Power Automate Integration article.
Step 2: Add an Initialize variable connector. Enter a name e.g.attachmentsArray and add the Type Array.
Step 3: Add the OneBlink "Retrieve Form Submission Attachment" connector, this will automatically be added to a For Each loop.
Step 4: Inside the For Each loop add an Append to array variable. In the name select the attachmentsArray and add the below value replacing the fileName and submission_attachment with their relevant variables.
{ "Name": @{item()?['fileName']}, "ContentBytes": @{body('Retrieve_Form_Submission_Attachment')} }
Step 4: Add your email connector, and in the attachments section select click "Switch to input entire array".
Step 5: Add the attachmentsArray configured in step 2.
Now when emails are sent all of the attachments will be included in the email.
Get Help
If you have any questions or would like assistance with setting up your integration please contact us via this support portal or email support@oneblink.io. We are happy to assist in any way we can.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article