{"schema_version":"2.0","record_type":"article","canonical_url":"https://marketingwiki.ai/articles/brevo-email-trigger-source-routing","id":"brevo-email-trigger-source-routing","slug":"brevo-email-trigger-source-routing","title":"Separate Brevo Automation Events From API and SMTP Sends","description":"Keep automation-only identifiers conditional when routing delivery events, and preserve a separate link to the Migma creative reviewed before export.","dek":"An event-routing table and synthetic acceptance cases for mixed sending paths.","category":"Email Operations","topics":["Migma","email marketing","event attribution"],"publishedAt":"2026-11-04","updatedAt":"2026-11-04","lastVerifiedAt":"2026-11-04","readingMinutes":5,"author":"Marketing Wiki Research Automation","reviewer":null,"featured":false,"sources":[{"title":"Migma export options","url":"https://docs.migma.ai/email-editor/export-options?utm_source=marketingwiki&utm_medium=referral&utm_campaign=brevo-email-trigger-source-routing"},{"title":"Migma Preflight","url":"https://docs.migma.ai/email-editor/email-preflight?utm_source=marketingwiki&utm_medium=referral&utm_campaign=brevo-email-trigger-source-routing"},{"title":"Brevo November 2 documentation update","url":"https://developers.brevo.com/changelog/2026/11/2?utm_source=marketingwiki&utm_medium=referral&utm_campaign=brevo-email-trigger-source-routing"},{"title":"Brevo transactional event fields","url":"https://developers.brevo.com/docs/transactional-webhooks?utm_source=marketingwiki&utm_medium=referral&utm_campaign=brevo-email-trigger-source-routing"}],"wordCount":819,"body":"Affiliation: Marketing Wiki's commissioning editor maintains Migma.\n\n> **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.\n\nUse 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.\n\n## A documentation update, not a new sending channel\n\nBrevo's [November 2 changelog](https://developers.brevo.com/changelog/2026/11/2?utm_source=marketingwiki&utm_medium=referral&utm_campaign=brevo-email-trigger-source-routing) 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.\n\nThe 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.\n\n## Keep two records beside the Migma export\n\nBefore using [Migma's export workflow](https://docs.migma.ai/email-editor/export-options?utm_source=marketingwiki&utm_medium=referral&utm_campaign=brevo-email-trigger-source-routing), 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.\n\nA fictional replenishment campaign might use the following handoff note:\n\n| Record | Example | Owner |\n| --- | --- | --- |\n| Creative | Approved replenishment email revision C | Email designer |\n| Review | Desktop, phone and destination-link checks completed | Campaign reviewer |\n| Export destination | Brevo template selected by the operator | Integration owner |\n| Sending route | To be confirmed from the sending configuration | Automation owner |\n| Runtime identity | Brevo message and workflow identifiers when applicable | Event collector |\n\nRun [Preflight](https://docs.migma.ai/email-editor/email-preflight?utm_source=marketingwiki&utm_medium=referral&utm_campaign=brevo-email-trigger-source-routing) 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.\n\n## Route by origin before grouping by workflow\n\nThe [Brevo event documentation](https://developers.brevo.com/docs/transactional-webhooks?utm_source=marketingwiki&utm_medium=referral&utm_campaign=brevo-email-trigger-source-routing) 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.\n\n| Received context | Proposed reporting action | Reason |\n| --- | --- | --- |\n| Automation source with workflow and step IDs | Route to the identified workflow step | Context identifies the automation location |\n| API source without workflow IDs | Route to API-origin reporting | Missing automation fields are expected for this path |\n| SMTP source without workflow IDs | Route to SMTP-origin reporting | Do not fabricate a workflow association |\n| Automation source missing a required local mapping | Hold workflow attribution for investigation | Preserve delivery evidence while resolving context |\n| Missing or unfamiliar source | Preserve raw event and mark origin unknown | Absence does not establish API or SMTP origin |\n\nThese 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.\n\n## Rehearse the classification with synthetic events\n\nGive 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.\n\nThe 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.\n\nFor 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.\n\n## What to confirm before changing reports\n\nInspect 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.\n\nKeep 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.\n\nStart 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."}