Skip to main content

Connect Brevo to Lasso

Send your checkout and subscription events, newsletter sign-ups and customer portal login emails to your own Brevo account.

In your Lasso dashboard, go to Integrations and open Brevo. The top of the page has a setup checklist that marks each step Done or To do. Work through the steps in order. Steps 3 to 7 unlock once step 1 is done.

1. Connect your Brevo account

  1. In Brevo, open Settings → SMTP & API → API keys and create a new API key with full access.

  2. Copy the key.

  3. In Lasso, paste it into Brevo API key and click Connect.

Use an API key, which starts with xkeysib-. An SMTP key (xsmtpsib-) won't work. When the key works, Lasso shows the name and email of your Brevo account. To use a different key later, click Change API key.

2. Authorize Lasso's servers in Brevo

This step only shows up if Brevo blocks Lasso's requests. Brevo can block requests from IP addresses it doesn't recognize.

  1. In Brevo, open Settings → Security → Authorized IPs.

  2. Add the IP address shown on the Lasso page (35.170.49.22).

  3. Go back to Lasso and click Check again.

3. Pick your newsletter list

Choose the Brevo list where Lasso should add shoppers who tick the newsletter checkbox at checkout. This step is required. If you just created the list in Brevo, click Refresh to see it.

Lasso records when and where each shopper agreed, in two contact attributes it creates in your Brevo account:

  • LASSO_CONSENT_AT: when the shopper agreed.

  • LASSO_CONSENT_SOURCE: always "Lasso Checkout".

Lasso never re-subscribes a contact you've blocklisted in Brevo.

4. Set up the customer portal login email

Your shoppers log in to your customer portal with a link sent by email. With Brevo, that email goes out from your Brevo account, using a template you create. This step has four parts:

  1. Ask Brevo support to activate transactional email on your account. Brevo turns this on separately. Until it's on, Brevo refuses to send the login email.

  2. Authenticate your sending domain in Brevo, so the email comes from your own domain.

  3. Create a transactional template in Brevo for the login email. Put the login link in the template as {{ params.magic_link_url }}. You can also use {{ params.store_name }}.

  4. In Lasso, enter the template's number in Template ID, enter your email in Send test to, and click Send test login email.

When the test email arrives, Lasso shows Verified, and portal login emails are ready to go.

5. Choose your events and send samples

  1. Turn on the events you want to receive in Brevo, and click Save events.

    • Checkout Started is always sent.

    • Subscription events only show if your store sells subscriptions.

    • Checkout Payment Failed fires when a payment is declined at checkout.

    • Order Completed fires when a shopper pays. It's on by default. Use it to stop abandoned-cart emails.

  2. Click Send sample events. Lasso sends one of each event to your own email address, so they show up in Brevo and you can build automations with them.

6. Build your automations in Brevo

The page lists each event Lasso sends to Brevo. Use them as triggers for your automations in Brevo. Each event carries details such as cart items, totals and the checkout link. If you're coming from Klaviyo, this is how your Klaviyo metrics map to Brevo events:

Was in Klaviyo

Brevo event

Lasso · Checkout Started

lasso_checkout_started

Lasso · Checkout Payment Failed

lasso_checkout_payment_failed

Lasso · Subscription Created

lasso_subscription_created

Lasso · Subscription Rebill

lasso_subscription_rebill

Lasso · Subscription Cancellation Requested

lasso_subscription_cancellation_requested

Lasso · Subscription Canceled

lasso_subscription_canceled

Lasso · Subscription Paused

lasso_subscription_paused

Lasso · Subscription Payment Failed

lasso_subscription_payment_failed

Lasso · Subscription Auto Paused

lasso_subscription_auto_paused

Lasso · Customer Portal Access

Not an event. Lasso sends the login email itself, using your template from step 4

Lasso · Abandoned Checkout

No longer sent. Use lasso_checkout_started with a delay (see below)

(new, Brevo only)

lasso_order_completed: sent when a shopper pays. Use it to stop abandoned-cart emails

