Send outbound webhooks from an automation

Sending outbound webhooks from an automation allows you to send a real-time notification with event data from Brevo to an external app when a contact reaches the Call a webhook step.

This article explains how to send outbound webhooks from an automation. You can also create outbound webhooks by configuring them directly in your Brevo account or from the API.

Before you start

From your external app, make sure to retrieve the URL of the server or endpoint you want to send the outbound webhook to. If you're unsure where to retrieve it, check your external app's help center or contact their support team.

Send outbound webhooks from an automation

To send outbound webhooks from an automation, you need to add the Call a webhook step and configure it with your webhook URL and authentication details.

Use the following tabs to view instructions for the new or classic automation editor:

New editor Classic editor
  1. In an automation created using the new editor, add a Call a webhook step.
  2. Enter the URL of the server or endpoint you want to send your events to. This tells Brevo where to send the outbound webhook when an event happens.
    webhook_aut_new_url_en-us.png
  3. Select an Authentication method from the dropdown:
    webhook_aut_new_auth-method_en-us.png
    • No authentication: The webhook will be sent without authentication credentials.
    • Basic: Enter your username and password. Brevo will encode these credentials and send them with each webhook request.
    • Token: Enter your authentication token. Brevo will send this token with each webhook request.
  4. (Optional) Click Add object to add custom headers to your webhook request. Enter the header name and value. You can add multiple headers if needed.
    webhook_aut_new_custom-header_en-us.png

    💡 Good to know
    Custom headers are useful for authentication or passing additional metadata to your external app.
  5. (Optional) Under the Additional settings section, configure what data is included in the webhook:
    webhook_aut_new_additional-settings_en-us.png
    • Include details of the contact who triggered the event: When activated, Brevo includes all contact attributes for the contact in the webhook. By default, only the contact ID, email, step ID, and workflow ID are included.
    • Include details of the trigger event: When activated, Brevo includes the event data from the payload in the webhook.
  6. Click Save to save the step.
  7. Finish setting up your automation and activate it.

Secure your outbound webhooks

To secure your outbound webhooks, whitelist some of Brevo's IP ranges. This ensures that only authorized requests can trigger webhooks.

➡️ To learn more, check our dedicated article Brevo IP ranges: List of publicly exposed services.

⏭️ What's next?

🤔 Have a question?

If you have a question, feel free to contact our support team by creating a ticket from your account. If you don't have an account yet, you can contact us here.

If you’re looking for help with a project using Brevo, we can match you with the right certified Brevo Agency partner.

💬 Was this article helpful?

0 out of 7 found this helpful