Template
template · Nodes · Transform
Renders text from a template and workflow input.
Renders MiniJinja templates with input data as context.
Config: template - the template string
Syntax:
- Variables:
{{ name }},{{ user.email }} - Filters:
{{ name | upper }},{{ price | round(2) }} - Conditionals:
{% if x %}...{% endif %} - Loops:
{% for item in items %}{{ item }}{% endfor %}
Input: JSON object (fields become template variables) Output: Rendered string
Example:
Input: { "user": "Alice", "score": 95 }
Template: Hello {{ user }}, you scored {{ score }}!
Output: Hello Alice, you scored 95!
Inputs
inputRequired
Outputs
output
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
template | string | No | Template string to render with input data |
base_config | record | No | Shared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow). |