Skip to main content

Overview

Campaign personalization lets you pull values from your contacts into campaign emails. You can use built-in fields like {{firstName}} and {{email}}, plus custom variables such as {{company}}, {{plan}}, or {{registrationCode}}.

How it works

1

Register variables on the contact book

Add the custom variable names you want to use, such as company or plan, on the contact book.
2

Store values on each contact

Save the matching values on each contact through the dashboard, CSV import, or API.
3

Use variables in your campaign

Select that contact book in your campaign and insert variables into the subject or email content.
4

Send the campaign

useSend replaces each variable with that contact’s value when the campaign is rendered.

Available variables

These built-in variables are always available in campaigns:
  • {{email}}
  • {{firstName}}
  • {{lastName}}
  • {{usesend_unsubscribe_url}}
Custom variables come from the contact book’s variable list. Every campaign must include an unsubscribe link. Use the recipient-specific {{usesend_unsubscribe_url}} variable as the link destination:
Custom variables must be added to the contact book before they can be used in a campaign. Variable names can only contain letters, numbers, and underscores.

Set up personalization in the dashboard

1. Add variables to your contact book

  1. Go to Contacts
  2. Create a new contact book or open an existing one
  3. Add your variables as a comma-separated list, for example:

2. Add values to your contacts

For each contact, save values for the variables you registered. For example, a contact might look like this:
You can add these values:
  • manually from the contact editor
  • through CSV import using matching column names
  • through the Contacts API using properties

3. Insert variables in your campaign

  1. Open or create a campaign
  2. Select the contact book that contains your variables
  3. Insert variables into the subject or email body
Examples:
If a contact book is selected, the campaign editor will suggest the available variables automatically.

Fallback values

If a variable might be empty, you can provide a fallback value:
This renders there when firstName is empty.

Using the API

Create a contact book with variables

Create a contact with variable values

Create a campaign that uses variables

Best practices