Brevo

Add or Update Brevo Contact

Creates a Brevo contact, or updates it if the email already exists, and adds it to a list.

Unverified

What the model is told

Add a customer to a Brevo contact list, or update them if they already exist. Only use this when the customer has asked to be added or has agreed to hear from you, and confirm their email address first. Returns the contact id when a new contact is created.

Request

POSThttps://api.brevo.com/v3/contacts

Headers

  • Content-Typeapplication/json
  • Acceptapplication/json
  • api-keyYOUR_BREVO_API_KEY

Body

{
  "email": "{{email}}",
  "listIds": [
    2
  ],
  "updateEnabled": true
}

Parameters

  • email stringThe customer's email address.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "c82da1c4-c3a6-4882-a982-00c119763ff9",
    "type": "HTTP_REQUEST",
    "label": "Add or Update Brevo Contact",
    "name": "add_or_update_brevo_contact",
    "customName": false,
    "description": "Add a customer to a Brevo contact list, or update them if they already exist. Only use this when the customer has asked to be added or has agreed to hear from you, and confirm their email address first. Returns the contact id when a new contact is created.",
    "parameters": [
      {
        "name": "email",
        "type": "string",
        "description": "The customer's email address."
      }
    ],
    "config": {
      "endpoint": {
        "method": "POST",
        "url": "https://api.brevo.com/v3/contacts"
      },
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        },
        {
          "name": "Accept",
          "value": "application/json"
        },
        {
          "name": "api-key",
          "value": "YOUR_BREVO_API_KEY"
        }
      ],
      "body": "{\n  \"email\": \"{{email}}\",\n  \"listIds\": [\n    2\n  ],\n  \"updateEnabled\": true\n}",
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.