Advanced variables
Jinja2 Templating Support
We support Jinja2 to dynamically generate content.
Example 1: Variable Insertion
Simply insert variables using double curly braces ({{ }}
). For example:
Hello, {{ name }}!
Example 2: Conditional Content
Display parts of your template conditionally using {% if %} blocks. This ensures that nothing is shown when a variable is empty.
How can I help you{%- if contact.source %} {{ contact.source }}{%- endif %} today, {{ contact.name }}?
Updated 3 days ago