cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Pstork1
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
Pstork1
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

v-alzhan-msft
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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,396)