Personalize with variables

3 min read65
Copy for AI:

A variable is a snippet between double braces that each recipient gets with their own value: Casa Moura CafΓ©s writes Hi, {{first_name}} once, and each customer reads their own name. Variables work in the subject and HTML of campaigns, templates and automation email steps.

Where to find the list

In the editor, click See available variables. The drawer shows each variable with its name and an example, a copy button and a search filter. They come in groups:

  • Contact β€” profile data, such as {{first_name}} (first name), {{full_name}} (full name), {{email}}, {{company}} and {{city}}.
  • Custom fields β€” every field you create in Contacts β€Ί Custom fields becomes a variable right away, by its key. Casa Moura's cafe_preferido field is {{cafe_preferido}}.
  • Campaign β€” {{campaign_name}} (internal name) and {{subject}}.
  • Sender β€” {{sender_name}} and {{sender_email}}.
  • System β€” {{unsubscribe_url}} (unsubscribe link), {{current_year}} and {{current_date}}.

Copy from the drawer instead of typing: the variable must be written exactly as it appears there, with no spaces inside the braces.

Fallback value: for people without the field

When the contact has no value for the field, the variable comes out empty β€” and "Hi, ," is worse than no personalization. To avoid it, write the fallback after a bar: {{first_name|there}} shows the first name for those who have one and "there" for those who don't.

In the 2026 harvest launch campaign, Renata wrote "The new harvest of {{cafe_preferido|specialty coffee}} has arrived": people who prefer Yellow Bourbon read "Yellow Bourbon", and those without the field filled in read "specialty coffee".

Be careful with links

A link whose address contains a variable β€” for example, https://casamoura.com.br/pedido?email={{email}} β€” goes out intact and works, but is not counted in the click report. Tracking needs to know the destination before sending, and the variable is only resolved on delivery. If measuring the click matters, keep the address fixed and personalize the text around it.

Transactional templates are different

In Transactional, values do not come from the contact profile: they come in the call from the system that sends the email. That is why that screen does not offer this list, does not accept fallback values and handles variables differently β€” see the Transactional templates article.

Where to go next

  • Create and use email templates β€” where the variables will go.
  • Custom fields β€” create the fields that become variables.
  • Contacts β€” fill in the data the variables show.
  • Transactional templates β€” variables that come from your system.

In short: copy variables from the drawer, use a fallback after the bar for people without the field, keep the address fixed on links you want to measure, and remember that transactional templates get their values from the call, not from the contact profile.

Was this article helpful?