Skip to main content

Notifications

Power Automate - General Discussion
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

  • Muthu_VIjayan Profile Picture
    Muthu_VIjayan 12 on at
    Re: Send an email with html table styling

     

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

    Muthu_VIjayan_0-1656068263738.pngMuthu_VIjayan_1-1656068297951.png

     

  • Hardesh15 Profile Picture
    Hardesh15 7,087 on at
    Re: Send an email with html table styling

    @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

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard