Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

HTML to text, different results each time

I have a standard formatted email that is generated from our ticketing system. I'm trying to parse the email for specific information and post to teams and a shared calendar. Every time the email comes in even though the message follows the same template after running the HTML to text conversion on the body it is inserting line breaks at different points. Each time it runs the line breaks come at different points which is messing with the filtering. Any idea what is causing this and how to get around it?


Here is the format of the email

Sick 1.png

Trying to parse via the info after Summary: into teams chat and then add an appointment to a shared calendar when someone calls in sick. 


See below two emails output from the HTML to text of the body:

First Email:

sick 2.png

2nd Email

sick 3.png

See how there are different line breaks even though they are the same format which is screwing with my filtering of the email afterwards. Any ideas?



Helpful resources

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (2,643)