cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

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.

 

 

flowflowactual body of emailactual body of emailwhat actually shows up in the approvalwhat actually shows up in the approval

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User III
Dual Super User III

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
Highlighted
Dual Super User III
Dual Super User III

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

Highlighted
Community Support
Community Support

Hi @Anonymous ,

 

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

Power Platform Community Conference

Check out the on demand sessions that are available now!

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.

Top Solution Authors
Top Kudoed Authors
Users online (12,111)