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

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

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

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,807)