Email Variables, spintax, if statements, conditional statements
Super Send is very powerful. you can use both message variables, liquid syntax and spintax . This page is just a high level overview. click on the links to dig in further.
Example:
Message variables can be used like {{variable}} or {{first_name}}.
The list of message variables is available when you edit an email. Click Message Variables to see the list of available options.
Read More: https://help.supersend.io/en/articles/7156206-liquid-syntax-variable-replacement-variable-defaults
read more: https://blog.supersend.io/using-custom-variables-and-if-statements/
Example:
{% if language == "english" %}
hello
{% elsif language == "spanish" %}
hola!
{% elsif language == "french" %}
Bonjour!
{% endif %}
Another Example:
{% if customer.name == "kevin" %}
Hey Kevin!
{% elsif customer.name == "anonymous" %}
Hey Anonymous!
{% else %}
Hi Stranger!
{% endif %}
Spintax is awesome, it lets you basically put in little variations into your email to allow for higher deliverability while maintaining complete control over what goes into your email.
Example:
{Option 1|Option 2|Option 3}
https://blog.supersend.io/spintax-how-to-vary-your-cold-emails-to-increase-deliverability/
Example: {{ first_name | default: "there" }}
https://help.supersend.io/en/articles/7156206-liquid-syntax-variable-replacement-variable-defaults
Variables
Example:
Message variables can be used like {{variable}} or {{first_name}}.
The list of message variables is available when you edit an email. Click Message Variables to see the list of available options.
Read More: https://help.supersend.io/en/articles/7156206-liquid-syntax-variable-replacement-variable-defaults
Conditional Statements:
read more: https://blog.supersend.io/using-custom-variables-and-if-statements/
Example:
{% if language == "english" %}
hello
{% elsif language == "spanish" %}
hola!
{% elsif language == "french" %}
Bonjour!
{% endif %}
Another Example:
{% if customer.name == "kevin" %}
Hey Kevin!
{% elsif customer.name == "anonymous" %}
Hey Anonymous!
{% else %}
Hi Stranger!
{% endif %}
Spintax
Spintax is awesome, it lets you basically put in little variations into your email to allow for higher deliverability while maintaining complete control over what goes into your email.
Example:
{Option 1|Option 2|Option 3}
https://blog.supersend.io/spintax-how-to-vary-your-cold-emails-to-increase-deliverability/
Liquid syntax default variables
Example: {{ first_name | default: "there" }}
https://help.supersend.io/en/articles/7156206-liquid-syntax-variable-replacement-variable-defaults
Updated on: 13/12/2024
Thank you!