Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

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
Community Support

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

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (88,285)