web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

HTML table output

(0) ShareShare
ReportReport
Posted on by 10

Hi.
I'm a new power auto user and I've been fumbling with this problem for a few days now. I can't seem to get the html table output to display as a table. The ouptut shows as code. Can anyone point me in the right direction here please.

 

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @JustAsking,

     

    Is your Create HTML table action outputting characters like < as &lt; ? If so you can clean up the HTML outputs of that Create HTML table action with a couple of replace functions.


    Below is an example

     

    urlencodedcharacters.png

     

    Use the expression below after the Create HTML table action

     

    replace(replace(replace(replace(replace(body('Create_HTML_Table'), '&lt;', '<'), '&gt;', '>'), '&amp', '&'), '&#39;', '"'), '&quot;', '"')

     

  • JustAsking Profile Picture
    10 on at

    Hi, the output from the Create HTML table looks like this:
    <table><thead><tr><th>Silo</th><th>Invoices</th></tr></thead><tbody><tr><td>BCS</td><td></td></tr><tr><td>GDS</td><td></td></tr><tr><td>KVI</td><td></td></tr><tr><td>NON-GDS</td><td></td></tr><tr><td>OLA</td><td></td></tr><tr><td>SAF</td><td></td></tr><tr><td>SNL</td><td></td></tr><tr><td>SSA</td><td></td></tr><tr><td>UDP</td><td></td></tr></tbody></table>

  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @JustAsking,

     

    Yes, that is expected outputs. That is table HTML.

     

    How are you sharing/do you want to share this HTML table, in a Send an Email (v2) action?

  • JustAsking Profile Picture
    10 on at

    Thank you @Expiscornovus . I've watched some videos where the HTML table output displays in a column style so I figured I had something wrong. I do want Send an Email (v2).

  • Verified answer
    Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @JustAsking,

     

    In that case use the outputs of that action in the Body field of that Send an Email (v2).

     

    You can also switch that Body field to code view (with the </> button) to add your own html markup as well. Below is an example

     

    htmltable_sendanemailv2.png

  • JustAsking Profile Picture
    10 on at

    You've been a great help. Thank you very much.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard