cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Microsoft
Microsoft

Formatted ADO Queries

I have a flow built that pulls an ADO query and sends a monthly status update. It is working fine.  I'm curious to know if I can get the flow to send a more visually appealing table that is formatted with cell lines & headers like an email query coming out of ADO. 

 

Is this possible?  Would like it to look something like.... below

 

tysol_0-1605309525668.png

 

 vs....

 

tysol_1-1605309567868.png

 

1 REPLY 1
Super User II
Super User II

Hi @tysol,

 

Yes that would be possible with actions like Select, Create HTML table and inject ccs via the Compose. There are a lot of create resources with examples of this, for instance this blog: https://ryanmaclean365.com/2020/01/29/power-automate-html-table-styling/

 

1. Use a Select to map your ADO query results columns.

2. Put the output in a Create HTML table action

 

selectcreatetable.png

3. Inject CSS in a Compose action and add the output of the Create HTML table action after that.

injectcssintocompose.png

 

4. Use the output of the Compose in your Send email action body.

 

sendemail.png

 

 

 

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (30,625)