All articles
ReferenceTemplates

Template Variables Reference

Complete reference of all available template variables.

1 min read 9 sections 5 tags

Template variables use Handlebars-like syntax to insert dynamic content into your emails. They are resolved at send time with actual data.

Contact Variables

VariableDescription
{{contact.firstName}}Contact's first name.
{{contact.lastName}}Contact's last name.
{{contact.displayName}}Contact's display name.
{{contact.email}}Contact's email address.
{{contact.companyName}}Contact's company name.
{{contact.companyDomain}}Contact's company domain.
{{contact.jobTitle}}Contact's job title.
{{contact.department}}Contact's department.
{{contact.phone}}Contact's work phone.
{{contact.linkedinUrl}}Contact's LinkedIn URL.
{{contact.websiteUrl}}Contact's website URL.
{{contact.city}}Contact's city.
{{contact.state}}Contact's state/province.
{{contact.country}}Contact's country.

Sender Variables

VariableDescription
{{sender.name}}Your name (the campaign sender).
{{sender.email}}Your email address (the sender mailbox).

Custom Variables

Access custom variables defined in Settings → Custom Variables using: {{custom.yourKey}}. These are organization-wide and shared across all templates.

Fallback Values

Use the pipe syntax for fallbacks: {{contact.firstName | "there"}}. If the contact's first name is empty or null, 'there' will be used instead. Without a fallback, empty variables render as empty strings.

variablestemplatepersonalizationhandlebarsmerge fields