web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details
Power Automate - Building Flows
Answered

Formatting an HTML table attached to an approval

Like (0) ShareShare
ReportReport
Posted on 28 Aug 2020 19:09:41 by 312

I'm working on an approval where I need to send all previous requests from the requestor to the approver. I'm resigned to the fact that I can't pull data from a list and get it into a table and then into the body of the approval in a useful format 😞 but I'm wondering if there's any way to improve the formatting of an attached table. A screenshot of how it looks now is below. I've tried various options using the Format table action and gotten nowhere. Even adding borders would be a big improvement. Any advice? Thanks in advance! 

Screen Shot 2020-08-28 at 10.05.02.png

  • Verified answer
    CFernandes Profile Picture
    8,303 Most Valuable Professional on 16 Sep 2020 at 09:09:41
    Re: Formatting an HTML table attached to an approval

    @KBeale 

     

    A very easy way to add borders to the HTML will be to add a compose action and put in the formula

     

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

     

    CFernandes_0-1600247251761.png

     

    On a side it will be great to Have HTML support in the Approval action, Please Upvote the idea https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Approval-Email-HTML-Instead-of-Markdown/idi-p/291703 

     

    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!

     

Helpful resources

Quick Links

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2