
Announcements
Hi there.
Basic summary of my flow. I have a flow that triggers when a new email arrives in a shared mailbox. The issue is that the flow is not picking up the correct html tags from the trigger email. This is resulting in the email having single line breaks instead of double line breaks when separating paragraphs for the entire email - which makes for a messy email.
When viewing the source of trigger email it shows this for the html:
“Hi All,<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Yesterday”
The above HTML will always result in the following being published in an email (i.e. two line breaks between Hi All and Yesterday):
Hi All,
Yesterday
However, the flow picks up the following html instead of what's contained in the trigger email:
“Hi All,</p><p class="MsoNormal"></p><p class="MsoNormal">Yesterday”
The above html results in only one line break instead of two...i.e.
Hi All,
Yesterday
Any help on how to prevent flow from changing the html would be greatly appreciated.
Thanks.
The <o:p> tags are inserted by Office applications, like Outlook and don't tend to be recognized as regular HTML. This is a known issue that I've seen reported outside of Power Apps and Power Automate when displaying email contents as a web page. The only solution I've seen is to intercept the incoming HTML and replace all the <o: and </o: references with just a <. I'm not sure if that is possible in this case or if the email is already converted to remove them by the trigger.