I have a form that is filled out when damage is found. The form has 2 image upload questions. After the form is submitted I'm going to have a formatted email sent to the required person. Is there anyway to have the uploaded images display as a preview in the email instead of just a link? The reason I'm asking is the email goes outside of our company. So they wont have access to our sharepoint. So i was thinking having the image preview in the email would fix that?
Appreciate any help.
That's a really good post. But im still unsure of how to add the image from a Form. So when the form is submitted flow Automatically sends the email with the image embedded. Maybe I'm over thinking it. Could i just use the HTTP request from your video? Sorry I'm pretty good with Flow but for some reason images have me all messed up lol
I presume you have a flow that is triggered when your form is submitted. That trigger will contain a base64 representation of your image, which you can use to embed into the email (which will work most of the time). If you really want maximum compatibility then you can use the HTTP method.
It’s because the action I used was “get file content using path”. You used get file content, so copying the expressions verbatim won’t work unless you rename your action to match or remove the action and use the same action in use, finally, you could change the expressions to match the naming of your action. Probably easiest to just use get file content using path.
@Paulie78 Thank you so much for the help. I got it working. The only thing I need to figure out now is, if they upload more than 1 photo it only sends the first photo taken. Below is what I have so far.
I will have a quick look, it should be easy. Slight difference is that you are getting the file content from files, where I would probably just get it straight from the form submission.
Check out the News & Announcements to learn more.
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.