Hello everyone,
Here's my user scenario:
1) A user upload files (mostly PDF) using a MS form.
2) When the form is submitted, my flow is triggered. (The files are stored on my OneDrive because I've created the form)
3) An email is send from a shared mailbox with all the files in attachments
---
My flow is working successfully. The email gets send and the files attached.
But, when I open them, they are blank. They open, but nothing shows. I can see by the size of the files that they contain data though.
Testing:
I did copy the value corresponding to the file content returned from the raw output of Get file content using path action and paste it online into a Base64 to PDF and it generated my file perfectly!
I also did add a Create File action for testing the output of the Get file content using path body and it worked! The PDF files got generated on my OneDrive.
I strongly suspect it's an encoding file issue coming from the Append to array variable I need to use in my flow. I think my understanding of base64 is not clear enough.
I did a lot of testing. I mean A LOT of testing and search. But now I'm getting desperate. I guess I'm close to the solution, but I can't find it.
If anyone can help, it would be much appreciate!
Thanks in advance for your help!
I join screenshot of my flow. In the last action, I add my array in attachments field.