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 / Email Long thread pass...
Power Automate
Answered

Email Long thread passing into planner task

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, 

 

I have set up a flow which only passes the first email of a long email thread, however some of the emails seem to have a tag

'-----Original Appointment-----' which makes the flow pass the long email thread. 

 

This is the HTML code 

<div><p class="MsoNormal"><span lang="EN-US" style="">-----Original Appointment-----<br>

 

Please can someone help me to incorporate this into my flow? 

 

 

milo1234_0-1623162398415.png

 

@rsaikrishna 

Categories:
I have the same question (0)
  • Verified answer
    rsaikrishna Profile Picture
    3,703 on at

    @Anonymous 

     

    Please use the IndexOf function to get the index of <div><p class="MsoNormal"><span lang="EN-US" style="">-----Original Appointment-----<br>.

     

    Then, use Substring() function to trim the tags till the end. 

     

    After that, add </body></html> to complete the HTML.

     

    Regards

    Krishna Rachakonda

    If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

     

     

     

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard