DoiT Cloud Intelligence™DoiT Cloud Intelligence™

Improvement

Format Values in CloudFlow Notification Messages

By Vadim Solovey

Format Values in CloudFlow Notification Messages

Format numbers, dates, bytes, and percentages directly in CloudFlow Notification messages for clearer Slack and email alerts without extra workflow nodes.

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.50
  • format(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 GB
  • bytes(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-12
  • date(val, "unix") → convert back to Unix timestamp

Text — Change case:

  • upper(val)HELLO
  • lower(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.

Your cloud bill shouldn't be a mystery

Let us show you what ships this week.