---
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/"
---

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

Integrate Firebase / Firestore and Paystack 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 `firebase` and `paystack`, then `enable_zapier_action`. If Firebase / Firestore or Paystack 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 Add Product is enabled, call `paystack_add_product`. 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: "paystack", owner: "me" });

const { data } = await zapier.runAction({
  app: "paystack",
  actionType: "write",
  action: "addProduct",
  connection: connection.id,
  inputs: {
    name: "",
    description: "",
    price: "",
    currency: "",
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action paystack write addProduct \
  --inputs '{"name":"","description":"","price":"","currency":""}'
```

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

## Paystack

### Identity
Paystack helps African merchants accept one-time and recurring payments online with a modern, safe, and secure payment gateway.

- App slug: paystack
- Operations published here: 32 (12 events, 13 functions, 7 queries)

### Authentication
Zapier connects to Paystack 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 paystack
```

### Capabilities

#### Events (12)

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

##### Abandoned Transaction
Triggers when a transaction is abandoned

- Type: read · Key: `getabandonedtransaction`
- Requires: timeout
- MCP tool: `paystack_abandoned_transaction` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getabandonedtransaction" })`
- CLI: `npx zapier-sdk run-action paystack read getabandonedtransaction`

##### Cancelled Subscription
Triggers when there's a an existing subscription is cancelled by you or the customer.

- Type: read · Key: `getcancelledsubscription`
- Requires: nothing
- MCP tool: `paystack_cancelled_subscription` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getcancelledsubscription" })`
- CLI: `npx zapier-sdk run-action paystack read getcancelledsubscription`

##### New Customer
Triggers when a new customer is created.

- Type: read · Key: `getcustomer`
- Requires: nothing
- MCP tool: `paystack_new_customer` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getcustomer" })`
- CLI: `npx zapier-sdk run-action paystack read getcustomer`

##### New Chargeback
Triggers when a chargeback is logged against your account and awaiting your feedback

- Type: read · Key: `getdispute`
- Requires: nothing
- MCP tool: `paystack_new_chargeback` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getdispute" })`
- CLI: `npx zapier-sdk run-action paystack read getdispute`

##### New Invoice
Triggers when an invoice is created or paid.

- Type: read · Key: `getinvoice`
- Requires: status
- MCP tool: `paystack_new_invoice` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getinvoice" })`
- CLI: `npx zapier-sdk run-action paystack read getinvoice`

##### New Order
Triggers when a new order is made on your account

- Type: read · Key: `getorder`
- Requires: nothing
- MCP tool: `paystack_new_order` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getorder" })`
- CLI: `npx zapier-sdk run-action paystack read getorder`

##### New Payment Page  Transaction
Triggers when there's a new successful or failed transaction from a Payment Page

- Type: read · Key: `getpaymentpagetransaction`
- Requires: status, getpage
- MCP tool: `paystack_new_payment_page_transaction` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getpaymentpagetransaction" })`
- CLI: `npx zapier-sdk run-action paystack read getpaymentpagetransaction`

##### New Refund
Triggers when a refund happens on your account

- Type: read · Key: `getrefund`
- Requires: nothing
- MCP tool: `paystack_new_refund` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getrefund" })`
- CLI: `npx zapier-sdk run-action paystack read getrefund`

##### Subsciption Renewal
Triggers when there's a new successful or failed subscription renewal.

- Type: read · Key: `getrenewal`
- Requires: status
- MCP tool: `paystack_subsciption_renewal` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getrenewal" })`
- CLI: `npx zapier-sdk run-action paystack read getrenewal`

##### New Subscription
Triggers when there's a newly created or cancelled subscription.

- Type: read · Key: `getsubscription`
- Requires: state
- MCP tool: `paystack_new_subscription` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getsubscription" })`
- CLI: `npx zapier-sdk run-action paystack read getsubscription`

##### New Transaction
Triggers when there's a new successful or failed transaction.

- Type: read · Key: `gettransaction`
- Requires: status
- MCP tool: `paystack_new_transaction` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "gettransaction" })`
- CLI: `npx zapier-sdk run-action paystack read gettransaction`

##### New Transfer
Triggers when a new transfer is queued, or an existing transfer resolves successfully or fails.

- Type: read · Key: `gettransfer`
- Requires: status
- MCP tool: `paystack_new_transfer` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "gettransfer" })`
- CLI: `npx zapier-sdk run-action paystack read gettransfer`

#### Functions (13)

Functions change something in Paystack.

##### Add Product
Add a product

- Type: write · Key: `addProduct`
- Requires: name, description, price, currency
- Optional: unlimited, quantity
- MCP tool: `paystack_add_product` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "addProduct" })`
- CLI: `npx zapier-sdk run-action paystack write addProduct`

##### Add Phone Number to Virtual Terminal
Add phone number to a virtual terminal to receive WhatsApp notifications

- Type: write · Key: `addvirtualterminalphonenumber`
- Requires: vtCode, target
- Optional: name
- MCP tool: `paystack_add_phone_number_to_virtual_terminal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "addvirtualterminalphonenumber" })`
- CLI: `npx zapier-sdk run-action paystack write addvirtualterminalphonenumber`

##### Cancel Subscription
Cancel an existing subscription

- Type: write · Key: `cancelSubscription`
- Requires: code, token
- MCP tool: `paystack_cancel_subscription` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "cancelSubscription" })`
- CLI: `npx zapier-sdk run-action paystack write cancelSubscription`

