Skip to main content

Notifications

Community site session details

Community site session details

Session Id : z18r95LPCT8YJvnHcxrDVw
Power Automate - General Discussion
Answered

Power-Automate Creating a simple table Formatting

Like (1) ShareShare
ReportReport
Posted on 28 Sep 2023 16:13:28 by 5

I'm working on creating automated emails whenever a form is completed.
I've finished everything else but my company is not happy about the format that it is arrives in.
They want it in table format but not the typical format of columns on top and data in the rows.
Since there is only one set of data for each email. It should look something like this.
Does anyone know how to do this?
Thank you!
PIC1 is ideal format.
PIC2 is current code for it

ALL INFORMATION IN PICTURES IS FAKE INCASE OF PRIVACY CONCERNS

  • Verified answer
    trice602 Profile Picture
    13,768 Super User 2025 Season 1 on 28 Sep 2023 at 16:23:08
    Re: Power-Automate Creating a simple table Formatting

    Hi @Azaingod ,

     

    You could use Create HTML table and make the different tables to display are needed.  Here's some framework to get you started.  Here' I have some data out of Excel but could be form results, SP list, etc.  and I create an html table out of the data.

     

    trice602_0-1695917946236.png

     

    Above this I have a variable called FormatTable.

     

    trice602_1-1695917986501.png

     

    After I create my html table, I use a step variable to replace the current create html output with the FormatTable variable.  This puts a nice border and cell spacing for the email.

     

    trice602_2-1695918100591.png

     

    And then in the email I reference the variable.  In your case, since you kinda want 4 different "tables" you would do this for each of your tables.  I think this is enough for you to get started and works well.

     

    trice602_3-1695918174830.png

     

     

     

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
David_MA Profile Picture

David_MA 8 Super User 2025 Season 1

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 8 Super User 2025 Season 1

#3
ankit_singhal Profile Picture

ankit_singhal 7 Super User 2025 Season 1

Overall leaderboard
Loading started