brevo
Brevo email and SMS marketing platform. Use when user mentions "Brevo", "Sendinblue", "email campaigns", "SMS marketing", "contact lists", or asks about multi-channel marketing.
What this skill does
## Troubleshooting
If requests fail, run `zero doctor check-connector --env-name BREVO_TOKEN` or `zero doctor check-connector --url https://api.brevo.com/v3/account --method GET`
## Core APIs
### Get Account Info
Verify your API key and view account details:
```bash
curl -s "https://api.brevo.com/v3/account" --header "api-key: $BREVO_TOKEN" --header "accept: application/json" | jq '{companyName, email, plan: .plan[0].type}'
```
### Create Contact
Write to `/tmp/brevo_request.json`:
```json
{
"email": "[email protected]",
"attributes": {
"FIRSTNAME": "Jane",
"LASTNAME": "Doe"
},
"listIds": [1],
"updateEnabled": true
}
```
```bash
curl -s -X POST "https://api.brevo.com/v3/contacts" --header "api-key: $BREVO_TOKEN" --header "Content-Type: application/json" --header "accept: application/json" -d @/tmp/brevo_request.json | jq '{id}'
```
Docs: https://developers.brevo.com/reference/create-contact
### Get Contact
Replace `<email-or-id>` with the contact's email address or numeric ID:
```bash
curl -s "https://api.brevo.com/v3/contacts/<email-or-id>" --header "api-key: $BREVO_TOKEN" --header "accept: application/json" | jq '{id, email, attributes}'
```
### Update Contact
Replace `<email-or-id>` with the contact's email or ID.
Write to `/tmp/brevo_request.json`:
```json
{
"attributes": {
"PLAN": "pro",
"SMS": "+13125551234"
},
"listIds": [2]
}
```
```bash
curl -s -X PUT "https://api.brevo.com/v3/contacts/<email-or-id>" --header "api-key: $BREVO_TOKEN" --header "Content-Type: application/json" -d @/tmp/brevo_request.json -w "\nHTTP Status: %{http_code}\n"
```
### Delete Contact
Replace `<email-or-id>` with the contact's email or ID:
```bash
curl -s -X DELETE "https://api.brevo.com/v3/contacts/<email-or-id>" --header "api-key: $BREVO_TOKEN" -w "\nHTTP Status: %{http_code}\n"
```
### List Contacts
```bash
curl -s "https://api.brevo.com/v3/contacts?limit=20&offset=0" --header "api-key: $BREVO_TOKEN" --header "accept: application/json" | jq '{count, contacts: [.contacts[] | {id, email}]}'
```
### Send Transactional Email
Write to `/tmp/brevo_request.json`:
```json
{
"sender": { "name": "Acme App", "email": "[email protected]" },
"to": [{ "email": "[email protected]", "name": "Jane Doe" }],
"subject": "Your password reset link",
"htmlContent": "<html><body><p>Click <a href='{{params.resetLink}}'>here</a> to reset your password.</p></body></html>",
"params": {
"resetLink": "https://app.acme.com/reset?token=abc123"
}
}
```
```bash
curl -s -X POST "https://api.brevo.com/v3/smtp/email" --header "api-key: $BREVO_TOKEN" --header "Content-Type: application/json" --header "accept: application/json" -d @/tmp/brevo_request.json | jq '{messageId}'
```
Docs: https://developers.brevo.com/reference/send-transac-email
### Send Transactional Email via Template
Replace `<template-id>` with the ID from your Brevo dashboard.
Write to `/tmp/brevo_request.json`:
```json
{
"sender": { "name": "Acme App", "email": "[email protected]" },
"to": [{ "email": "[email protected]", "name": "Jane Doe" }],
"templateId": "<template-id>",
"params": {
"firstName": "Jane",
"planName": "Pro"
}
}
```
```bash
curl -s -X POST "https://api.brevo.com/v3/smtp/email" --header "api-key: $BREVO_TOKEN" --header "Content-Type: application/json" --header "accept: application/json" -d @/tmp/brevo_request.json | jq '{messageId}'
```
### List Contact Lists
```bash
curl -s "https://api.brevo.com/v3/contacts/lists?limit=20" --header "api-key: $BREVO_TOKEN" --header "accept: application/json" | jq '[.lists[] | {id, name, totalBlacklisted, totalSubscribers}]'
```
### Import Contacts (Bulk)
Import multiple contacts at once. Write to `/tmp/brevo_request.json`:
```json
{
"updateEnabled": true,
"jsonBody": [
{
"email": "[email protected]",
"attributes": { "FIRSTNAME": "Alice", "PLAN": "free" }
},
{
"email": "[email protected]",
"attributes": { "FIRSTNAME": "Bob", "PLAN": "pro" }
}
],
"listIds": [1]
}
```
```bash
curl -s -X POST "https://api.brevo.com/v3/contacts/import" --header "api-key: $BREVO_TOKEN" --header "Content-Type: application/json" --header "accept: application/json" -d @/tmp/brevo_request.json | jq '{createdLists, processId}'
```
## Guidelines
1. **Auth header**: Use `api-key: YOUR_KEY` — not `Authorization: Bearer`. This is different from most other APIs.
2. **Attribute names**: Contact attributes must be in UPPERCASE (e.g., `FIRSTNAME`, `LASTNAME`, `PLAN`). Create custom attributes in Brevo dashboard under **Contacts > Settings > Contact attributes** first.
3. **List IDs**: Get list IDs from the List Contacts endpoint or from the Brevo dashboard URL.
4. **updateEnabled**: Set to `true` when creating contacts to upsert (update if exists, create if not).
5. **Template IDs**: Find template IDs in Brevo under **Templates** in the URL path.
6. **Pricing model**: Brevo charges per email sent (not per contact), making it cost-effective for large contact lists with moderate send frequency.
Related in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit — setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard — shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.