##### Initiate a Direct Debit Request
Create a direct debit link for a customer to authorise their bank account for recurring charges (Only available in Nigeria)

- Type: write · Key: `createdirectdebitlink`
- Requires: email, channel, callback_url
- Optional: number, bank_code, state, city, street
- MCP tool: `paystack_initiate_a_direct_debit_request` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "createdirectdebitlink" })`
- CLI: `npx zapier-sdk run-action paystack write createdirectdebitlink`

##### Create Refund
Refunds a transaction.

- Type: write · Key: `createrefund`
- Requires: transaction
- Optional: reason, amount
- MCP tool: `paystack_create_refund` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "createrefund" })`
- CLI: `npx zapier-sdk run-action paystack write createrefund`

##### Create Subscription
Creates a new subscription

- Type: write · Key: `createsubscription`
- Requires: customer, plan
- Optional: invoice_limit, start_date
- MCP tool: `paystack_create_subscription` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "createsubscription" })`
- CLI: `npx zapier-sdk run-action paystack write createsubscription`

##### Create Virtual Terminal
Creates a new virtual terminal

- Type: write · Key: `createvirtualterminal`
- Requires: terminal_name, whatsapp_number
- MCP tool: `paystack_create_virtual_terminal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "createvirtualterminal" })`
- CLI: `npx zapier-sdk run-action paystack write createvirtualterminal`

##### Initialize Transaction
Generates a Paystack checkout Link

- Type: write · Key: `initializeTransaction`
- Requires: email, amount
- Optional: currency, reference, callback_url, plan, split_code, ubaccount, bearer
- MCP tool: `paystack_initialize_transaction` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "initializeTransaction" })`
- CLI: `npx zapier-sdk run-action paystack write initializeTransaction`

##### Push Invoice to Terminal
Send an invoice from your application to the Paystack Terminal for processing

- Type: write · Key: `pushinvoice`
- Requires: terminal, invoiceID, offlineReference
- MCP tool: `paystack_push_invoice_to_terminal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "pushinvoice" })`
- CLI: `npx zapier-sdk run-action paystack write pushinvoice`

##### Remove Phone Number From Virtual Terminal
Remove phone number from the virtual terminal to stop it from receiving WhatsApp notifications

- Type: write · Key: `removevirtualterminalphonenumber`
- Requires: vtCode, target
- MCP tool: `paystack_remove_phone_number_from_virtual_terminal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "removevirtualterminalphonenumber" })`
- CLI: `npx zapier-sdk run-action paystack write removevirtualterminalphonenumber`

##### Send Simple Invoice
Send a payment request to your customers

- Type: write · Key: `sendsimpleinvoice`
- Requires: email, amount, description
- Optional: first_name, last_name, currency, invoice_number
- MCP tool: `paystack_send_simple_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "sendsimpleinvoice" })`
- CLI: `npx zapier-sdk run-action paystack write sendsimpleinvoice`

##### Share Link for Updating Subscription Card
Send a request to the customer to update the card on their subscription

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

##### Update Order
Updates the status of an order.

