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 Apps / How to extract only bo...
Power Apps
Unanswered

How to extract only body from received mail

(0) ShareShare
ReportReport
Posted on by 130

Hi Community,

So I have a Power automate flow which when a email arrives takes the body of mail and update column in Sharepoint list.

But I'm not able to extract the body. I used html to plain text conversion but its picking up the previous mail body also which I sent

.

 

flow part 1flow part 1

 

flow part 2flow part 2sharepoint updated columnsharepoint updated column

 

In the 3rd screenshot above the " Thanks for your email" is the reply to my earlier email sent to the sender.

I only want this part(" Thanks for your email" ) of body in SP list column concatenated, I mean whatever is there in the SP list column already, the body part should come after that.

Any help will be appreciated.

Thanks,
Rahul

Categories:
I have the same question (0)
  • Moximox Profile Picture
    135 on at

    Hi

    the body contains the history normally so that’s why you see not only the last response. In order to just get last message you can do numerous things. 

    1. Compare number of characters in last with previous email in thread and retrie only text from body equal to difference. 
    2. Split email at specific reoccurring text like from: and take first splitted part 

    3. Always split email into two pieces where you add the second piece as a child record allowing users to continue reading. In this way you can always have same length of the message presented as a preview. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 742

#2
Valantis Profile Picture

Valantis 474

#3
Haque Profile Picture

Haque 358

Last 30 days Overall leaderboard