cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sco1326
New Member

How to parse email body?

I have successfully created a flow that connects and retrieves specific emails and moves them to a folder.  I now wish to extract data from the body of the email and write to a text file.  Passing the "retrievedEmails" variable to the "Write text to file" action only results in the "from" and "subject" being written.  Is there anyway to parse the body or get the body text in a variable?

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
miketran13
Solution Specialist
Solution Specialist

Hello,

 

You can get the email body of each email by loop through each email message. 

 

emailbody.png

Thanks and hope it can help you. 

Mike

---------------------------------

Did I answer your question? Please consider to Mark my post as a solution! to guide others

View solution in original post

1 REPLY 1
miketran13
Solution Specialist
Solution Specialist

Hello,

 

You can get the email body of each email by loop through each email message. 

 

emailbody.png

Thanks and hope it can help you. 

Mike

---------------------------------

Did I answer your question? Please consider to Mark my post as a solution! to guide others

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

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

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (4,574)