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

Integrate Firebase / Firestore and FileStack 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 · filter_image`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action filestack write filter_image \
  --inputs '{}'
```

## 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`

## FileStack

### Identity
The Super API for End User Content. Upload and store files, seamlessly apply transformations, & deliver via powerful CDN

- App slug: filestack
- Operations published here: 3 (3 functions)

### Authentication
Zapier connects to FileStack 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 filestack
```

### Capabilities

#### Functions (3)

Functions change something in FileStack.

##### Filter Image
Applies a transformation (sharpen, blur, sepia, monochrome, and more) to an image.

- Type: write · Key: `filter_image`
- Requires: file, transform
- SDK: `runAction({ app: "filestack", actionType: "write", action: "filter_image" })`
- CLI: `npx zapier-sdk run-action filestack write filter_image`

##### Resize Image
Resizes an image.

- Type: write · Key: `resize_image`
- Requires: file, width, height
- SDK: `runAction({ app: "filestack", actionType: "write", action: "resize_image" })`
- CLI: `npx zapier-sdk run-action filestack write resize_image`

##### Rotate Image
Rotates an image.

- Type: write · Key: `rotate_image`
- Requires: file, deg
- Optional: background
- SDK: `runAction({ app: "filestack", actionType: "write", action: "rotate_image" })`
- CLI: `npx zapier-sdk run-action filestack write rotate_image`

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