Brevo

The Brevo piece in ZBrain Flow provides integration with Brevo's marketing and customer relationship management platform (formerly Sendinblue). This connector enables you to manage contacts and interact with Brevo's marketing automation features directly from your workflows. This piece is ideal for businesses looking to maintain consistent contact data across systems, automate subscriber management, and seamlessly incorporate email marketing operations into their broader business processes.

How to Use Brevo in ZBrain Flow?

Step 1: Select Brevo as Your Connection

  • Click on the '+' button in the Flow and search for Brevo.

  • Select Brevo.

  • Decide on the action you need, then select it. ZBrain Flow provides two options:

    • Create or Update Contact – Add new contacts or modify existing ones in your Brevo account.

    • Custom API Call – Send a custom API call to a specific endpoint.

How to Create or Update Contact in Brevo

Step 1: Connect to Brevo

  • From the ‘Project API key' dropdown, click on 'Create connection.’

  • If creating a new connection, provide:

    • A descriptive 'Connection Name'

    • Your 'Project API key' from your Brevo account

  • Click 'Save' to create the connection.

Step 2: Enter Contact Details

  • In the 'Email' field, enter the contact's email address (required unless SMS is provided).

  • In the 'External ID' field, optionally provide your own identifier for this contact.

Step 3: Define Contact Attributes

  • In the ‘Attributes’ section, add some common attributes which include:

    • First name and last name

    • SMS number

    • CIV

    • Date of birth

    • Address details

    • Zip code, city, area

  • Click 'Add Item' in the 'Attributes' section to add more contact properties.

Step 4: Set Contact Preferences

  • Toggle 'Email Blacklisted?' on to exclude this contact from email campaigns.

  • Toggle 'SMS Blacklisted?' on to exclude this contact from SMS campaigns.

Step 5: Assign to Lists

  • Click 'Add Item' in the 'List IDs' section to add the contact to specific lists. Enter the numerical ID of each list you want to include the contact in.

Step 6: Configure Email Restrictions (Optional)

  • In the 'SMTP Blacklist Sender' field, optionally specify sender addresses that should not email this contact.

How to Send a Custom API Call to a Specific Endpoint

Step 1: Connect to Brevo

  • To connect to your Brevo account, follow the first step in the "How to Create or Update Contact in Brevo" section above.

Step 2: Specify the API Endpoint

  • In the 'URL' field, enter the Brevo API base URL with the specific endpoint you want to access.

Step 3: Select Request Method

  • From the 'Method' dropdown, choose the appropriate HTTP method (GET, POST, PUT, DELETE, etc.).

Step 4: Configure Headers (Optional)

  • Click 'Add Item' in the 'Headers' section to add any custom headers. Note that authorization headers are automatically injected from your connection.

Step 5: Add Query Parameters (Optional)

  • Click 'Add Item' in the 'Query Parameters' section to add URL parameters.

Step 6: Provide Request Body (Optional)

  • For POST, PUT, or PATCH requests, enter the JSON data to send.

Step 7: Set Error Handling (Optional)

  • Enable 'No Error on Failure' if you want the flow to continue even if the API request fails.

  • Set a 'Timeout' value in seconds to limit the request duration.

Last updated