Working with Variables & Merge Tags
Personalize your email templates with dynamic variables and merge tags.Variable Syntax
Mailofly uses double curly braces for variables:Fallback Values (Default Content)
To prevent empty spaces when a variable is not provided for a specific contact, specify a fallback using the pipe| syntax:
- If
first_nameis"Sarah", it renders:Hey Sarah, - If
first_nameis missing ornull, it renders:Hey there,