Issue with Survey123 attachments (file) with Power Automate

225
1
08-31-2021 12:15 PM
FrankMartin1
New Contributor III

I've been trying to implement attaching multiple Survey123 file attachments  (pdf, xlsx, docx) using the Survey123 Tricks of the Trade: Working with attachments in Microsoft Power Automate posted by @IsmaelChivite.   I'm able to Append to array from the HTTP content using the base64ToBinary (body('HTTP').$content) expression and the feature attachments name.  However, when the email is received, the attachments are unreadable.   This conversion doesn't seem to work for file attachments.  The blog post was based on photo image, so I wondering if the same content expression above is suitable for file attachments.  I've tried just using body('HTTP').$content as the expression, but this doesn't seem to work either.  Are Survey123 file attachments stored as a different filetype? Do they need to be converted to something other than Binary?   Any help would be greatly appreciated

Example of the issue when opening the attachment:

example.png

 

Thanks,

Frank

1 Reply
JoabelBarbieri
Occasional Contributor

Same issue here. Anyone with a solution?

0 Kudos