Hi everyone,
I am trying to create a flow where it starts with an MS form submission, then the responses get populated to a Microsoft Word template in Sharepoint, where it is created a copy of this document, converted to pdf, and sent to the user.
In the word doc template, I have text and image fields where I need the user to upload pictures when filling out the form. The issue is that every time I run the flow, I get the message "The image is not of type PNG or JPG. Please provide an image of type PNG or JPG.".
Any idea how can I make it work?
Thank you.
I found a solution in this post that worked for my use case (generating a poster with image from information in an MS form) - https://powerusers.microsoft.com/t5/Building-Flows/Embedding-Image-from-MS-Forms-uploaded-image-to-Word-Document/td-p/1488943
You'll first need to run a compose function before the Parse JSON action, run a test, copy the output from the compose and use that as the 'Generate from sample' in the Parse JSON.
Hello in the end you have managed to solve that problem because I have the same problem as you, if so I would appreciate it if you told me how. Thank you
Hi @raq3-- ,
In fact, the attachment column returned by the form is not the file content itself.
Please take a look at this post.
Grab and send files from MS Forms through Outlook - Power Platform Community (microsoft.com)
Best Regards,
Wearsky
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492