# Activate events in Brevo ## Learn how to send events in real-time to Brevo for activation. ## How it works 1. **Select which events to send.** Choose which events (e.g., Email Subscribed, Product Viewed, Purchase Completed) to send to Brevo. 2. **Filter and transform events.** Send only the data that matters. Define conditions and transformations to ensure only relevant data is streamed. 3. **Send in real time.** Krenalis sends events to Brevo in real time, enabling automations like welcome series or post-purchase follow-ups. Result: Brevo receives both your latest customer attributes and pipelines — powering real-time engagement. ## Before you begin Before proceeding, make sure you have already configured at least one [event source](https://www.krenalis.com/docs/collect-events.md) in Krenalis. Brevo activation requires an existing source, since events must originate from a connected source before they can be routed to this destination. ## Steps If you've already added a destination connection for the same Brevo account, you can reuse it and start with the [Define a pipeline for each event](#4-define-a-pipeline-for-each-event) step. ### 1. Create a Brevo API key 1. Log in to your Brevo account. 2. Click the **gear icon** in the top-right corner. 3. In the left sidebar, click **SMTP & API → API keys & MCP**. 4. Click **Generate a new API key**. 5. Enter a name for the API key (for example, `Krenalis`) and click **Generate**. 6. Copy the API key and click **OK**. ### 2. Connect Krenalis with Brevo 1. Go to the **Destinations** page of your Krenalis workspace. 2. Click on **Add a new destination ⊕** and click on the **Brevo** card. 3. Click on **Add destination...**. 4. Paste the previously copied API key and click **Add**. ### 3. Link an event source Events received from an event source are delivered to Brevo in real time. Click **Link event source…** and select one or more sources to define where events should originate from. [Link event source](https://www.krenalis.com/docs/activate-events/images/link-event-source.png)! If no event sources are available, you can continue with the setup and link a source later. Keep in mind that event delivery cannot be tested until at least one source is connected. ### 4. Define a pipeline for each event Krenalis lets you send different types of events to Brevo by creating a dedicated pipeline for each one. Each pipeline specifies how a particular event is delivered — for example, a "Purchase Completed" event or an "Order Shipped" event. On the connection page, in the **Create event** row, click **Add pipeline...** to define how events should be send to Brevo. To configure more events, click **Add new pipeline ⊕** and select **Create event**. Repeat this process to define all the events you want to send to Brevo. [Add pipeline](https://www.krenalis.com/docs/activate-events/images/add-brevo.png)! ### 4. Set event conditions Based on the event selected in the previous step, set a filter that defines the conditions the incoming event must meet. Filters let you control exactly when an event should be sent to Brevo — for example, only when specific properties or user pipelines occur. [Filter events](https://www.krenalis.com/docs/activate-events/images/filter-events.png)! For example, the filter above can be used to send an “Order Completed” event. In this case, Krenalis sends the event only when both conditions are true: the event type is **track** and the event name is **Order Completed**. This ensures that only relevant events are sent to Brevo, avoiding duplicates and keeping your analytics data clean. ### 5. Set event parameters Next, define how the event data is sent to Brevo by mapping your event fields to the parameters expected by Brevo. Each parameter you configure determines how Krenalis transforms and delivers the event payload. [Event parameters](https://www.krenalis.com/docs/activate-events/images/transform-brevo-event.png)! For example, the mapping above sends an **order_created** event with its key properties to Brevo. The event is associated with the Brevo contact whose email is provided as `userId` in the event. Both string values and event properties are mapped to Brevo event fields. ### 6. Save your changes When everything looks good, click **Add** (or **Save** if you're editing an existing pipeline). The new pipeline will appear in the Brevo connection page. To send additional events to Brevo, repeat the process starting with the [Define a pipeline for each event](#4-define-a-pipeline-for-each-event) step. ## Pipelines Once saved, the new pipeline appears in the pipelines list for Brevo. From here, you can monitor imports and adjust filters. Each pipeline defines how and when events flow from sources to Brevo. With a single Brevo connection, you can create multiple event pipelines, each dedicated to a specific event type you want to send. [Pipeline to export user data](https://www.krenalis.com/docs/activate-events/images/pipelines.klaviyo.png)! | Column | Description | |--------------|---------------------------------------------------------------------------------------| | **Pipeline** | Name and description of the pipeline. | | **Filters** | Conditions used to select which events are sent. If not set, all events are included. | | **Enable** | Switch to activate or deactivate the pipeline. When disabled, no events are sent. | | **Manage** | Edit settings such as filter and transformation. | | **⋮ (More)** | Additional options, such as deleting the pipeline. |