Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Extract first email from multi-responded email body in MS Flows

Hi Team,


I have multiple responses in single thread of an email.

I want to extract the original(first) email body from those responses. 

Any suggestions?



Super User
Super User

Re: Extract first email from multi-responded email body in MS Flows


Hi there.  I have some weird ideas:

I'm imagining the original email is at the bottom of the thread, ya?  I wonder if you could use a Split() on the email body, and set the delimiter as the subject, then use Last() to grab the last element of the resultant array (which should be everything after the last instance of the subject line).


Just a thought.


Keep us posted.



If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

Helpful resources


Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.


Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,295)