Format step: dates, text and numbers in plain words
Show a date as 16 Oct 2026 or in 3 days, text in upper case or split, a number as 1,234.50 or $1,234.50, or add and round, without code.
Updated
Format turns a date, some text or a number from your data into the words you want: a date as “16 Oct 2026”, a name in upper case, a total as “$1,234.50”. The result is data for the steps after it, like any other step's output.
How to set it up
- Add a Format step and choose what to format: a date, text, a number, or now (the current date and time).
- Pick the data to format, then how to show or change it. The panel shows the result with your sample data.
- Test this step. Later steps can then pick Step N → Result.
Dates
- Takes an ISO date (2026-10-16 or 2026-10-16T09:05:00Z), a Unix timestamp in seconds or milliseconds, or a date written out like October 16, 2026. A date or time without a timezone is read in the workflow's timezone.
- Shows it as 16 Oct 2026, October 16, 2026, 16/10/2026, 2026-10-16, 16 Oct 2026, 9:05 AM, 9:05 AM, the weekday, ISO, a Unix timestamp, or a relative time like “in 3 days” or “2 hours ago”.
- Times are shown in the workflow's timezone (set next to the workflow's name).
- Now is the date and time when the step runs, shown the same ways.
Text
- Upper case, lower case, title case (Every Word Capitalized) and trim spaces (around the text).
- Split on a separator (a comma, a space, a dash) and keep the first, last or Nth part.
- Replace every occurrence of some text with other text. Case matters.
- Length: how many characters the text has.
- Default if empty: your fallback when the data is empty or missing.
- Truncate: keep the first N characters, with “…” when something was cut.
Numbers
- Takes a number, or text that holds one like 1,234.50.
- Round to a number of decimals. Thousands separators (1,234.50). Currency ($1,234.50, €1,234.50, with a 3-letter code). Percent (a fraction: 0.15 is 15%).
- Add, subtract, multiply or divide by a number, typed or picked from the data. Absolute value.
- Round, the math and absolute value give a number; the others give text.
When it fails
- A value that isn't a date or a number fails the step with a message that says what it got, and isn't retried. Text never fails: empty data gives an empty result, or your default.
- For more than one change, add a Format step for each. For anything else, use a Code step.