Skip to content

Brevo ​

Creates or updates Brevo contacts, sorts them into lists, adds a note or a task to the CRM.

The Brevo node keeps your marketing contacts up to date from an email: it creates or updates the sender’s contact, adds it to a list (or removes it), and adds a note or a task to Brevo’s built-in CRM. To send a transactional email or a text message, use Brevo — send.

See Brevo to create the connection.

At a glance ​

  • Type: brevo.api · version 1
  • Category: Data
  • Kind: Step — one stage of a run
  • Effect: Writes outside (external_write) — writes outside Loop & Roll; described instead of performed during a test run
  • Needs a carrier email: No
  • Connection: Brevo
  • Inputs: main
  • Outputs: main
The ports of “Brevo”: what comes in on the left, what goes out on the rightInput: main. Outputs: main. An error output appears when its failure setting is “Follow the Error output”. It needs a Brevo connection.Brevobrevo.apimainmainerror · only with “Follow the Error output”Connection: Brevo
The ports of “Brevo”: what comes in on the left, what goes out on the right

Connection ​

This node needs a Brevo connection.

Parameters ​

connection ​

Brevo connection — The Brevo connection to use. Create it once in Connections; its key never appears in the workflow.

  • Type: Connection (credential)
  • Required: Yes
  • Default: "" (empty)

action ​

Action

  • Type: One choice (options)
  • Required: Yes
  • Default: contact.upsert
  • Options:
    • contact.upsert — Create or update a contact: One call: Brevo updates the contact that already has this address.
    • contact.get — Get a contact
    • list.add — Add to a list
    • list.remove — Remove from a list
    • note.create — Add a note (CRM)
    • task.create — Create a task (CRM)

email ​

Contact email address

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 320 characters at most
  • Example: {{ email.from.email }}
  • Shown when: action is one of contact.upsert, contact.get, list.add, list.remove
  • Expressions: {{ }} accepted

attributes ​

Attributes — The Brevo attribute name, in capitals as in the account (FIRSTNAME, LASTNAME, SMS…), and its value.

  • Type: Key / value pairs (keyValue)
  • Required: No
  • Shown when: action is contact.upsert
  • Expressions: {{ }} accepted

list ​

List — On “Create or update”, optional: the contact is added to it at the same time.

  • Type: Remote resource (resourceLocator)
  • Required: No
  • Ways to choose: pick from a list, type an ID (brevo.list)
  • Listed with the connection in: connection
  • Shown when: action is one of contact.upsert, list.add, list.remove

contactId ​

Contact ID — The numeric Brevo contact ID (contactId from “Get a contact”).

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 20 characters at most
  • Shown when: action is one of note.create, task.create
  • Expressions: {{ }} accepted

text ​

Text — The note text, or the task details.

  • Type: Long text (text)
  • Required: No
  • Default: "" (empty)
  • 50000 characters at most
  • Shown when: action is one of note.create, task.create
  • Expressions: {{ }} accepted

taskName ​

Task name

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 500 characters at most
  • Shown when: action is task.create
  • Expressions: {{ }} accepted

taskType ​

Task type

  • Type: Remote resource (resourceLocator)
  • Required: Yes
  • Ways to choose: pick from a list, type an ID (brevo.taskType)
  • Listed with the connection in: connection
  • Shown when: action is task.create

dueDate ​

Due date — An ISO 8601 instant. Empty = now.

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 40 characters at most
  • Shown when: action is task.create
  • Expressions: {{ }} accepted

Outputs ​

  • main — Taken once the Brevo call succeeds. An error response from Brevo fails the step instead.

Data produced ​

What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).

  • {{ data.<step>.contactId }} — string. Create or update a contact, Get a contact: the numeric Brevo ID. Empty when Brevo does not return it (update) or the contact is missing.
  • {{ data.<step>.created }} — boolean. Create or update a contact: true when Brevo returned the ID of a created contact.
  • {{ data.<step>.found }} — boolean. Get a contact: true when the contact exists.
  • {{ data.<step>.attributes }} — object. Get a contact: its attributes, by name ({{ data.<step>.attributes.FIRSTNAME }}).
  • {{ data.<step>.listIds }} — array of number. Get a contact: the lists it belongs to.
  • {{ data.<step>.failed }} — boolean. Add to a list, Remove from a list: true when Brevo refused the address (it still answers 201).
  • {{ data.<step>.noteId }} — string. Add a note: the note ID.
  • {{ data.<step>.taskId }} — string. Create a task: the task ID.
  • {{ data.<step>.simulated }} — boolean. true when the write was described instead of done (test run).
  • {{ data.<step>.summary }} — string. The one-line summary in the member’s language.

Operations ​

  • Create or update a contact (contact.upsert, the default): a single POST /contacts call with updateEnabled; Attributes takes the account’s attribute names, in capitals (FIRSTNAME, LASTNAME on an English account); List, optional, adds the contact to it.
  • Get a contact (contact.get) by address.
  • Add to a list (list.add) and Remove from a list (list.remove).
  • Add a note (CRM) (note.create) and Create a task (CRM) (task.create, with Task type and Due date) on the Contact ID that Get a contact returns.

Tips ​

  • Test runs. Reads run for real; writes are described.
  • Rate. Contacts are limited to 10 requests per second; CRM notes and tasks to 100 requests per hour on the general plan. A 429 is retried honouring Retry-After.
  • Errors. integration.rejected: attribute unknown to the account, missing list. integration.unauthorized: revoked key. See Error handling.

Loop & Roll — the workflow builder for email.