---
agent:
  instructions: "Use this search API to find a ready-to-deploy Next Gen Zap for what the user wants to automate, with keywords or a natural-language description, instead of reading every zap. Results are returned in Markdown, each with the zap's SKILL.md install guide."
  endpoint: "https://zapier.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://zapier.sh/developers/"
---

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

Integrate Cloudinary 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).

## 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** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; VS Code and other clients `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; Terminal auto-installer `npx @zapier/install-zapier`.
  - Setup guides: Claude https://docs.zapier.com/mcp/get-started/connect/claude.md; Claude Code https://docs.zapier.com/mcp/get-started/connect/claude-code.md; ChatGPT https://docs.zapier.com/mcp/get-started/connect/chatgpt.md; Cursor https://docs.zapier.com/mcp/get-started/connect/cursor.md; Codex https://docs.zapier.com/mcp/get-started/connect/codex.md.
  - After sign-in: call `discover_zapier_actions` for `cloudinary` and `firebase`, then `enable_zapier_action`. If Cloudinary or Firebase / Firestore isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **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**: once Create or Replace Firebase Realtime Database Record is enabled, call `firebase_firestore_create_or_replace_firebase_real`. Each operation below lists its MCP tool name.
- **SDK**:

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

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

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

- **CLI**:

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

## Cloudinary

### Identity
Cloudinary makes it easy to upload, store, manage, manipulate and deliver images and videos efficiently and effectively.

- App slug: cloudinary
- Operations published here: 6 (2 events, 4 functions)

### Authentication
Zapier connects to Cloudinary 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.130.2 and @zapier/zapier-sdk-cli v0.93.2; 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 cloudinary
```

### Capabilities

#### Events (2)

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

##### New Uploaded Resource
Triggers when a new resource is uploaded.

- Type: read · Key: `new_uploaded_resource`
- Requires: resource_type
- Optional: type, tags, context, moderations
- MCP tool: `cloudinary_new_uploaded_resource` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "cloudinary", actionType: "read", action: "new_uploaded_resource" })`
- CLI: `npx zapier-sdk run-action cloudinary read new_uploaded_resource`

##### New Tagged Resource
Triggers when a new resource is uploaded and is tagged with a given tag.

- Type: read · Key: `resources_by_tag`
- Requires: resource_type, tag
- MCP tool: `cloudinary_new_tagged_resource` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "cloudinary", actionType: "read", action: "resources_by_tag" })`
- CLI: `npx zapier-sdk run-action cloudinary read resources_by_tag`

#### Functions (4)

Functions change something in Cloudinary.

##### Transform Resource
Creates a Cloudinary URL that can be used to transform, manipulate, and share the resource.

- Type: write · Key: `cloudinary_url`
- Requires: public_id, resource_type, type
- Optional: format, transformation
- MCP tool: `cloudinary_transform_resource` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cloudinary", actionType: "write", action: "cloudinary_url" })`
- CLI: `npx zapier-sdk run-action cloudinary write cloudinary_url`

##### Upload Resource
Uploads a new resource to your Cloudinary account.

- Type: write · Key: `upload_signed`
- Requires: file, resource_type, type
- Optional: public_id, folder, tags
- MCP tool: `cloudinary_upload_resource` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cloudinary", actionType: "write", action: "upload_signed" })`
- CLI: `npx zapier-sdk run-action cloudinary write upload_signed`

##### Upload Resource (Advanced)
Uploads a new resource to your Cloudinary account. This advanced action includes additional upload parameters.

- Type: write · Key: `upload_signed_advanced`
- Requires: file, resource_type, type
- Optional: public_id, folder, tags, invalidate, image_metadata, faces, colors, phash, backup, moderation, upload_preset
- MCP tool: `cloudinary_upload_resource_advanced` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cloudinary", actionType: "write", action: "upload_signed_advanced" })`
- CLI: `npx zapier-sdk run-action cloudinary write upload_signed_advanced`