- Type: write · Key: `updateorder`
- Requires: order_id, status
- MCP tool: `paystack_update_order` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "updateorder" })`
- CLI: `npx zapier-sdk run-action paystack write updateorder`

#### Queries (7)

Queries read from Paystack and return data. They change nothing.

##### Check Terminal Status
Check the availiability of a Terminal before sending an event to it.

- Type: search · Key: `checkterminal`
- Requires: terminal
- MCP tool: `paystack_check_terminal_status` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "search", action: "checkterminal" })`
- CLI: `npx zapier-sdk run-action paystack search checkterminal`

##### Find Customer
Find a customer record using their email address

- Type: search · Key: `findcustomer`
- Requires: email
- MCP tool: `paystack_find_customer` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "search", action: "findcustomer" })`
- CLI: `npx zapier-sdk run-action paystack search findcustomer`

##### Find Order
Find a order record using the Order ID

- Type: search · Key: `findorder`
- Requires: getorder
- MCP tool: `paystack_find_order` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "search", action: "findorder" })`
- CLI: `npx zapier-sdk run-action paystack search findorder`

##### Find Transaction
Find a transaction record using the reference

- Type: search · Key: `findtransaction`
- Requires: reference
- MCP tool: `paystack_find_transaction` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "search", action: "findtransaction" })`
- CLI: `npx zapier-sdk run-action paystack search findtransaction`

##### Find Transfer
Find a transfer record using the transfer code

- Type: search · Key: `findtransfer`
- Requires: transfer_code
- MCP tool: `paystack_find_transfer` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "search", action: "findtransfer" })`
- CLI: `npx zapier-sdk run-action paystack search findtransfer`

##### Get Customer Totals
Get a customer's total spend on your Paystack business

- Type: search · Key: `getcustomertotals`
- Requires: email
- MCP tool: `paystack_get_customer_totals` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "search", action: "getcustomertotals" })`
- CLI: `npx zapier-sdk run-action paystack search getcustomertotals`

##### Resolve Account Number
Retrieve the full name tied to a Nigerian account number

- Type: search · Key: `resolvebank`
- Requires: account_number, bank_code
- MCP tool: `paystack_resolve_account_number` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "search", action: "resolvebank" })`
- CLI: `npx zapier-sdk run-action paystack search resolvebank`

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

### How do I trigger a Firestore function when a payment is successful in Paystack?

To trigger a Firestore function upon a successful payment in Paystack, you can set up a webhook in your Paystack dashboard. This webhook will notify your serverless function hosted on Firebase, allowing you to update Firestore with the transaction details when payments succeed.

### Can I use Firebase Cloud Functions to handle events from Paystack?

Yes, Firebase Cloud Functions can be used to handle events from Paystack. You need to set up and deploy cloud functions that respond to HTTP requests sent from Paystack webhooks. These functions will allow you to process the information sent by Paystack and perform desired actions like updating Firestore.

### What data should be stored in Firestore from Paystack transactions?

When integrating with Paystack, you might want to store data such as transaction ID, amount, currency, customer details, payment status, and timestamps. This data can help you track transaction history and status effectively within your Firestore database.

### How do we ensure secure communication between Paystack and Firebase services?

Ensure secure communication by using HTTPS endpoints for webhooks. Additionally, verify the source of incoming requests using signature validation or secret keys provided by Paystack. These steps help protect against unauthorized access when communicating with Firebase services.

### Is it possible to send notifications through Firebase based on Paystack events?

Yes, it’s possible by utilizing Firebase Cloud Messaging (FCM). Once your Cloud Function processes a Paystack event, it can trigger an FCM notification to alert users about changes such as payment confirmation or failure directly via their mobile devices or applications.

### How can failed payments in Paystack be recorded in Firestore for follow-up actions?

Failed payments can be tracked by setting up a webhook endpoint that listens for failure events from Paystack. This allows the corresponding Cloud Function to log the failure details into Firestore. From there, automated systems or manual processes can initiate follow-up actions.

### What triggers should I use in Firebase for real-time updates based on transaction changes in Paystack?

To achieve real-time updates based on transaction changes from Paystack, utilize Firestore’s onWrite or onUpdate triggers within your Cloud Functions. By leveraging webhooks connected to these triggers via HTTP requests from Paystack, changes reflect instantly across your application.

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