A custom Brevo email template works best when it uses four things deliberately: contact attributes you can trust, content visibility for no-code show/hide rules, Brevo’s template language for logic the editor can’t handle, and event data for behaviour-led emails in automations. The design job is to turn those into a few safe options for marketers, with a sensible fallback for every case where data is missing, without making editing fragile.
What can you personalise in a Brevo email template?
Brevo gives you four sources of dynamic content. They behave differently, and mixing them up is where most problems start.
| Source | Example | Where it works | Main risk |
|---|---|---|---|
| Contact attributes | {{ contact.FIRSTNAME }} |
Campaigns and automations | Blank or messy data |
| Content visibility | Show a block only to customers | Drag-and-drop editor | People with missing data see nothing |
| Template language (if statements, loops, filters) | {% if contact.country == "Canada" %} |
Logic only the author understands | |
| Event data | Items from an order | Automations and transactional emails, not campaigns | Preview and test limits |
How do you design around contact attributes?
Design around the data you genuinely have, not the data somebody hopes will be clean by launch. Attribute names in Brevo must match exactly, such as {{ contact.FIRSTNAME }}, and real contact lists contain blanks, all-caps names and long values.
- List the attributes the email uses and how reliably each is filled in, before designing around them.
- Write a fallback for each one. A greeting with a blank first name should read naturally, not leave a gap.
- Test with production-like contacts. Clean demo records hide the empty fields and long values that break real campaigns.
- Use an attribute only when it makes the message more relevant, not because it exists.
When should you use content visibility instead of code?
Content visibility lets you show or hide a block or section in the drag-and-drop editor, based on conditions you set. By default, everything is visible to every recipient. You can set conditions on device, contact attributes, event data, data feeds and object attributes, and combine them with “and” or “or”.
The important detail is what happens to people with missing data. Brevo’s documentation says recipients who don’t meet the conditions, or whose data is missing, won’t see that content. That makes blanks invisible, which is a problem if the hidden block was the only call to action.
- Add a default block. Brevo suggests adding a second block that appears only when the first is hidden, with the opposite condition, so everyone sees something relevant.
- Use it for no-code rules, such as showing a customer offer only to customers, or a mobile-only button.
- Keep a simple map of which blocks have conditions, so editors don’t move or delete one without knowing.
When do you need Brevo’s template language?
Brevo’s template language is for logic the visual conditions can’t express. It uses curly-brace variables, {% if %} statements, loops and filters. Check Brevo’s documentation for which channels support each feature: conditional statements are email-only, and event variables are only available for triggered messages.
A fallback for a missing first name can be written as an if statement:
{% if contact.FIRSTNAME %}Hi {{ contact.FIRSTNAME }},{% else %}Hi there,{% endif %}
Brevo documents if, elif and else branches, and combining conditions with and and or. It also warns against using if statements on variables that hold float values, because results may be inaccurate. Test this pattern with a contact whose attribute is truly blank before you rely on it.
- Keep it readable. If the logic needs a paragraph to explain, split it into simpler blocks.
- Comment who owns it. If only the person who wrote it can maintain it, the template creates dependency, not flexibility.
- Prefer content visibility for simple rules, so marketers can see and change them without reading code.
How does event data work in Brevo automations?
Event data lets an email reflect what someone just did, such as the items in an order. According to Brevo, event variables work in automated emails sent through an automation and in transactional emails sent through Brevo SMTP. They don’t work in email campaigns, which are manual one-time sends.
- Install the tracker first, and create custom events for actions Brevo doesn’t track.
- Use a dynamic content block for repeating items, such as the products in an order. It repeats for up to three items by default, and you can change the number and starting index. Design the one-item and many-item layouts.
- Preview with real data. Use “Preview as recipient” or “Preview event”. Brevo advises against relying on “View in inbox” or “Send test email” for event-personalised emails, because the variables aren’t filled in the same way.
- The event must have happened at least once before you can preview it with real data.
Which approach fits which job?
| Job | Best option | Why |
|---|---|---|
| Greeting with a name | Attribute with an if/else fallback | Simple, and safe when the name is blank |
| Different offer for customers and non-customers | Content visibility with a default block | Editable without code |
| Mobile-only or desktop-only element | Content visibility by device | Built in |
| Order confirmation with the items bought | Event data with a dynamic content block | Repeats for each item |
| Several conditions across country and language | Template language if statements | Handles combined logic |
How do you make Brevo templates feel connected across automations?
Treat triggered emails as part of the same design system as campaigns. A welcome email, an order confirmation and a win-back message should look related, while each has its own job.
- Design each email for its role in the automation.
- Build the missing-data and one-item states first, since automated emails get the awkward records.
- Run a few realistic customer stories through the whole automation to catch overlapping messages and missing exits.
For longer journeys, see our guide to structuring a B2B email nurture sequence.
What should be locked, and what should marketers be able to edit?
| Keep controlled | Allow marketers to change |
|---|---|
| Core typography and brand styles | Campaign copy within sensible limits |
| Button hierarchy and spacing | Destination URLs and CTA wording |
| Responsive structure | Approved image and content choices |
| Required footer and legal patterns | Optional campaign modules |
| Template-language logic and event blocks | Content inside blocks that have visibility rules |
The right balance depends on who’s using it. An experienced email producer may need more freedom than a wider team building the occasional campaign.
How do you test a Brevo email template?
| Test | What to try |
|---|---|
| Blank attributes | A contact with no first name and other empty fields, with fallbacks showing |
| Messy data | All-caps names, very long values and unusual characters |
| Visibility rules | A contact who matches, one who doesn’t, and one with missing data |
| Event data | Preview with a real event: one item and many items |
| Mobile | Check at 390px and 320px, with every block stacked |
| Email clients | Check key clients, including Outlook, and dark mode |
| Live send | Check the sent email, since previews can differ from the real thing |
See our guides to why emails look different in Outlook and email accessibility for rendering and contrast checks worth building in.
What should a Brevo template handover include?
- A map of the blocks and which job each serves
- Every attribute, event and data feed the template uses, with its fallback
- Blocks with content visibility rules, and the default block for each
- Any template-language code, with notes on what it does and what not to change
- Known client-specific compromises
- At least one real campaign or automation built from the template
What are the most common Brevo template mistakes?
- Hiding a block with content visibility and having no default, so people with missing data see nothing
- Using event variables in a campaign, where they don’t work
- Relying on “Send test email” to check an event-personalised email
- Personalising with attributes that are blank for a large share of the list
- Writing template-language logic that only one person understands
- Designing only the one-item order, then breaking on three
- Approving the desktop layout before the mobile stack is agreed
Brevo template checklist
| Check | Question to ask |
|---|---|
| Data | Do we know which attributes and events the email uses, and how reliable they are? |
| Fallbacks | Does every personalised value and hidden block have a default? |
| Right tool | Is each rule in content visibility if possible, and in code only if needed? |
| Events | Are event variables only used in automations or transactional emails? |
| Editing | Can another marketer build a campaign without breaking a rule? |
| Mobile and rendering | Has the sent version been checked on mobile and in key clients? |
| Handover | Are the rules, limits and source assets clear for the next person? |
How Email Squad can help
If your Brevo emails keep turning into a last-minute production job, take a look at our Brevo email design, Brevo HTML email development and Brevo email flows services, or get in touch with what you’re building.
Sources
Ready to take the production pain out of your Brevo template system?
Bring us the brief, the platform and the awkward bits. We can turn your Brevo template system into a reliable campaign or reusable system your team can actually work with.