cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ketaki_27
Frequent Visitor

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?

 

Thanks,

1 REPLY 1
edgonzales
Super User
Super User

@ketaki_27 

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.

-Ed-

 

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

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,930)