Template Node
Overview
Section titled “Overview”- 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.
Configuration
Section titled “Configuration”{ "custom": { "execution": { "operations": [ { "id": "jinja", "kind": "jinja", "params": { "template": "{{ firstName }} {{ lastName }}", "mode": "entry" } } ] } }}Related
Section titled “Related”- operation – The operations list on a host
- Script – Custom JavaScript or Python
- Workflow schema – Full schema reference