web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send an email with htm...
Power Automate
Unanswered

Send an email with html table styling

(0) ShareShare
ReportReport
Posted on by 12

I have a requirement for coloring a particular column in HTML table with 3 different cell background color based on cell value. The source is from List rows from a excel table in power automate and the table. Need your guidance and support to crack this logic for coloring a particular status column Not started -> Red, In Progress --> Yellow, Completed --> Green  dynamically like with If condition.

Please explain with the Power automate connectors and expression screenshots where we are inputting the logic for cell Background colors based on cell value

Categories:
I have the same question (0)
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @Muthu_VIjayan  Use one compose in which input should be like- <td>Your Status dynamic value</td> and then create 3 compose actions for each status value with your background style For example- <td style="background-color: Red>Not started</td>

    Now in your html table in place of column td use expression if(equals(),..)

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • Muthu_VIjayan Profile Picture
    12 on at

     

    Can you explain me where i need to add the if condition?

    Muthu_VIjayan_0-1656068263738.pngMuthu_VIjayan_1-1656068297951.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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard