🎨

Power Automate HTML Table Styler

Visual CSS generator for styling the output of the "Create HTML table" action in Power Automate. Customize colors, fonts, and borders, then copy the raw <style> block straight into your email flow.

IDTitleStatusOwnerPriority
1Server MigrationIn ProgressRizwanHigh
2Update SSL CertificatesPendingAliceMedium
3Renew Domain NamesCompletedBobLow
4Database Backup ConfigurationIn ProgressRizwanHigh

How to style an HTML table in Power Automate

When you use the Create HTML table action in Power Automate (often fed from a "Get items" SharePoint action), it outputs a very basic, unstyled HTML table. It lacks borders, padding, and alternating row colors, making it hard to read when sent in an email or Teams message.

Steps to apply this CSS:

  1. Add a Compose action immediately after your "Create HTML table" action.
  2. Paste the <style> block generated by this tool into that Compose action.
  3. In your "Send an email (V2)" or "Post message in a chat or channel" action, insert the output of the Compose action (the CSS) first, followed immediately by the output of the Create HTML table action.

When the email client or Teams renders the message, the browser engine will read your <style> tags and format the table exactly as it appears in the live preview above.

Pro Tip: Ensure that your email body is set to "Code View" (the </> icon) when pasting raw HTML into Outlook email actions, or just use dynamic content mapping to insert the Compose output.

Frequently Asked Questions

How do I style an HTML table in Power Automate?

You can style the output of the "Create HTML table" action by adding custom CSS in a Compose action and placing it directly above the table output in your email or message.

Does this work with SharePoint data?

Yes, this CSS works perfectly with SharePoint lists that have been converted to HTML tables using Power Automate.

Do I need to know CSS to use this?

No. This generator lets you pick colors, borders, and fonts visually, and it outputs the exact CSS string you need to copy and paste.