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

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.

Join me at 365 and PWR EduCon in Chicago
EduCon Chicago 2022

View solution in original post

2 REPLIES 2
Pstork1
Dual Super User
Dual Super User

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.

Join me at 365 and PWR EduCon in Chicago
EduCon Chicago 2022

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
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

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

Users online (2,453)