cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Fouad
Level: Powered On

Flow Sending Mail in HTML w/ Data from PowerApps

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

 

1 REPLY 1
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:

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,

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

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,022)