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

# Phone2 + AI by Zapier Integrations: Connect with Zapier MCP
> zapier.com/apps/phone2/integrations/ai
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Phone2 and AI by Zapier 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 `phone2` and `ai`, then `enable_zapier_action`. If Phone2 or AI by Zapier 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 Extract Content From URL is enabled, call `ai_by_zapier_extract_content_from_url`. 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: "ai", owner: "me" });

const { data } = await zapier.runAction({
  app: "ai",
  actionType: "write",
  action: "extract_content",
  connection: connection.id,
  inputs: {
    url: "", // URL to Extract Content From
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action ai write extract_content \
  --inputs '{"url":""}'
```

## Phone2

### Identity
Phone2 is a cloud phone system for business teams with calling, SMS/MMS, shared team inboxes, call recordings, and AI-generated transcripts in one workspace.

- App slug: phone2
- Operations published here: 16 (9 events, 1 function, 6 queries)

### Authentication
Zapier connects to Phone2 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 phone2
```

### Capabilities

#### Events (9)

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

##### Incoming Call Answered
Triggers when a SIP user or the AI agent picks up an inbound call. Outbound calls and callflow auto-answer (IVR pickup with no human) do not fire this.

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

##### Incoming Call Completed
Triggers when an inbound call reaches its final disposition (ended, missed, rejected, or errored). Includes who answered (SIP user or AI agent) when applicable.

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

##### Incoming Call Missed
Triggers when an inbound call to a phone number ends without being answered or forwarded. Use to send a follow-up SMS, create a CRM task, or alert a Slack channel.

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

##### Incoming Call Received
Triggers when an inbound call starts ringing on a phone number. Useful for live dashboards or routing logic that needs to react before pickup.

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

##### Incoming Message Received
Triggers when a new inbound SMS or MMS is received on a phone number in your workspace.

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

##### Outgoing Call Completed
Triggers when an outbound call reaches its final disposition (ended, errored). Includes the user who placed the call and the duration.

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

##### Outgoing Call Started
Triggers when a user in your workspace starts dialing an outbound call.

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

##### Outgoing Message Delivered
Triggers when the carrier confirms delivery of an outbound SMS/MMS. Non-final statuses (sent, queued) do not fire.

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

##### Call Recording Completed
Triggers when a call recording is finalised and attached to a call.

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

#### Functions (1)

Functions change something in Phone2.

##### Create Contact
Creates a new contact or updates an existing contact.

- Type: write · Key: `create_contact`
- Requires: phone
- Optional: first_name, last_name, email, company
- MCP tool: `phone2_create_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "phone2", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action phone2 write create_contact`

#### Queries (6)

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

##### Find Call Recording
Finds recordings associated with a specific call. Results are sorted chronologically, oldest first.

- Type: search · Key: `get_call_recordings`
- Requires: team_id, call_id
- MCP tool: `phone2_find_call_recording` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "phone2", actionType: "search", action: "get_call_recordings" })`
- CLI: `npx zapier-sdk run-action phone2 search get_call_recordings`

##### Find Message by ID
Finds a message by its unique identifier.

- Type: search · Key: `get_message`
- Requires: team_id, conversation_id, id
- MCP tool: `phone2_find_message_by_id` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "phone2", actionType: "search", action: "get_message" })`
- CLI: `npx zapier-sdk run-action phone2 search get_message`

##### Find Recent Call
Finds calls in your workspace, scoped to a team. Results are returned newest first.

- Type: search · Key: `list_calls`
- Requires: team_id
- Optional: skip, size
- MCP tool: `phone2_find_recent_call` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "phone2", actionType: "search", action: "list_calls" })`
- CLI: `npx zapier-sdk run-action phone2 search list_calls`

##### Find Conversation
Finds conversations for a team. Results are returned in descending order based on recent activity.

- Type: search · Key: `list_conversations`
- Requires: team_id
- Optional: skip, size
- MCP tool: `phone2_find_conversation` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "phone2", actionType: "search", action: "list_conversations" })`
- CLI: `npx zapier-sdk run-action phone2 search list_conversations`

##### Find Recent Message
Finds messages exchanged inside a specific conversation, with pagination support.

- Type: search · Key: `list_messages`
- Requires: team_id, conversation_id
- Optional: skip, size
- MCP tool: `phone2_find_recent_message` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "phone2", actionType: "search", action: "list_messages" })`
- CLI: `npx zapier-sdk run-action phone2 search list_messages`

##### Find Phone Number
Finds phone numbers in your workspace, each with the team it belongs to and its capabilities.

- Type: search · Key: `list_phone_numbers`
- Requires: nothing
- Optional: skip, size
- MCP tool: `phone2_find_phone_number` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "phone2", actionType: "search", action: "list_phone_numbers" })`
- CLI: `npx zapier-sdk run-action phone2 search list_phone_numbers`

## AI by Zapier

### Identity
Mix rules-based automation with AI exactly where it adds value, from simple text analysis to agentic steps that decide which tools to use.

- App slug: ai
- Operations published here: 4 (4 functions)

### Capabilities

#### Functions (4)

Functions change something in AI by Zapier.

##### Extract Content From URL
Extracts text content from various sources like web pages, PDFs, images, audio, or video files at a specified URL.

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

##### Analyze and Return Data
Summarize, classify, extract, or generate data; optionally use tools and knowledge sources.

- Type: write · Key: `get_completion`
- Requires: authentication_id, model_id, instructions
- Optional: provider_id, inputFields, knowledgeSources, tools, outputSchema, outputFields, isOutputArray, previewWorkflowData, includeWorkflowData, stepApprovalThreshold, zap_id, zap_step_id, zap_run_id, zap_path_run_id, zap_attempt_id, held_execution_key
- MCP tool: `ai_by_zapier_analyze_and_return_data` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "ai", actionType: "write", action: "get_completion" })`
- CLI: `npx zapier-sdk run-action ai write get_completion`

##### Analyze and Return Data (Agentic – Tools & Knowledge)
This action does nothing and must not be added to a Zap. It exists only so account admins can restrict agentic AI usage — Tools, Knowledge Sources, and web browsing — in the "Analyze and Return Data" action. Running it directly will error.

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

##### Search Content Across URLs
Searches for information across the text content derived from multiple URLs (e.g., web pages, PDFs, images).

- Type: write · Key: `search_content`
- Requires: urls, query
- Optional: num_results
- MCP tool: `ai_by_zapier_search_content_across_urls` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "ai", actionType: "write", action: "search_content" })`
- CLI: `npx zapier-sdk run-action ai write search_content`

## Frequently asked questions about automating with Phone2 and AI by Zapier

### 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
- Phone2 integrations: zapier.com/apps/phone2/integrations.md
- AI by Zapier integrations: zapier.com/apps/ai/integrations.md
- Full page: zapier.com/apps/phone2/integrations/ai
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk