Hi all!
When an email notification is sent requesting an approval, the email shows the HTML for the font (in test example below):
How can I get rid of the HTML in the email? Its the first time this has happened to me in Power Automate!
thanks,
Iain Ross
Solved! Go to Solution.
Hi @irossYVR , I am not sure if you still have this issue, but I also ran into this in the Approval Flow.
I found that if you add the step for "Html to text" before the Start Approval, you can then use the output of Html to text in the Details section of the approval.
I also rename the step so that I know which field I am doing this for; often I have more than one MLT field.
If you want to convert the HTML to text, there is a conversion action available in power automate called "HTML to Text" this action can help you with converting the html value to a text value.
Once you have convert the html to text, you can pass the output of this action to the approval action card and you would be able to see the text.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
if the information shared helps you, please consider giving a thumbs up 👍 and mark solution as resolved
Hi Krishna! Thank you for the tip.
I have tried to implement this, but im not sure where it should be placed in the flow. Here is the "Start and Wait for Approval" that generates the HTML:
Thanks for your help
Iain
Hi @irossYVR , I am not sure if you still have this issue, but I also ran into this in the Approval Flow.
I found that if you add the step for "Html to text" before the Start Approval, you can then use the output of Html to text in the Details section of the approval.
I also rename the step so that I know which field I am doing this for; often I have more than one MLT field.
Thank you @cblackl2000 ! I ended up changing the dynamic content from "employee name" to "employee name DisplayName". This eliminated the HTML from the notification email. Im still playing around with the notifications, and I will try your suggestion above.
Best,
iain
Hi All - I also found this video that was helpful
(450) Removing HTML Tags from Power Automate Approval Emails - YouTube
I am also trying to figure out when I have two fields from my sharepoint list that require converting, but show up in different emails sent to approvers (the third approver in my approval flow is my IT department and more information in included as opposed to the first two approvers)
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |
User | Count |
---|---|
49 | |
29 | |
24 | |
24 | |
20 |