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 Platform Community / Forums / Power Automate / Formatting Output for ...
Power Automate
Unanswered

Formatting Output for Teams from an HTML Table

(0) ShareShare
ReportReport
Posted on by

He yall I am trying to output a table to teams, usually I can figure this out using mutliple web searches, but this one is alluding me.

 

I have a Flow that is filtering 3 parallel branches to pull items out of a SharePoint list -> joining them to one list -> outputting List to an HTML Table - Attempting to change the Style of the Table. "Trying" to convert the data into HTML -then outputting to Teams. When I first did this with outputting to email I had not issues with the Format. 

But Teams is still mashing the info together. 

1213_0-1685892728368.png

 

1213_1-1685892776547.png1213_2-1685892848754.png

 

What I want to do, is output the message to teams looking more like 

 

1213_0-1685898995138.png

Can someone please point out where I went wrong here.

 

 

Categories:
I have the same question (0)
  • Verified answer
    CFernandes Profile Picture
    8,402 Most Valuable Professional on at

    @Anonymous

    Teams right now, does not support CSS styling see: https://techcommunity.microsoft.com/t5/teams-developer/styling-html-message-from-graph-in-teams/m-p/1065372

     

    You can add a border (see below),

     

    replace(body('Create_HTML_table'),'<table>','<table border="1">')

     

    CFernandes_0-1685903770475.png

     

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

  • Community Power Platform Member Profile Picture
    on at

    Its looking a lot better, any way to space out the Columns? 

    1213_0-1685904585184.png

     

  • Verified answer
    CFernandes Profile Picture
    8,402 Most Valuable Professional on at

    Hey @Anonymous 

     

    Maybe try something like below -

     

    replace(body('Create_HTML_table'),'<table>','<table style="width:100%" border="1">')

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

     

  • Community Power Platform Member Profile Picture
    on at

    Huzzah! That did it, thank you!

  • CFernandes Profile Picture
    8,402 Most Valuable Professional on at

    Hey @Anonymous 

     

    I am glad that my input helped 🙂 

     

  • Community Power Platform Member Profile Picture
    on at

    Tweaked it a little bit from 100% to 25%

    1213_0-1685905618226.png

     

  • CFernandes Profile Picture
    8,402 Most Valuable Professional on at

    Nice work @Anonymous 

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 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard