# Brevo + Firebase / Firestore Integrations: Connect with Zapier MCP
> zapier.com/apps/brevo/integrations/firebase
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Brevo and Firebase / Firestore in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · firebaseRecordCreate`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "firebase", owner: "me" });

const { data } = await zapier.runAction({
  app: "firebase",
  actionType: "write",
  action: "firebaseRecordCreate",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action firebase write firebaseRecordCreate \
  --inputs '{}'
```

## Brevo

### Identity
Brevo is the leading CRM suite designed to cultivate long-term customer relationships and help businesses grow.

- App slug: brevo
- Operations published here: 32 (17 events, 15 functions)

### Authentication
Zapier connects to Brevo via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection brevo
```

### Capabilities

#### Events (17)

Events fire when something happens in Brevo. Use them to start a run.

##### New Campaign Status
Triggers when the status of a Brevo campaign is updated.

- Type: read · Key: `changedCampaignStatus`
- Requires: campaignStatus
- SDK: `runAction({ app: "brevo", actionType: "read", action: "changedCampaignStatus" })`
- CLI: `npx zapier-sdk run-action brevo read changedCampaignStatus`

##### Link Clicked
Triggers when a Brevo contact clicks on any link in a Brevo email campaign.

- Type: read · Key: `clickedCampaignTrigger`
- Requires: nothing
- Optional: webhookdesc, getContactData
- SDK: `runAction({ app: "brevo", actionType: "read", action: "clickedCampaignTrigger" })`
- CLI: `npx zapier-sdk run-action brevo read clickedCampaignTrigger`

##### Company Added
Triggers when a company is created in Brevo.

- Type: read · Key: `companyAdded`
- Requires: nothing
- SDK: `runAction({ app: "brevo", actionType: "read", action: "companyAdded" })`
- CLI: `npx zapier-sdk run-action brevo read companyAdded`

##### Company Updated
Triggers when a company is updated in Brevo.

- Type: read · Key: `companyUpdatedPoll`
- Requires: nothing
- SDK: `runAction({ app: "brevo", actionType: "read", action: "companyUpdatedPoll" })`
- CLI: `npx zapier-sdk run-action brevo read companyUpdatedPoll`

##### Contact Added
Triggers when a Brevo contact is added.

- Type: read · Key: `ContactAdded`
- Requires: nothing
- SDK: `runAction({ app: "brevo", actionType: "read", action: "ContactAdded" })`
- CLI: `npx zapier-sdk run-action brevo read ContactAdded`

##### Contact Subscribed to Specific List(s)
Triggers when a Brevo contact is subscribed to specific list(s).

- Type: read · Key: `contactSubscribedToListTrigger`
- Requires: listId
- Optional: webhookdesc, getContactData
- SDK: `runAction({ app: "brevo", actionType: "read", action: "contactSubscribedToListTrigger" })`
- CLI: `npx zapier-sdk run-action brevo read contactSubscribedToListTrigger`

##### Contact Unsubscribed
Triggers when a contact unsubscribes from an email campaign in Brevo.

- Type: read · Key: `contactUnsubscribedTrigger`
- Requires: nothing
- Optional: webhookdesc, getContactData
- SDK: `runAction({ app: "brevo", actionType: "read", action: "contactUnsubscribedTrigger" })`
- CLI: `npx zapier-sdk run-action brevo read contactUnsubscribedTrigger`

##### Contact Updated
Triggers when a Brevo contact is updated (either list(s) they belong to or contact data).

- Type: read · Key: `ContactUpdated`
- Requires: nothing
- Optional: webhookdesc
- SDK: `runAction({ app: "brevo", actionType: "read", action: "ContactUpdated" })`
- CLI: `npx zapier-sdk run-action brevo read ContactUpdated`

##### Deal Added
Triggers when a deal is created in Brevo.

- Type: read · Key: `dealAdded`
- Requires: nothing
- SDK: `runAction({ app: "brevo", actionType: "read", action: "dealAdded" })`
- CLI: `npx zapier-sdk run-action brevo read dealAdded`

##### Deal Stage Updated
Triggers when a deal's stage is updated in Brevo.

- Type: read · Key: `dealStageUpdatedPoll`
- Requires: nothing
- SDK: `runAction({ app: "brevo", actionType: "read", action: "dealStageUpdatedPoll" })`
- CLI: `npx zapier-sdk run-action brevo read dealStageUpdatedPoll`

##### Deal Updated
Triggers when a deal is updated in Brevo.

- Type: read · Key: `dealUpdatedPoll`
- Requires: nothing
- SDK: `runAction({ app: "brevo", actionType: "read", action: "dealUpdatedPoll" })`
- CLI: `npx zapier-sdk run-action brevo read dealUpdatedPoll`

##### Marketing Email Delivered
Triggers when a Brevo campaign marketing email is delivered.

- Type: read · Key: `emailDelivered`
- Requires: nothing
- Optional: webhookdesc, getContactData
- SDK: `runAction({ app: "brevo", actionType: "read", action: "emailDelivered" })`
- CLI: `npx zapier-sdk run-action brevo read emailDelivered`

##### Marketing Email Hard Bounced
Triggers when a Brevo campaign marketing email is hard bounced.

- Type: read · Key: `emailMkBouncedHard`
- Requires: nothing
- Optional: webhookdesc, getContactData
- SDK: `runAction({ app: "brevo", actionType: "read", action: "emailMkBouncedHard" })`
- CLI: `npx zapier-sdk run-action brevo read emailMkBouncedHard`

##### Marketing Email Opened
Triggers when a Brevo campaign marketing email is opened.

- Type: read · Key: `emailOpened`
- Requires: nothing
- Optional: webhookdesc, getContactData
- SDK: `runAction({ app: "brevo", actionType: "read", action: "emailOpened" })`
- CLI: `npx zapier-sdk run-action brevo read emailOpened`

##### Transactional Email Hard Bounced
Triggers when a Brevo transactional email is hard bounced.

- Type: read · Key: `emailTsBouncedHard`
- Requires: nothing
- Optional: webhookdesc, getContactData
- SDK: `runAction({ app: "brevo", actionType: "read", action: "emailTsBouncedHard" })`
- CLI: `npx zapier-sdk run-action brevo read emailTsBouncedHard`

##### Transactional Email Delivered
Triggers when a Brevo transactional email is delivered.

- Type: read · Key: `emailTsDelivered`
- Requires: nothing
- Optional: webhookdesc, getContactData
- SDK: `runAction({ app: "brevo", actionType: "read", action: "emailTsDelivered" })`
- CLI: `npx zapier-sdk run-action brevo read emailTsDelivered`

##### Transactional Email Opened
Triggers when a Brevo transactional email is opened.

- Type: read · Key: `emailTsOpened`
- Requires: nothing
- Optional: webhookdesc, getContactData
- SDK: `runAction({ app: "brevo", actionType: "read", action: "emailTsOpened" })`
- CLI: `npx zapier-sdk run-action brevo read emailTsOpened`

#### Functions (15)

Functions change something in Brevo.

##### (Deprecated) Add or Update Contact
This action is deprecated, use "Contact Create or Update" instead. Adds or updates a contact.

- Type: write · Key: `addorupdateContact`
- Requires: updateOnExisting
- Optional: email, sms, emailBlacklisted, smsBlacklisted, listIds, updateType, attributes, attribcategoryIsID
- SDK: `runAction({ app: "brevo", actionType: "write", action: "addorupdateContact" })`
- CLI: `npx zapier-sdk run-action brevo write addorupdateContact`

##### Add or Update Company
Create a new company or update an existing one in Brevo.

- Type: write · Key: `CompanyAddOrUpdate`
- Requires: updateOnExisting, objectname
- Optional: attribcategoryIsID
- SDK: `runAction({ app: "brevo", actionType: "write", action: "CompanyAddOrUpdate" })`
- CLI: `npx zapier-sdk run-action brevo write CompanyAddOrUpdate`

##### Delete Company
Deletes the selected company in Brevo using either its name or ID. If a company name is provided and multiple companies share the same name, the most recently created one will be deleted.

- Type: write · Key: `CompanyDelete`
- Requires: name_or_id
- SDK: `runAction({ app: "brevo", actionType: "write", action: "CompanyDelete" })`
- CLI: `npx zapier-sdk run-action brevo write CompanyDelete`

##### Find Company
Retrieve the details of a company in Brevo using either its name or ID as input. If a company name is provided and multiple companies share the same name, the most recently created one will be retrieved.

- Type: write · Key: `CompanyFind`
- Requires: name_or_id
- SDK: `runAction({ app: "brevo", actionType: "write", action: "CompanyFind" })`
- CLI: `npx zapier-sdk run-action brevo write CompanyFind`

##### Contact Create or Update
Creates or updates a contact

- Type: write · Key: `contactAddorupdate`
- Requires: updateOnExisting, ident_type
- Optional: email_id, phone_id, whatsapp_id, ext_id, contact_id, emailBlacklisted, smsBlacklisted, listIds, listsUpdateType, attribcategoryIsID
- SDK: `runAction({ app: "brevo", actionType: "write", action: "contactAddorupdate" })`
- CLI: `npx zapier-sdk run-action brevo write contactAddorupdate`

##### Search Contact
Check if a contact exists in Brevo and fetch the contact details. Contact can be found by email, mobile phone number, Brevo contact ID, external ID, Whatsapp ID and landline number.

- Type: write · Key: `contactFind`
- Requires: ident_type
- Optional: ident
- SDK: `runAction({ app: "brevo", actionType: "write", action: "contactFind" })`
- CLI: `npx zapier-sdk run-action brevo write contactFind`

##### Add or Update Deal
Create a new deal or update an existing one in Brevo.

- Type: write · Key: `dealAddOrUpdate`
- Requires: updateOnExisting, objectname, pipeline, deal_stage
- Optional: attribcategoryIsID
- SDK: `runAction({ app: "brevo", actionType: "write", action: "dealAddOrUpdate" })`
- CLI: `npx zapier-sdk run-action brevo write dealAddOrUpdate`

##### Delete Deal
Deletes the selected deal in Brevo using either its name or ID. If a deal name is provided and multiple deals share the same name, the most recently created one will be deleted.

- Type: write · Key: `DealDelete`
- Requires: name_or_id
- SDK: `runAction({ app: "brevo", actionType: "write", action: "DealDelete" })`
- CLI: `npx zapier-sdk run-action brevo write DealDelete`

##### Find Deal
Retrieve the details of a deal in Brevo using either its name or ID as input. If a deal name is provided and multiple deals share the same name, the most recently created one will be retrieved.

- Type: write · Key: `DealFind`
- Requires: name_or_id
- SDK: `runAction({ app: "brevo", actionType: "write", action: "DealFind" })`
- CLI: `npx zapier-sdk run-action brevo write DealFind`

##### Event Create
Create event for selected contact.

- Type: write · Key: `eventCreate`
- Requires: event_name, ident_type, ident
- Optional: event_properties
- SDK: `runAction({ app: "brevo", actionType: "write", action: "eventCreate" })`
- CLI: `npx zapier-sdk run-action brevo write eventCreate`

##### Add or Update Associations
Adds or updates associations to companies, deals or contacts in Brevo.

- Type: write · Key: `objectlinksAddOrUpdate`
- Requires: objecttype
- SDK: `runAction({ app: "brevo", actionType: "write", action: "objectlinksAddOrUpdate" })`
- CLI: `npx zapier-sdk run-action brevo write objectlinksAddOrUpdate`

##### Remove Associations
Removes associations between companies, deals, or contacts in Brevo.

- Type: write · Key: `objectlinksDelete`
- Requires: objecttype
- SDK: `runAction({ app: "brevo", actionType: "write", action: "objectlinksDelete" })`
- CLI: `npx zapier-sdk run-action brevo write objectlinksDelete`

##### Send Transactional Email
Sends an email from your Brevo account with HTML or plain text content.

- Type: write · Key: `sendTransactionalEmail`
- Requires: toForm, sender_email, replyTo_email, subject
- Optional: ccForm, bccForm, sender_name, replyTo_name, htmlContent, textContent, attachmentUrl, attFile, tags
- SDK: `runAction({ app: "brevo", actionType: "write", action: "sendTransactionalEmail" })`
- CLI: `npx zapier-sdk run-action brevo write sendTransactionalEmail`

##### Send Transactional SMS
Sends an transactional SMS from your Brevo account.

- Type: write · Key: `sendTransactionalSms`
- Requires: sender_name, recipientTest, recipient, textContent
- Optional: sms_tags, unicodeEnabled, organisationPrefix
- SDK: `runAction({ app: "brevo", actionType: "write", action: "sendTransactionalSms" })`
- CLI: `npx zapier-sdk run-action brevo write sendTransactionalSms`

##### Unsubscribe Contact
Unsubscribe contact from the list(s) he belong to.

- Type: write · Key: `unsubscribeContactListsCreate`
- Requires: email, listIds
- SDK: `runAction({ app: "brevo", actionType: "write", action: "unsubscribeContactListsCreate" })`
- CLI: `npx zapier-sdk run-action brevo write unsubscribeContactListsCreate`

## Firebase / Firestore

### Identity
Firebase Realtime Database and Google Cloud Firestore are flexible databases that give you the ability to easily store and sync app data at global scale.

- App slug: firebase
- Operations published here: 6 (2 events, 2 functions, 2 queries)

### Authentication
Zapier connects to Firebase / Firestore via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection firebase
```

