Dynamic Data Variables
Global Variables
In addition to the variables listed below, Event and People Variables are also available.
When a notification is produced with Dynamic Data, all compiled values can be found in data.
Unlike other types, data has no fixed schema. It contains exactly what was added via the {% setData %} tag.
Detailed Instructions
See Dynamic Data for complete instructions.
Examples
Output a single value
twig
{{ data.greeting }} world!Loop over a data array
twig
{% for entry in data.entries %}
{{ entry.title }}
{% endfor %}Data can contain any value type
twig
{{ data.anyString }}
{{ data.anyNumber }}
{% if data.anyBoolean %}
...
{% endif %}
{% for item in data.anyArray %}
...
{% endfor %}