cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
irossYVR
Frequent Visitor

Power automate shows HTML in approval notification

Hi all!

 

When an email notification is sent requesting an approval, the email shows the HTML for the font (in test example below):

Screen Shot 2021-03-16 at 2.45.14 PM.png

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

  

1 ACCEPTED SOLUTION

Accepted Solutions

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.

HTMLtoText.png

I also rename the step so that I know which field I am doing this for; often I have more than one MLT field.

 

View solution in original post

4 REPLIES 4
Gopala_Krishna
Solution Sage
Solution Sage

@irossYVR 

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.

 

Gopala_Krishna_0-1615952985801.png

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:

Screen Shot 2021-03-17 at 8.37.06 AM.png

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.

HTMLtoText.png

I also rename the step so that I know which field I am doing this for; often I have more than one MLT field.

 

irossYVR
Frequent Visitor

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,028)