Guide5 min read•Audience: Marketers
Using PostBrix with Brevo (Sendinblue)
Import custom HTML into Brevo template manager, map contact attributes, and configure unsubscribe links.
Key Takeaways
- Export HTML from PostBrix and create a new template in Brevo.
- Use Brevo’s "Paste your code" option in the design step.
- Brevo uses double curly syntax with contact prefixes: {{ contact.FIRSTNAME }}.
- Configure the mandatory Brevo unsubscribe link: {{ unsubscribe }}.
Importing HTML into Brevo#
- In Brevo, go to Campaigns → Templates → New Template.
- Fill out template setup details (Subject Line, From Name, From Email).
- In the Design step, click Paste Your Code.
- Paste your PostBrix compiled HTML and click Save & Activate.
Brevo Attribute Mapping#
Brevo uses double-bracket contact attributes:
- First Name:
{{ contact.FIRSTNAME }} - Last Name:
{{ contact.LASTNAME }} - Email:
{{ contact.EMAIL }} - Unsubscribe URL: In your footer, use
<a href="{{ unsubscribe }}">Unsubscribe</a> - View in Browser:
<a href="{{ mirror }}">View in browser</a>
For transactional emails sent via Brevo’s API, use {{ params.orderId }} to access dynamic order parameters.
Frequently Asked Questions
Does Brevo support conditional display tags in custom HTML?
Yes. Brevo supports Django-style conditional tags like {% if contact.FIRSTNAME %}Hello {{ contact.FIRSTNAME }}{% else %}Hello Friend{% endif %}.
Why did Brevo modify my HTML after saving?
Brevo automatically checks for the {{ unsubscribe }} link. If omitted, Brevo injects a default unsubscribe link in the footer.