Understand the fundamental syntax for outputting data, creating logic, and modifying values in your workflows.
Objects: Outputting Data
{{ ... }}
.node_1
produced an output like this: {"user": {"name": "Alice", "id": 123}, "products": ["apple", "orange"]}
.[]
with the item’s index (starting from 0).Tags: Adding Logic
{% ... %}
. Tags themselves do not output any text; they control what text gets outputted.For example, you can use an if
tag to conditionally show a message:if
, for
, and case
in detail on the Logic and Control Flow Tags page.Filters: Modifying Data
{{ ... }}
and are separated from the variable by a pipe character |
.upcase
filter to capitalize a name:15
in the truncate
example above. Explore all the possibilities on the Working with Filters page.