To build an abandoned-cart email in Brevo:

  1. Start an automation on lasso_checkout_started.

  2. In the automation's settings, add an exit condition on the event lasso_order_completed. Shoppers who pay leave the automation and don't get the email.

  3. Allow contacts to re-enter after they exit, so a shopper who abandons again later gets the email again.

  4. Add a delay, for example 1 hour.

  5. Send an email that uses the checkout_recovery_url property as the link back to the checkout.

When your automations are ready, click Mark as done.

7. Turn on Brevo

Click Turn on Brevo. Lasso starts sending to Brevo only after this step.

The button stays off until you've picked a newsletter list (step 3) and verified the login email (step 4). If other steps aren't done yet, the page lists them under "Not done yet".

Once Brevo is on, the page shows an Active badge at the top.

If you're switching from Klaviyo

If Klaviyo is connected, step 7 is called Switch from Klaviyo, and works like this:

  1. Click Copy settings from Klaviyo to copy your Klaviyo event choices into Brevo. This works best before steps 5 and 6.

  2. Move your contacts and their consent from Klaviyo to Brevo yourself (see below).

  3. Click Switch to Brevo, then Confirm switch.

Lasso turns Klaviyo off and Brevo on at the same moment. Your Klaviyo settings are kept, so you can switch back later.

Move your contacts from Klaviyo to Brevo

Lasso doesn't move your contacts for you. To move them without re-subscribing anyone who opted out:

  1. Export all your profiles from Klaviyo before your Klaviyo access ends, including their consent status and dates. Export your suppressed profiles separately.

  2. Connect Brevo to Lasso (step 1). This creates the LASSO_CONSENT_AT and LASSO_CONSENT_SOURCE attributes in Brevo.

  3. Import the people who opted out first, as blocklisted contacts.

  4. Import only the subscribed profiles into your newsletter list, with their consent date and source mapped to those two attributes.

DON'T USE Brevo's built-in Klaviyo import. It subscribes every contact, including people who opted out, and Brevo says re-subscribing people who opted out can get your account suspended.

What your customers see

  • A newsletter checkbox at checkout. It appears once Brevo is turned on, and starts unticked, so shoppers choose to join. When a shopper ticks it and pays, Lasso adds them to your newsletter list.

  • Customer portal login emails from your Brevo account. The login email uses your Brevo template and comes from your own domain.

  • Your Brevo automations. Emails such as abandoned cart now come from the automations you built in Brevo.

Good to know

  • One email tool at a time. Your store sends to either Klaviyo or Brevo, not both.

  • Going back to Klaviyo. Open the Klaviyo page and save your Klaviyo settings, then click Confirm switch. Lasso turns Brevo off and Klaviyo on at the same moment.

  • Turning Brevo off. Click Turn off Brevo at the top of the page. Lasso stops sending events, newsletter sign-ups and customer portal login emails to Brevo. Your Brevo settings are kept, so you can turn it back on later.

  • Changing the login template. While Brevo is on, the Template ID is locked. Turn Brevo off first, change it, and send the test again.

  • Checkout Started is sent once per checkout. If the shopper changes their email, it's sent again for the new address.

Messages you might see, and what to do:

Message

What to do

"Brevo rejected the API key."

Create a new API key in Brevo and connect again.

"Your Brevo API key doesn't have the permissions Lasso needs."

Create a new API key with full access in Brevo and connect again.

"Brevo blocked our request."

Authorize Lasso's IP address in Brevo (step 2), then click Check again.

"Your Brevo SMTP account is not yet activated."

Ask Brevo support to activate transactional email, then send the test again.

"Brevo couldn't send with that template."

Check the Template ID, and that the template uses {{ params.magic_link_url }}.

"This API key belongs to a different Brevo account."

Turn Brevo off, then connect the new key. Your list and template settings are cleared, so redo steps 3 and 4.

"The list you picked is no longer in your Brevo account."

Pick another list, or click Refresh if you just created one.

Red banner: "Brevo stopped accepting Lasso's requests"

Follow the fix shown in the banner: a new API key (then click Change API key), a new newsletter list (step 3), or authorizing Lasso's IP (step 2).

Red banner: "A customer portal login email failed on …"

Fix the reason shown, then send a new test login email in step 4.

Did this answer your question?