I am trying to create a flow that takes a Survey123 survey, generates a report, and emails the report and any attachments included in the survey. So far, I have found a couple avenues but each time the flow either spins forever and the email never sends or the attachments pdf comes corrupt.
I have two methods right now. If anyone sees why they are not working or has a functioning flow, please comment below
The first flow I am trying to put both pdfs into one attachment to send in one email. The report from survery123 comes through but the attachment comes corrupt.
Append to array variable 1 has $content as body('HTTP')?['$content'].
The screenshot below is the output from the email.
The Attachments comes broken. And this is the Adobe Acrobat error message.
The second flow sends two separate emails, but the attachment email never sends or fails. It just spins.
This is a failed output from the second flow.