web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to parse email body?
Power Automate
Answered

How to parse email body?

(0) ShareShare
ReportReport
Posted on by 3

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!

  • Verified answer
    miketran13 Profile Picture
    720 on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 211 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 190

Last 30 days Overall leaderboard