##### Create Usage Report
Creates a report on the status of your Cloudinary account usage details, including storage, bandwidth, requests, number of resources, and add-on usage.

- Type: write · Key: `usage`
- Requires: nothing
- MCP tool: `cloudinary_create_usage_report` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cloudinary", actionType: "write", action: "usage" })`
- CLI: `npx zapier-sdk run-action cloudinary write usage`

## 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.130.2 and @zapier/zapier-sdk-cli v0.93.2; 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
- MCP tool: `firebase_firestore_new_child_object_in_a_firebase_` (before it's enabled, `execute_zapier_read_action` runs it)
- 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](https://cloud.google.com/firestore/docs/reference/rest/v1beta1/StructuredQuery)
      returns new documents within a Cloud Firestore collection.

- Type: read · Key: `firestoreQuery`
- Requires: collection
- MCP tool: `firebase_firestore_new_document_within_a_firestore` (before it's enabled, `execute_zapier_read_action` runs it)
- 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
- MCP tool: `firebase_firestore_create_or_replace_firebase_real` (before it's enabled, `execute_zapier_write_action` runs it)
- 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
- MCP tool: `firebase_firestore_create_cloud_firestore_document` (before it's enabled, `execute_zapier_write_action` runs it)
- 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
- MCP tool: `firebase_firestore_find_firebase_realtime_database` (before it's enabled, `execute_zapier_read_action` runs it)
- 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](https://cloud.google.com/firestore/docs/reference/rest/v1beta1/StructuredQuery)
      within a collection.

- Type: search · Key: `firestoreQuery`
- Requires: collection, query
- MCP tool: `firebase_firestore_find_cloud_firestore_document` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "firebase", actionType: "search", action: "firestoreQuery" })`
- CLI: `npx zapier-sdk run-action firebase search firestoreQuery`

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

### How can I upload images from Firebase Storage to Cloudinary using a trigger?

You can set up a Firebase Function to trigger on any image upload event in Firebase Storage. Once the image is uploaded, our function can automatically send this image to Cloudinary using their API, allowing seamless integration without manual intervention.

### Can I store Cloudinary URLs in Firestore automatically?

Yes, you can use a Firebase Cloud Function that triggers after an image is uploaded to Cloudinary. This function can capture the URL returned by Cloudinary and store it in a Firestore document automatically.

### Is it possible to delete images from Cloudinary when they are removed from Firebase Storage?

Absolutely, you can use a trigger within Firebase Functions that activates when an image is deleted in Firebase Storage. This trigger can call the relevant Cloudinary API endpoint to remove the corresponding image from your Cloudinary account as well.

### What happens if there's an error during the transfer of images between Firebase and Cloudinary?

When integrating with our platform, you can add error handling within your cloud functions. These functions can log errors or even retry operations depending on how you've set them up, ensuring minimal disruption and data consistency.

### How do I manage different folders for images in Cloudinary based on Firestore data?

By leveraging Firestore's data structure, you can script your integration functions to dynamically create folders or assign images to specific folders in Cloudinary. This way, organizational structures are directly managed via your Firestore metadata.

### Can we perform real-time transformations on images stored in Cloudinary via Firestore updates?

Our setup supports triggers that activate whenever there's an update related to media content within your Firestore database. You can leverage these triggers to initiate transformation requests with Cloudinary’s powerful API right at the moment of update.

### Does integrating with both services require any manual maintenance?

Once the integration scripts between Firebase/Firestore and Cloudinary are set up using cloud functions and appropriate APIs, it typically requires minimal ongoing maintenance beyond initial configuration adjustments and occasional validation checks based on your usage patterns.

### 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
- Cloudinary integrations: zapier.com/apps/cloudinary/integrations.md
- Firebase / Firestore integrations: zapier.com/apps/firebase/integrations.md
- Full page: zapier.com/apps/cloudinary/integrations/firebase
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk