cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KantumRobot
Frequent Visitor

Incert Tabel from excel file into an email with "List rows in a table"-How to format HTML and get Summary row

Hi beginner here

When excel file is aggregated and modified, I want to send an email that contains a table in the file as a preview of it which displays subtotal and total of data.

The table looks like this;"Table 25"
1.JPG

 

So I created a flow like this

 2.png

 


Then I get an email with plane text(only theads are bold).

3.png

 

How can I make the HTML table look like the original?What is the most easiest way to do it?
I assumed I should have used "Compose" so I managed to prepare styling text for HTML but I don't know how to check the output of "create HTML".
Also having trouble with adding summary row.

Thanks,
Kan

1 ACCEPTED SOLUTION

Accepted Solutions
fchopo
Super User
Super User

Hello @KantumRobot 

In the "send email" action you can specify some stylesheets formats using CSS, adding some content at its beginning, like:

<style type='text/css'>
table {
border: 1px solid
}
</style>

 Have a look at this post to get some samples: https://ryanmaclean365.com/2020/01/29/power-automate-html-table-styling/

 

Hope it helps!

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

View solution in original post

2 REPLIES 2
fchopo
Super User
Super User

Hello @KantumRobot 

In the "send email" action you can specify some stylesheets formats using CSS, adding some content at its beginning, like:

<style type='text/css'>
table {
border: 1px solid
}
</style>

 Have a look at this post to get some samples: https://ryanmaclean365.com/2020/01/29/power-automate-html-table-styling/

 

Hope it helps!

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

Hi Ferran @fchopo 


I just started learning HTML but I think I can at least try "INjecting CSS Styling" and "appending footer".
Thank you very much this is very helpful.

Kan

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (3,553)