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 Table withi...
Power Automate
Unanswered

Formatting Table within either Approvals or Outlook Emails

(0) ShareShare
ReportReport
Posted on by 241

I'm trying to feed this data from a Sharepoint list into a table in either an email or an approval:

columns.PNG

I realise 11 is a lot of columns, and that Mens Size/Ladies Size have a fair bit of data. 

When I tried to use table formatting in an approval email, it looks like this:

approval gimped.PNGmax width.PNG

Unreadable, due to what I assume is the max width of the approval window. The outlook example didn't look much better:

stretched.PNG

Only half (6 instead of 11) the columns were used in the test, and it still almost reached the edge of the email window.

I stole the formatting for the outlook HTML table from an online HTML editor. How would I go about giving the table some borders, some padding around those borders, and the equivalent of "Text Wrapping" so that cells aren't as wide? 

 

 

Categories:
I have the same question (0)
  • v-alzhan-msft Profile Picture
    on at

    Hi @rsparks ,

     

    Hope the link below about create and format HTML table could help you:

    https://www.c-sharpcorner.com/article/how-to-create-and-format-html-table-using-microsoft-flow-and-sharepoint-online/

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • rsparks Profile Picture
    241 on at

    @v-alzhan-msft I've already seen that example, but the issue is his method "get items". Meaning all of the rows in the sharepoint list are printed to the table. 

    I need an example that only prints the item that triggered the flow. I don't understand why "Operations - Select" can only use "get items" as a trigger, not "get item"? 

    If I try to workaround this by using "get items" as the value for the "from" in "Select" and use the outputs from "get item" as the mapped values for each column, it simply prints a table with multiple rows of the exact same data:

    sneak.PNGhewlp.PNG

    How can I force it to only print 1 row?  And how can I add padding where the blue line is? The data is almost overlapping it's so close.

  • Verified answer
    v-alzhan-msft Profile Picture
    on at

    Hi @rsparks ,

     

    The Select action would require an Array input.

     

    You could add the filter array in your "Get items" action as my screenshot below to get only one record:

    1.png

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • rsparks Profile Picture
    241 on at

    @v-alzhan-msft perfect, thanks.

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