### Capabilities

#### Events (2)

Events fire when something happens in Firebase / Firestore. Use them to start a run.

##### New Child Object in a Firebase Realtime Database
Triggers when a new child object is discovered within a specific path.

- Type: read · Key: `firebaseQuery`
- Requires: path
- Optional: orderBy, direction
- SDK: `runAction({ app: "firebase", actionType: "read", action: "firebaseQuery" })`
- CLI: `npx zapier-sdk run-action firebase read firebaseQuery`

##### New Document Within a Firestore Collection
Triggers when a  Structured Query 
      returns new documents within a Cloud Firestore collection.

- Type: read · Key: `firestoreQuery`
- Requires: collection
- SDK: `runAction({ app: "firebase", actionType: "read", action: "firestoreQuery" })`
- CLI: `npx zapier-sdk run-action firebase read firestoreQuery`

#### Functions (2)

Functions change something in Firebase / Firestore.

##### Create or Replace Firebase Realtime Database Record
Creates or replaces a child object within your Firebase Realtime Database.

- Type: write · Key: `firebaseRecordCreate`
- Requires: path
- Optional: convertNumbers, newId, data
- SDK: `runAction({ app: "firebase", actionType: "write", action: "firebaseRecordCreate" })`
- CLI: `npx zapier-sdk run-action firebase write firebaseRecordCreate`

