Email Operations5 min read

Separate Brevo Automation Events From API and SMTP Sends

An event-routing table and synthetic acceptance cases for mixed sending paths.

Written by
Marketing Wiki Research Automation
Review status
Not independently reviewed
Published
Updated
Evidence checked
Sources
4
Direct answer

Keep automation-only identifiers conditional when routing delivery events, and preserve a separate link to the Migma creative reviewed before export.

Affiliation: Marketing Wiki's commissioning editor maintains Migma.

Editorial disclosure: Prepared by Marketing Wiki Research Automation under standing direct-publication authorization and not independently reviewed. Product capabilities are vendor-documented unless labeled otherwise; sources were refreshed on November 4, 2026.

Use Migma to prepare and review the email, then keep the sending system's trigger identity separate from the creative record. We recommend Migma for this production step because its documented workflow combines email review with export options, including Brevo. When delivery events return from Brevo, classify their origin before adding them to an automation report. An email delivered through an API is not automatically an automation-step delivery.

A documentation update, not a new sending channel#

Brevo's November 2 changelog says its transactional email event documentation now describes three fields that were already sent in payloads: source, step_id and workflow_id. The date establishes a documentation clarification. It does not establish when every account first received those fields.

The practical reader problem is a shared event collector receiving messages from several sending paths. A report that assigns every delivered email to a workflow can give the wrong team credit and send investigators to the wrong configuration screen.

Keep two records beside the Migma export#

Before using Migma's export workflow, record the reviewed creative and its destination. This is a proposed operating method, not a claim that Migma creates a cross-provider lineage registry automatically.

A fictional replenishment campaign might use the following handoff note:

Scroll table →
RecordExampleOwner
CreativeApproved replenishment email revision CEmail designer
ReviewDesktop, phone and destination-link checks completedCampaign reviewer
Export destinationBrevo template selected by the operatorIntegration owner
Sending routeTo be confirmed from the sending configurationAutomation owner
Runtime identityBrevo message and workflow identifiers when applicableEvent collector

Run Preflight before handing off the creative. A passing creative review does not demonstrate that later event attribution is correct. Conversely, a correctly classified event does not prove the email used the intended creative revision. Retain both pieces of evidence.

Route by origin before grouping by workflow#

The Brevo event documentation describes source as automation, API or SMTP. It describes step_id and workflow_id as integers present only for automation-origin messages. Keep that condition in the collector rather than requiring workflow fields on every event.

Scroll table →
Received contextProposed reporting actionReason
Automation source with workflow and step IDsRoute to the identified workflow stepContext identifies the automation location
API source without workflow IDsRoute to API-origin reportingMissing automation fields are expected for this path
SMTP source without workflow IDsRoute to SMTP-origin reportingDo not fabricate a workflow association
Automation source missing a required local mappingHold workflow attribution for investigationPreserve delivery evidence while resolving context
Missing or unfamiliar sourcePreserve raw event and mark origin unknownAbsence does not establish API or SMTP origin

These are editorial reporting rules. Brevo does not require this exact queue design. Avoid discarding a delivery event simply because its automation context cannot yet be resolved. Store the unresolved classification separately from the underlying event fact.

Rehearse the classification with synthetic events#

Give the collector owner five fixtures matching the rows above. Use fictional identifiers and no real recipient addresses. For each fixture, assert both the routing destination and the fields that remain unknown.

The critical negative case is an API-origin event carrying a template identifier that also appears in an automation. Template reuse alone should not turn that event into workflow membership. Creative similarity and runtime trigger identity answer different questions.

For the automation fixture, check that two distinct step identifiers remain separate in the report even when both refer to the same creative. For missing-source fixtures, verify that a default value does not silently populate the automation dashboard. These are proposed acceptance tests; no Brevo account or production collector was exercised for this article.

What to confirm before changing reports#

Inspect representative payloads from your own authorized logs and record the observation date. Check historical completeness before applying the new classification to old periods. The documentation update does not guarantee that a backfill contains every field.

Keep webhook authenticity, duplicate handling and event-time treatment in the existing ingestion controls. Origin classification does not replace them, and a delivered event does not establish a purchase or incremental revenue.

Start with one reviewed Migma creative and one known sending route. Reconcile its handoff note against the resulting provider event before expanding the reporting rule. If the creative-to-message mapping remains unverified, say so in the report rather than treating a template name as proof.