Skip to content

Template Node

  • Template engine – Jinja2 syntax for string formatting
  • Entry mode – Apply template to each row with {row}, {rowIndex}, {inputs}, {numRows}
  • Payload mode – Apply template to entire dataset with {rows}, {inputs}, {numRows}
  • Named tables – {inputs} holds the node’s other incoming wires, keyed by each wire’s handle. See Wires and named tables
  • JSON output – Rendered output is parsed as JSON when possible

The template is the native operation in this node’s operations list, so you can add a formula, a query or a script before or after it. See Operation node.

{
"custom": {
"execution": {
"operations": [
{
"id": "jinja",
"kind": "jinja",
"params": {
"template": "{{ firstName }} {{ lastName }}",
"mode": "entry"
}
}
]
}
}
}