cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Attaching Microsoft Form uploaded messages to an email through a Flow

I have a Microsoft Form where a user answers questions and uploads an image. I want to use a Flow to send the answers and the image in an email. I'm able to insert the answers into the image but every time I try to get the image added as an attachment, it is sent as a bytes attachment that can't be opened. There was another method I used where every time the image was sent, it would only be a link to a sharepoint. I need the image in the actual inbox so this doesn't work. Thank you for any help

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Anonymous 

 

Thanks for your reply. Please see below.

 

https://www.youtube.com/watch?v=UKuzX8zlnuE

 

Handling files provided in a Microsoft Forms response (encodian.com)

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

View solution in original post

10 REPLIES 10
abm
Super User
Super User

Hi @Anonymous 

 

Please have a look at this blog

 

Microsoft Flow: How to embed an image in an email | Siôn J Lewis (sjlewis.com)

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
Anonymous
Not applicable

This is super close to what I'm looking for. The problem is that I can only select one image and every time someone fills out the form the same image gets sent. I want the image that's attached to automatically be the image that was submitted by the user filling out the form. 

Hi @Anonymous 

 

Sorry I couldn't understand your issue. Could you please explain with an example?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
Anonymous
Not applicable

So when this image gets submitted into the form 

CarlosMD_0-1615330568128.png

and the whole flow finishes running, another image is received in the email instead of this cat picture. This is because when I set up the flow this part requires me to select a particular image to call. 

CarlosMD_1-1615330729630.png

Every time the flow runs that selected picture gets sent in the email instead of the image that was uploaded. Also is there a way to also make the image an attachment that a normal computer can read and open?

Hi @Anonymous 

 

Could you please expand the Get file content using path step and post a screenshot?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
Anonymous
Not applicable

CarlosMD_0-1615494544551.png

 

Anonymous
Not applicable

Is there anything else that might help?

Hi @Anonymous 

 

Can't you map the jpg (filename) dynamically? Leave the path exactly as it is and at the end map the filename.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
Anonymous
Not applicable

Hi @abm 

I believe this is what you mean:

CarlosMD_1-1616108115487.png

 

It gives this error:

CarlosMD_0-1616108014082.png

I also tried to do /Apps/Microsoft Forms/Test Pics (Copy)/File/(INSERT DYNAMIC FILE HERE)]} but that also didn't work.

 

Hi @Anonymous 

 

Thanks for your reply. Please see below.

 

https://www.youtube.com/watch?v=UKuzX8zlnuE

 

Handling files provided in a Microsoft Forms response (encodian.com)

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (1,854)