Template

action_template · action · Data & Transform · Available · v1.0.0

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.

⚙️ Configuration parameters

Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.

FieldTypeRequiredDefaultDescription
template
Template
string (multiline)yes
Ciao {{ nome || "Cliente" }}, il tuo ordine {{ ordine.id }} è confermato.
Testo con segnaposto {{ percorso.dot }}. Usa || per un valore di default.
context
Dati (contesto)
expressionnoinputOggetto/JSON con i valori da interpolare. Vuoto = usa l'input del nodo.
escapeHtml
Escape HTML (anti-XSS)
booleannoNeutralizza < > & " ' nei valori interpolati. Attiva SEMPRE se il risultato è HTML con dati utente.

⬆️ Node output

Fields available to downstream nodes via $node.<alias>.json.<field>:

  • default

💡 Configuration example

JSON 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"
  }
}

🔗 Related nodes in the same category

Ready to use Template?

Available now on all FlowForge plans. Try it free without a credit card.

Start freeBrowse all nodes