# Zapier — Chatpilot Integrations
> zapier.com/apps/chatpilot/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

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

## Identity
Chatpilot is a business messaging platform that lets teams send template and text messages, manage contacts, and start automated bot flows from other apps.

- App slug: chatpilot
- Operations published here: 8 (4 events, 4 functions)

## Authentication
Zapier connects to Chatpilot 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 chatpilot
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/chatpilot/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect Chatpilot through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

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

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action chatpilot write send_template \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing Chatpilot's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "chatpilot" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions chatpilot --page-size 50 --max-items 200 --json
```

### Events (4)

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

#### New Chat Started
Triggers when a new conversation starts.

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

#### Message Status Failed
Triggers when a message fails to deliver.

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

#### New Contact Created
Triggers when a new contact is added.

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

#### New Message Received
Triggers when a customer sends a new message.

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

### Functions (4)

Functions change something in Chatpilot.

#### Send Template Message
Sends an approved message template (works anytime).

- Type: write · Key: `send_template`
- Requires: phone_number
- Optional: template
- SDK: `runAction({ app: "chatpilot", actionType: "write", action: "send_template" })`
- CLI: `npx zapier-sdk run-action chatpilot write send_template`

#### Send Text Message
Sends a free-form text message (within the 24-hour customer care window).

- Type: write · Key: `send_text`
- Requires: phone_number, message_body
- SDK: `runAction({ app: "chatpilot", actionType: "write", action: "send_text" })`
- CLI: `npx zapier-sdk run-action chatpilot write send_text`

#### Trigger Bot Flow
Starts a ChatPilot bot flow for a phone number. First create the flow in ChatPilot with a Zapier / Outside Start node and add the fields you need. Those fields then appear here so you can map form data before the bot starts.

- Type: write · Key: `trigger_bot_flow`
- Requires: flow_id, phone
- SDK: `runAction({ app: "chatpilot", actionType: "write", action: "trigger_bot_flow" })`
- CLI: `npx zapier-sdk run-action chatpilot write trigger_bot_flow`

#### Create/Upsert Contact
Create a contact or update if the phone already exists.

- Type: write · Key: `upsert_contact`
- Requires: phone, firstname
- Optional: lastname, email, company, type, groups, status, source
- SDK: `runAction({ app: "chatpilot", actionType: "write", action: "upsert_contact" })`
- CLI: `npx zapier-sdk run-action chatpilot write upsert_contact`

## Popular integrations
- [Chatpilot + Google Sheets](zapier.com/apps/chatpilot/integrations/google-sheets.md)
- [Chatpilot + Airtable](zapier.com/apps/chatpilot/integrations/airtable.md)
- [Chatpilot + ActiveCampaign](zapier.com/apps/chatpilot/integrations/activecampaign.md)
- [Chatpilot + Dotloop](zapier.com/apps/chatpilot/integrations/dotloop.md)

## Links
- Full app page: zapier.com/apps/chatpilot/integrations
- MCP: zapier.com/mcp/chatpilot
- SDK: npmjs.com/package/@zapier/zapier-sdk