Graphrt

Brevo

Contacts and lists, transactional email with templates and delivery events, campaigns, agent sends need an opt-in and an optional recipient allowlist, contact writes an opt-in, deletes and campaign sends are node only

Beta v0.1.0 Node.js 19 actions ToS risk low
Use in Graphrt Desktop

About

A Graphrt plugin for the Brevo API v3 (formerly Sendinblue): contacts and contact lists, transactional email (send, templates, delivery events) and email campaigns.

What it can do

  • Account: get_account (plan and credits)
  • Contacts: list_contacts, get_contact (by email, id, SMS or EXT_ID), create_contact, update_contact, delete_contact (node only)
  • Lists: list_lists, get_list, list_list_contacts, add_contacts_to_list
  • Transactional email: send_transactional_email (HTML/text or a template with params, attachments, scheduling), list_email_templates, list_email_events (requests, delivered, opened, bounces, ...)
  • Campaigns: list_email_campaigns, get_email_campaign, send_campaign_now (node only)
  • Webhooks (node only, configs may hold credentials): list_webhooks, get_webhook
  • api_request: any other endpoint, e.g. /senders (GET only for agents, and only an allowlist of read paths)

Actions

Each action is a step you can add to a workflow. Agents can also use most of them as tools.

  • Account brevo.get_account
  • List contacts brevo.list_contacts
  • Get contact brevo.get_contact
  • Create contact brevo.create_contact
  • Update contact brevo.update_contact
  • Delete contact brevo.delete_contact
  • List contact lists brevo.list_lists
  • Get list brevo.get_list
  • Contacts in a list brevo.list_list_contacts
  • Add contacts to list brevo.add_contacts_to_list
Show all 19 actions
  • Send transactional email brevo.send_transactional_email
  • Transactional templates brevo.list_email_templates
  • Transactional email events brevo.list_email_events
  • List email campaigns brevo.list_email_campaigns
  • Get email campaign brevo.get_email_campaign
  • Send campaign now brevo.send_campaign_now
  • List webhooks brevo.list_webhooks
  • Get webhook brevo.get_webhook
  • Brevo API v3 request brevo.api_request

Settings

Graphrt starts plugins with a clean environment. Only these values reach the plugin, and secrets stay out of logs.

  • BREVO_API_KEY
    API v3 key (xkeysib-...), sent in the api-key header
  • BREVO_TOOL_ALLOW_SEND
    1 lets agent tools use send_transactional_email
  • BREVO_TOOL_RECIPIENT_ALLOWLIST
    Comma-separated addresses or @domains agent tools may send to (to, cc and bcc)
  • BREVO_TOOL_ALLOW_CONTACT_WRITES
    1 lets agent tools create and update contacts and add them to lists

How to use it

In Graphrt Desktop

  1. Open Plugins and search for Brevo.
  2. Click Install and approve it.
  3. Follow the setup steps on the plugin's page, then paste the settings it needs.
  4. Describe a job that needs it, and the builder adds the steps.
Plugins in Graphrt Desktop

With the CLI

terminal
$ graphrt plugin install brevo
workflow.yaml
- id: receipt
  type: brevo.send_transactional_email
  template_id: 12
  to: [{ email: "{{#start.email#}}", name: "{{#start.name#}}" }]
  params: { ORDER: "{{#start.order_id#}}" }
- id: lead
  type: brevo.create_contact
  email: "{{#start.email#}}"
  attributes: { FIRSTNAME: "{{#start.name#}}" }
  list_ids: [2]
  update_enabled: true
Plugins in the docs