Personalize your email content and sending parameters (sender and subject) with contact attributes (first name, last name, email address, etc.) to engage your email recipients and improve metrics, such as open rates and response rates.
Good to know
- Contact attribute variables can be used in email templates and campaigns.
- We recommend you always double-check and test your personalization before sending your emails.
- You can use filters to edit the formatting of your attributes by typing them manually into your email canvas. To learn more about filters, check our dedicated article Modify the formatting of your variables with filters.
❓How do contact attributes work?
Your Brevo contacts list contains contact attributes that refer to the information you store about each of your contacts. You can personalize your emails using contact attributes by inserting placeholders in your email templates and campaigns.
These placeholders are tags that pull contact-specific information (first name, email address, phone number, etc.) into your emails. When you insert a contact attribute placeholder into your email template, it will be automatically replaced by the personalized information stored for each contact at the time your email is sent.
Each contact attribute corresponds to a unique placeholder, which is structured as {{ contact.ATTRIBUTE }} where ATTRIBUTE is the name of your contact attribute exactly as it appears on your contacts list.
🎨 Personalize your email design
Personalize your email content with your contact attributes such as their first name or birthday, for example, to create engagement!
Depending on the design tool you chose, the steps to add contact attributes to your email differ:
Use contact attributes in the email editor
From the email editor, you can add contact attributes to your texts, or links and buttons.
Add contact attributes in your texts
To personalize your texts with contact attributes, you can either choose to use:
- Simple personalization to insert variables that will automatically be replaced with personalized information from your contact attributes, such as a contact's name, email address, or other details.
- Advanced personalization (Conditions) to display contact information according to a set of conditions like their gender or favorite color.
To insert contact variables in your email content:
- Create an email campaign or template, and access the Design step to choose the email editor.
- Place your cursor where you want to add a variable.
- Click the Add variable { } icon in the formatting bar.
- From the Which attribute would you like to insert? dropdown, select Contact attributes.
- Select the contact attribute you want to include in the email template.
- In the Which value should be used if the attribute is empty? field, enter the fallback text to use in case the data is missing for a shopper.
- (Optional) If you selected a number-type attribute, enter the desired number of decimals in the Number of decimals to display field.
- Click Insert.
Here is an example of what the personalized email content would look like if it was received by a contact named Paul:
Email content | Email received |
To insert advanced conditions:
- Create an email campaign or template, and access the Design step to choose the email editor.
- Place your cursor where you want to add a variable.
- Click the Add variable { } icon in the formatting bar.
- Access the Advanced (conditions) tab:
- Add multiple cases to suit your needs. For example, adding different greetings for male and female recipients.
- Add multiple conditions on your contact attributes and also specify the text to be displayed for each case.
- Select attributes to add to your text.
❗️ ImportantBe careful to write the attribute exactly how it appears in your contact lists because it is case-sensitive. For example, if for the contact attribute GENDER you wrote "Female" in your contact lists but you put "female" in the Advanced (conditions), the contact attribute will not be retrieved and the fallback text will be used instead. - Click Insert. An If/Else placeholder is added to your email template.
-
The specified text entered in the Insert field for each case will be displayed in your email depending on the conditions you set. If the contact attribute is empty, the fallback text from the Otherwise field is displayed.
Case 1 Case 2 Otherwise
You can edit the placeholder anytime by clicking on it from the email editor.
Add contact attributes to a link or button from the email editor
Add a contact attribute to your links or buttons. For example, if each of your contacts has a unique customer number granting access to a personalized space on your website, you can add the contact attribute containing this number to your link. At the time of sending, the contact attribute will be automatically replaced with your contact's customer number.
- Create an email campaign or template, and access the Design step to choose the email editor.
- Drag and drop a Button content block into your canvas.
- Click the Button content block and click Add link at the top of the block. The Insert/edit link modal opens.
- In the Link target field, paste the link you want to redirect your contacts to.
- At the right of the Link target field, click the Add variable { } icon.
- From the dropdown, select Contact Variables.
- Select the contact attribute you want to include in your link.
- Click Insert.
Add contact attributes from the Simple or HTML editors
If you prefer to create your emails in the Simple or Paste Your Code editors, you must manually add your contact attributes placeholders following the format {{ contact.ATTRIBUTE }} where ATTRIBUTE is to be replaced by the name of your contact attribute exactly as it appears in your contacts list.
Input | Output |
---|---|
{{ contact.FIRSTNAME }} | Louis |
{{ contact.EMAIL }} | louis@example.com |
{{ contact.SMS }} | +1-541-754-3010 |
⚙️ Personalize your sender name, subject line, or preview text
Brevo also allows you to personalize the information that appears first in your recipients' inboxes before they even open it which can increase your conversation rate. When creating an email campaign, you can personalize elements such as:
- Sender name and 'Send To' field in your recipients' inboxes.
- Subject line and preview text.
Personalize your sender name and 'Send To' field
The Sender name is the name that appears in your recipients' inbox to identify the sender. Its purpose is to build trust with recipients and generate more openings. By default, the Sender name is your company name but you can personalize it by overriding it with another name or personalize it to suit your recipients.
For example, if your company assigns an account manager to each contact, you can display this account manager's name instead of your company name in the sender field of your recipients' inbox:
- Access the Sender step of your campaign creation.
- Insert {{ contact.ATTRIBUTE }} in the Name text field, where ATTRIBUTE is the value of the contact attribute exactly as it appears in your contacts list. If the email is sent to the contact paul.brownie@example.com, whose contact attribute for ACCOUNTMGR is Abby from The Green Yoga, the email will appear as follows in the recipient's inbox:
The 'Send To' field is the addressee field in the email information You can personalize the information your recipients will see regarding your addressee field:
The default value is [DEFAULT_TO] which is your recipient's email address but you can override it with your contact attributes or personalize it to suit your recipients.
- When creating an email campaign, access the Personalization section of the Additional settings.
- Check the Personalize the 'Send-To' field box.
- Next to Personalize the 'Send-To'field, click the curly brackets icon { }.
- Click Contact attributes and choose from the drop-down list the contact attribute(s) you would like to display in your recipients' inbox 'To' field.
- Set other additional settings or add text if needed.
- Click Save.
To learn how to use a different reply-to email address, check our dedicated article Where are reply emails sent to?.
Personalize your subject line and preview text
- From the Subject step of your campaign creation flow, click the person icon 👤 in the Subject line or Preview text fields.
- In the Insert personalization pop-up window, choose from the drop-down list the contact attributes you would like to display in your recipients' inbox subject line and preview text.
- In the text field, type a default value to insert if your contact's attribute is empty.
- Click Insert and drag and drop the attribute anywhere in the text fields.
Here is an example of what the personalized preview text would look like if it was received by a contact whose FIRSTNAME is John:
⏩ What's next?
🤔 Have a question?
If you have a question, feel free to contact our support team by creating a ticket from your account. If you don't have an account yet, you can contact us here.
If you’re looking for help with a project using Brevo, we can match you with the right certified Brevo expert partner.