##### Create Cloud Firestore Document
Creates a new document within a Cloud Firestore collection.

- Type: write · Key: `firestoreRecordCreate`
- Requires: collection
- Optional: convertNumbers, newId, data
- SDK: `runAction({ app: "firebase", actionType: "write", action: "firestoreRecordCreate" })`
- CLI: `npx zapier-sdk run-action firebase write firestoreRecordCreate`

#### Queries (2)

Queries read from Firebase / Firestore and return data. They change nothing.

##### Find Firebase Realtime Database Record
Finds a child object using a custom query that you provide.

- Type: search · Key: `firebaseQuery`
- Requires: path, orderBy, equalTo
- Optional: wrapInQuotes, direction
- SDK: `runAction({ app: "firebase", actionType: "search", action: "firebaseQuery" })`
- CLI: `npx zapier-sdk run-action firebase search firebaseQuery`

##### Find Cloud Firestore Document
Finds a document using a  Structured Query 
      within a collection.

- Type: search · Key: `firestoreQuery`
- Requires: collection, query
- SDK: `runAction({ app: "firebase", actionType: "search", action: "firestoreQuery" })`
- CLI: `npx zapier-sdk run-action firebase search firestoreQuery`

## Frequently asked questions about automating with Brevo and Firebase / Firestore

