Announcements
Hi,
I am looking for a way of getting the body of an email without all the history. So basically, I want to have the body of the email I flagged and not allthe old emails also included in that email.
Thanks for your help!
Regards,
Michael
Found it myself, Message 5 has the solution:https://powerusers.microsoft.com/t5/Building-Flows/Extract-only-the-text-from-the-latest-reply-in-an-email-thread/m-p/686732#M92582
I just tried some other way and was able to get the Latest Email only. Here are the steps
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
split(variables('EmailBody'),variables('Delimiter'))[0]
I have an issue with this function:
Give me an alarm that it is not valid function, what shall I do?
And after all, how I can post the Mail which I split into teams chat?
you can replace it by first(split(variables('EmailBody'),variables('Delimiter')))
but the delimiter doesn't seems to work with my emails
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 298 Super User 2026 Season 2
Mohsin Ali 289
Henil 125