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

Extract text from the body of an email

Hello,

 

I am trying to bring in the body of an email to put into an approval. I have the flow build so far and it works, but the body of the email isnt coming through properly. It comes through in html script and I just want the text.

 

Below is how the flow looks, then the body of the original email, and then the actual output.

 

 

Body of email.pngflowbody.pngactual body of emailhtml.pngwhat actually shows up in the approval

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Extract text from the body of an email

There is an HTML to Text action that you can use to strip the HTML out of the email Body before you insert it into the Approval.  Approval Bodies don't support HTML formating.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
2 REPLIES 2
Super User
Super User

Re: Extract text from the body of an email

There is an HTML to Text action that you can use to strip the HTML out of the email Body before you insert it into the Approval.  Approval Bodies don't support HTML formating.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Community Support Team
Community Support Team

Re: Extract text from the body of an email

Hi @analyst31 ,

 

You could refer to @Pstork1 's solution to add a "Html to text" action as screenshot below to achieve your needs:

1.png

 

Or you could insert the "Body Preview" Dynamic content instead of the "Body" dynamic content in the "Details" column as below:

2.png

 

Please let me know if your problem could be solved.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 205 members 4,661 guests
Please welcome our newest community members: