Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Flow Sending Mail in HTML w/ Data from PowerApps



So I'm finally at the point that almost everything works. First of all I created a Form in PowerApps that sends a HTML confirmation to the mail of an end-user that fills in this form. In the beginning I created a .HtmlText in my PowerApp and created a Flow.

.Run(,"Confirmation Filled Form", "Kopie.HtmlText")

But unfortunately it didn't work quite well.. Because everytime I ran the Submit Button it sent me "Show your HTML Text here" which looks like the default format of HTMLText, I found this quite strange
(In Preview mode it didn't do this that much but when I set this Live by posting this in SharePoint (App ID)) it constantly sent me this.)

So I just created this HTML Page in the Flow itself:FormHTML.PNG



So this works better than the method before with the HtmlText. It never sends the "Show me your HTML Text." And it actually shows me the entire HTML Text! Now I got a different problem though.. the Sendemail_body in the Body of my Flow doesn't gather information of my Form (I know for a fact I did this right) because in Editing/Preview Mode it does send me the entire form I filled in..




Now this happens when I send it when I set the App live:



Community Support Team
Community Support Team

Re: Flow Sending Mail in HTML w/ Data from PowerApps

Hi @Fouad ,

Could you please share more details about the 'FlowName'.Run() formula within your app?

Have you specified a proper argument for the 'FlowName'.Run() formula in your app?

Further, where do you put your  'FlowName'.Run() formula? Within OnSuccess property of the Edit form? Do you want to send an email to your end user after you submitted your form?


Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. Please check and see if the following blog or article would help in your scenario:


If you put your 'FlowName'.Run() formula within OnSuccess property of the Edit form, I think the issue may be related to this. Do you reference the data card values from your Edit form directly within your 'FlowName'.Run() formula?

If you put your 'FlowName'.Run() formula within OnSuccess property of the Edit form, when you reference the values from your Edit form in your 'FlowName'.Run() formula, please modify your formula as below:

"Confirmation Filled Form",
EditForm1.LastSubmit.Column1, /* <-- reference data card values from Edit form using EditForm2.LastSubmit.ColumnName formula */
EditForm1.LastSubmit.Column3, ...

If the issue still exists, please consider re-generate a new app based on your data source, then bind it to your Flow, try above solution again, check if the issue is solved.


Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Power Platform World Tour

Coming to a city near you


PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 271 members 3,794 guests
Please welcome our newest community members: