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

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
Dual Super User
Dual 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.

View solution in original post

2 REPLIES 2
Dual Super User
Dual 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.

View solution in original post

Community Support
Community Support

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

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (7,524)