Conditional variables / Liquid Syntax
complete
R
Romain Simon
Liquid Syntax would allow more customization in emails without using variables
Default values :
{{ contact.first_name || ’Mister’ }}
Conditions :
{{% if contact.email === ‘i_known_you@company.com’ %}} What's up
{{% elseif contact.lang === ‘fr’ %}} Bonjour
{{% elsif contact.lang === ‘en’ %}} Hello
{{% endif }}
Access to user data :
{{% if sender.email === ‘romain@datananas.com’ %}} CTO
{{% elsif sender.email === ‘rcornu@datananas.com’ %}} CMO
R
Romain Simon
complete
R
Romain Simon
under review