Format Values in CloudFlow Notification Messages
You can now format numbers, dates, bytes, and percentages directly inside your CloudFlow Notification node — making Slack and email messages clearer and more professional without any extra workflow nodes.
How it works
Wrap any referenced value in double curly braces with a formatting function:
{{ format(diskSize, "#,##0.00") }}
That's it. When the notification fires, raw values like 1234.5 become 1,234.50.
Available functions
Numbers & currency — Use Excel-style patterns to add thousands separators, decimals, or currency symbols:
format(val, "#,##0.00")→1,234.50format(val, "$#,##0")→$1,234
Percentages — Automatically multiplies by 100 and adds the % sign:
format(val, "0.0%")→85.6%
Bytes — Automatically picks the best unit (B, KB, MB, GB, TB):
bytes(val)→5.49 GBbytes(val, 1)→5.5 GB(control decimal places)
Dates — Parse timestamps (Unix seconds, milliseconds, or ISO strings) and reformat them:
date(val, "yyyy-mm-dd")→2026-02-12date(val, "unix")→ convert back to Unix timestamp
Text — Change case:
upper(val)→HELLOlower(val)→hello
Inline math — Perform calculations on the fly:
{{ val * 5 }}→500
Multi-value support
When a referenced field returns multiple values (e.g., disk sizes across several VMs), each value is formatted individually and joined with commas:
{{ bytes(7665791702, 6046802307, 1) }} → 7.7 GB, 6.0 GB
Resilient by design
If one expression in your message has a formatting error, only that expression falls back gracefully — the rest of your notification renders normally.
In-editor reference
A new Formatting tab in the template tags dialog gives you a quick reference of all available functions with live examples, so you don't need to memorize the syntax.