Brevo Webhooks Now Say Whether an Automation or the API Sent the Email
Brevo documented source, step_id and workflow_id on all 15 transactional webhook events and added api_key_name to two contact events.

All 15 of Brevo’s transactional email webhook events carry a source field that says whether a message came from an automation, the API or SMTP, Brevo said in its Nov. 2 developer changelog. The company said the three fields were already in the payload and are now documented.
Three fields identify the sender
Brevo said source is a string with three possible values: automation, API or SMTP. When the value is automation, the payload also carries step_id, the integer ID of the automation step that sent the email, and workflow_id, the integer ID of the workflow. Brevo said both IDs appear only for automation sends.
Contact webhooks name the API key
Brevo’s Nov. 1 changelog entry added api_key_name to the Contact updated and Contact added to list marketing webhook events. The field holds the name of the API key that made the change, or an empty string when the change did not come through the API. Brevo said to use it to recognize and ignore webhooks triggered by the integration’s own writes.
Orders paging gets a tiebreaker
The same Nov. 2 changelog gave GET /orders an optional secondarySortByModifiedAt boolean, false by default. When true, orders with the same createdAt are then sorted by updatedAt, in the same direction as sort, which Brevo said keeps the order stable when paging with limit and offset.
The take
We think the contact field is the more useful of the two. A sync that writes to Brevo and also listens to Brevo will hear its own changes come back as events. Without a way to tell them apart, the listener can write again and loop. Give each integration its own API key and skip events that carry that key’s name. That breaks the loop.
The source field answers a different question: which system sent this message. If you mix automations with API sends, you can route bounces and complaints to the right owner. A bounce from an automation step goes to the person who built the workflow, and a bounce from an API send goes to the engineers.
Brevo said the transactional fields were already in the payload, so there is no rollout to wait for. We’d log a few real payloads first, then add the routing.