### How can I trigger Brevo email campaigns from Firestore changes?

You can trigger Brevo email campaigns by setting up a listener on your Firestore database for specific document changes. When a change is detected that matches your criteria, an event can be sent to Brevo to initiate the email campaign. This requires proper configuration in both Firebase and Brevo to ensure seamless integration.

### Can we automatically update Firestore records based on Brevo campaign interactions?

Yes, you can automate updates to your Firestore records based on interactions with Brevo campaigns. By leveraging webhooks, you can capture events such as email opens or link clicks from Brevo and update corresponding records in Firestore.

### What are some common triggers for integrating Brevo with Firebase?

Common triggers include new user sign-ups in Firebase, updates to user profiles, or any real-time changes in your database that require interaction with Brevo services like sending automated emails or SMS notifications.

### Which Firebase events are frequently used as triggers for workflows involving Brevo?

Frequently used Firebase events include document additions, updates, and deletions within Firestore. These events can be configured to trigger actions such as sending a welcome email through Brevo when a new user is added.

### Is it possible to send personalized emails via Brevo using data from Firestore?

Absolutely! You can utilize user data stored in Firestore to personalize the content of your emails sent through Brevo. By mapping fields from Firestore to placeholders in your email templates, each recipient will receive content tailored specifically for them.

### What actions can be automated between Brevo and Firebase using event triggers?

Actions such as sending automated welcome messages, transactional emails, and SMS alerts can be set up. Triggers from Firebase like new data entries or specified data modifications instigate these actions through our integrated setup.

### Are there limitations on the types of data that can trigger an action in Brevo from Firestore?

Generally, any change event — insertions, deletions, or modifications — within supported data types like strings or numbers are viable as triggers for actions in Brevo. However, complex objects might need additional processing before triggering an action.

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Brevo integrations: zapier.com/apps/brevo/integrations.md
- Firebase / Firestore integrations: zapier.com/apps/firebase/integrations.md
- Full page: zapier.com/apps/brevo/integrations/firebase
- SDK: npmjs.com/package/@zapier/zapier-sdk