web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Flow Sending Mail in H...
Power Apps
Unanswered

Flow Sending Mail in HTML w/ Data from PowerApps

(0) ShareShare
ReportReport
Posted on by 59

Hello,

 

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(E-mailadress@hotmail.com,"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..

Vol.PNG

 

 

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


Leeg.PNG

 

Categories:
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    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:

    https://centricconsulting.com/blog/how-to-print-form-powerapps_portal/

    https://www.youtube.com/watch?v=IhE0-HumNNo&feature=youtu.be

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

     

    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:

    'FlowName'.Run(
    E-mailadress@hotmail.com,
    "Confirmation Filled Form",
    EditForm1.LastSubmit.Column1, /* <-- reference data card values from Edit form using EditForm2.LastSubmit.ColumnName formula */
    EditForm1.LastSubmit.Column2,
    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,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard