Description
Text templating engine in pure JavaScript for composing dynamic strings — emails, messages, URLs, request bodies — interpolating workflow data with {{ path }} placeholders, dot-path aware for nested fields.
action_template · action · Data & Transform · Available · v1.0.0
Text templating engine in pure JavaScript for composing dynamic strings — emails, messages, URLs, request bodies — interpolating workflow data with {{ path }} placeholders, dot-path aware for nested fields.
Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
templateTemplate | string (multiline) | yes | — Ciao {{ nome || "Cliente" }}, il tuo ordine {{ ordine.id }} è confermato. | Testo con segnaposto {{ percorso.dot }}. Usa || per un valore di default. |
contextDati (contesto) | expression | no | input | Oggetto/JSON con i valori da interpolare. Vuoto = usa l'input del nodo. |
escapeHtmlEscape HTML (anti-XSS) | boolean | no | — | Neutralizza < > & " ' nei valori interpolati. Attiva SEMPRE se il risultato è HTML con dati utente. |
Fields available to downstream nodes via $node.<alias>.json.<field>:
defaultJSON snippet of the node as it appears in the workflow. Values are derived fromdefaultValue and from required parameters.
{
"id": "node-action_template-1",
"defId": "action_template",
"label": "Template",
"config": {
"template": "Ciao {{ nome || \"Cliente\" }},\nil tuo ordine {{ ordine.id }} è confermato.",
"context": "input"
}
}Available now on all FlowForge plans. Try it free without a credit card.
Start freeBrowse all nodes