cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jbushaw1498
Regular Visitor

HTML Table Flow Email Won't Include Page Breaks

So I am having this issue where during the flow process, in the outputs when it creates the HTML table, it shows the text in a table column with spaces, exactly as it was typed. However, when Flow sends the email, those spaces are gone.

 

jbushaw1498_0-1627652729020.png

Spacing/entering during the Flow's run (I found this in the output)

 

Spaces/enters in the email HTML table:

 

jbushaw1498_1-1627652916520.png

 

Any idea as to what could be happening and how to fix it?

3 REPLIES 3
ekarim2020
Community Champion
Community Champion

I think you mean that there are no line breaks? In that case you can add the HTML line break element <br>at the end of each line:

ekarim2020_0-1627722031044.png

Test here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br

There is also the Create HTML table action that may be of help:

ekarim2020_1-1627722670216.png

ekarim2020_2-1627722715471.png

See: How to create an HTML table using Power Automate (Flow) in mail

Ellis

Yes, sorry, I meant line breaks. I am currently using the Create HTML Table function. If I look at the input and the output during that function, it DOES recognize the <br> HTML tag and inserts the referred line break, however, after it goes to the final step, which uses the "Send an email (V2)" function and sends the email, it's as if either the HTML table that was just created ignores those tags and it's just all crammed together. I don't know if it's ignoring the tags in the table itself or if maybe it's the Outlook client ignoring those tags.

ekarim2020
Community Champion
Community Champion

I followed this tutorial to format a HTML table: Power Automate flow HTML Table Formatting in Email | Flows & SharePoint and was able to produce this last week:

ekarim2020_0-1627727532694.png

This is how it looks in an Outlook email:

ekarim2020_2-1627727856072.png

Hope this helps.

Ellis

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,007)