StableData binding
Text template
Overview
Text with {{ }} placeholders that are filled in with live data: Welcome {{user.name}}, Order #{{record.number}} — {{record.status}}.
Purpose
The easiest way to combine fixed text with data in headings, messages, email subjects, URLs and workflow steps. Pick “Text template with {{ }} placeholders” at the bottom of the Data Picker.
Inputs
- Placeholders use dotted paths only — no formulas or functions.
- Template roots:
user(current user),page,params(page parameters),query(query parameters),stateorapp(app state),pageState,record(current record, by field key),form,results(action results),event, andcomponent.<component id>.<key>. Built-in time values:{{now}}(the current date and time, ISO 8601 in UTC, e.g.2026-10-24T18:30:00.000Z) and{{today}}(today's date in UTC,YYYY-MM-DD).
Configuration
{{record.email}}reads a field by its key (lowercase, underscores), not its label.{{results.api.total}}digs into nested results;{{event.item.name}}reads the current loop item.{{component.cmp_abc.selectedRecord.name}}reads another component's state by its id.{{now}}and{{today}}are evaluated where the template runs: on the server for workflows and data actions (server time), in the browser for display. Store{{now}}in a Date & time field (e.g. Checked In At) and compare deadlines in an If / else ({{now}}> End Date). Compare Date fields with{{today}}— a date-only value sorts before any time on the same day.
Outputs
- Always text. Numbers and booleans are printed as-is, lists are joined with commas, objects as JSON, and missing values become empty text.
Example
Personalised welcome
Example
Text › Text: Welcome back, {{user.name}} — you have {{state.cartCount}} items in your cart.Errors
- Unknown roots or paths print nothing (no error); check the key spelling and that the data is in scope (for example
recordonly exists inside lists, tables, forms and detail views).
Limitations
- No arithmetic, conditions or formatting (dates and money print in their stored form). Use Decimal/Currency fields and components for formatted display. To count records in a workflow use Find records — it saves
<key>_count.
Advanced
{ type: "template", template: string }(max 5,000 chars). Regex\{\{\s*([a-zA-Z_][\w.-]*)\s*\}\};record.<key>resolves throughrecordValue(field id or key), other roots throughgetByPath;now→new Date().toISOString(),today→ its first 10 characters. Never evaluated as code.