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

# Zapier — Sub-Zap by Zapier Integrations
> zapier.com/apps/sub-zap-by-zapier/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).

## Identity
Build reusable Zap components and systems by building and calling "Sub-Zaps".

- App slug: sub-zap-by-zapier
- Operations published here: 3 (1 event, 2 functions)

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`. All published operations and input keys are listed on this page (there are no per-action subpages; run `npx zapier-sdk list-action-input-fields sub-zap-by-zapier <type> <key>` after login for full field schemas).

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

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.

### Getting Started
- **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 `sub-zap-by-zapier`, then `enable_zapier_action`. If Sub-Zap 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`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`
- Add `--json` to any CLI command (not just the one shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.

### Example
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "sub-zap-by-zapier",
  actionType: "write",
  action: "call_subzap",
  connection: connection.id,
  inputs: {
    account_id: "", // Select Your Account
    zap_id: "", // Select Your Sub-Zap
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action sub-zap-by-zapier write call_subzap \
  --inputs '{"account_id":"","zap_id":""}'
```

Paginating results: some calls return more than fits in one response — for example, listing Sub-Zap by Zapier'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: "sub-zap-by-zapier" }).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 sub-zap-by-zapier --page-size 50 --max-items 200 --json
```

### Events (1)

Events fire when something happens in Sub-Zap by Zapier. Use them to start a run.

#### Start a Sub-Zap
Triggers when an outside Zap calls this Sub-Zap. Always used inside of a Sub-Zap. A later step in the Sub-Zap should be the "Return from a Sub-Zap" action.

- Type: read · Key: `start_subzap`
- Requires: nothing
- Optional: input_list, zap_id, blank_sample_notice
- SDK: `runAction({ app: "sub-zap-by-zapier", actionType: "read", action: "start_subzap" })`
- CLI: `npx zapier-sdk run-action sub-zap-by-zapier read start_subzap`

### Functions (2)

Functions change something in Sub-Zap by Zapier.

#### Call a Sub-Zap
Used outside of a Sub-Zap, this will activate a Sub-Zap, which should contain both the "Start a Sub-Zap" trigger and "Return from a Sub-Zap" action.

- Type: write · Key: `call_subzap`
- Requires: account_id, zap_id
- Optional: parent_zap_directions, live_testing_info, blank_sample_notice, zap_path_run_id
- SDK: `runAction({ app: "sub-zap-by-zapier", actionType: "write", action: "call_subzap" })`
- CLI: `npx zapier-sdk run-action sub-zap-by-zapier write call_subzap`

#### Return From a Sub-Zap
Used inside of a Sub-Zap, this is the final step of a Sub-Zap and should be after the "Start a Sub-Zap" trigger.

- Type: write · Key: `return_subzap`
- Requires: nothing
- Optional: output_dict, zap_path_run_id, zap_run_id
- SDK: `runAction({ app: "sub-zap-by-zapier", actionType: "write", action: "return_subzap" })`
- CLI: `npx zapier-sdk run-action sub-zap-by-zapier write return_subzap`

## Popular integrations
- [Sub-Zap by Zapier + HubSpot](zapier.com/apps/sub-zap-by-zapier/integrations/hubspot.md)
- [Sub-Zap by Zapier + Airtable](zapier.com/apps/sub-zap-by-zapier/integrations/airtable.md)
- [Sub-Zap by Zapier + Salesforce](zapier.com/apps/sub-zap-by-zapier/integrations/salesforce.md)
- [Sub-Zap by Zapier + ChatGPT (OpenAI)](zapier.com/apps/sub-zap-by-zapier/integrations/chatgpt.md)
- [Sub-Zap by Zapier + Gmail](zapier.com/apps/sub-zap-by-zapier/integrations/gmail.md)
- [Sub-Zap by Zapier + LinkedIn Ads](zapier.com/apps/sub-zap-by-zapier/integrations/linkedin-ads.md)
- [Sub-Zap by Zapier + Slack](zapier.com/apps/sub-zap-by-zapier/integrations/slack.md)
- [Sub-Zap by Zapier + Gravity Forms](zapier.com/apps/sub-zap-by-zapier/integrations/gravity-forms.md)
- [Sub-Zap by Zapier + G2 Crowd](zapier.com/apps/sub-zap-by-zapier/integrations/g2-crowd.md)
- [Sub-Zap by Zapier + monday.com](zapier.com/apps/sub-zap-by-zapier/integrations/monday.md)
- [Sub-Zap by Zapier + Webflow](zapier.com/apps/sub-zap-by-zapier/integrations/webflow.md)
- [Sub-Zap by Zapier + TikTok Lead Generation](zapier.com/apps/sub-zap-by-zapier/integrations/tiktok-lead-generation.md)
- [Sub-Zap by Zapier + QuickBooks Online](zapier.com/apps/sub-zap-by-zapier/integrations/quickbooks.md)
- [Sub-Zap by Zapier + Close](zapier.com/apps/sub-zap-by-zapier/integrations/close.md)
- [Sub-Zap by Zapier + Facebook Lead Ads](zapier.com/apps/sub-zap-by-zapier/integrations/facebook-lead-ads.md)
- [Sub-Zap by Zapier + Notion](zapier.com/apps/sub-zap-by-zapier/integrations/notion.md)
- [Sub-Zap by Zapier + Microsoft Outlook](zapier.com/apps/sub-zap-by-zapier/integrations/microsoft-outlook.md)
- [Sub-Zap by Zapier + ClickUp](zapier.com/apps/sub-zap-by-zapier/integrations/clickup.md)
- [Sub-Zap by Zapier + Unbounce](zapier.com/apps/sub-zap-by-zapier/integrations/unbounce.md)
- [Sub-Zap by Zapier + Google Sheets](zapier.com/apps/sub-zap-by-zapier/integrations/google-sheets.md)
- [Sub-Zap by Zapier + Trello](zapier.com/apps/sub-zap-by-zapier/integrations/trello.md)
- [Sub-Zap by Zapier + Dropbox](zapier.com/apps/sub-zap-by-zapier/integrations/dropbox.md)
- [Sub-Zap by Zapier + Pipedrive](zapier.com/apps/sub-zap-by-zapier/integrations/pipedrive.md)
- [Sub-Zap by Zapier + WooCommerce](zapier.com/apps/sub-zap-by-zapier/integrations/woocommerce.md)
- [Sub-Zap by Zapier + PandaDoc](zapier.com/apps/sub-zap-by-zapier/integrations/pandadoc.md)
- [Sub-Zap by Zapier + Typeform](zapier.com/apps/sub-zap-by-zapier/integrations/typeform.md)
- [Sub-Zap by Zapier + GoTo Webinar](zapier.com/apps/sub-zap-by-zapier/integrations/gotowebinar.md)
- [Sub-Zap by Zapier + Shopify](zapier.com/apps/sub-zap-by-zapier/integrations/shopify.md)
- [Sub-Zap by Zapier + Mailchimp](zapier.com/apps/sub-zap-by-zapier/integrations/mailchimp.md)
- [Sub-Zap by Zapier + Jotform](zapier.com/apps/sub-zap-by-zapier/integrations/jotform.md)

## Use Sub-Zap by Zapier in 36 AI tools with Zapier MCP
- [Amazon Quick](zapier.com/apps/ai-tools/amazon-quick-suite.md) by AWS
- [Antigravity](zapier.com/apps/ai-tools/antigravity.md) by Google
- [Antigravity CLI](zapier.com/apps/ai-tools/antigravity-cli.md) by Google
- [ChatGPT](zapier.com/apps/ai-tools/chatgpt.md) by OpenAI
- [Claude](zapier.com/apps/ai-tools/claude.md) by Anthropic
- [Claude Code](zapier.com/apps/ai-tools/claude-code.md) by Anthropic
- [Claude Cowork](zapier.com/apps/ai-tools/claude-cowork.md) by Anthropic
- [Claude Duet](zapier.com/apps/ai-tools/claude-duet.md) by Anthropic
- [Claude for Small Business](zapier.com/apps/ai-tools/claude-small-business.md) by Anthropic
- [Copilot Studio](zapier.com/apps/ai-tools/copilot-studio.md) by Microsoft
- [Dots](zapier.com/apps/ai-tools/openai-dots.md) by OpenAI
- [Figma Make](zapier.com/apps/ai-tools/figma-make.md) by Figma
- [Gemini](zapier.com/apps/ai-tools/gemini.md) by Google
- [Gemini Enterprise](zapier.com/apps/ai-tools/gemini-enterprise.md) by Google
- [Grok](zapier.com/apps/ai-tools/grok.md) by SpaceXAI
- [Grok Bot](zapier.com/apps/ai-tools/grok-bot.md) by SpaceXAI
- [Grok Build (Cursor)](zapier.com/apps/ai-tools/grok-build.md) by Anysphere
- [Julius AI](zapier.com/apps/ai-tools/julius.md) by Caesar Labs
- [Kiro](zapier.com/apps/ai-tools/kiro.md) by AWS
- [Linear Agent](zapier.com/apps/ai-tools/linear.md) by Linear
- [Manus](zapier.com/apps/ai-tools/manus.md) by Manus AI
- [Muse](zapier.com/apps/ai-tools/meta-muse.md) by Meta
- [OpenClaw](zapier.com/apps/ai-tools/openclaw.md) by the OpenClaw Foundation
- [OpenCode](zapier.com/apps/ai-tools/opencode.md) by Anomaly
- [Pally](zapier.com/apps/ai-tools/pally.md)
- [Replit](zapier.com/apps/ai-tools/replit.md) by Replit
- [Slackbot](zapier.com/apps/ai-tools/slack.md) by Slack
- [Superhuman Go](zapier.com/apps/ai-tools/superhuman-go.md) by Superhuman
- [Toolhouse](zapier.com/apps/ai-tools/toolhouse.md)
- [Town](zapier.com/apps/ai-tools/town.md) by Town
- [v0](zapier.com/apps/ai-tools/v0.md) by Vercel
- [Vapi](zapier.com/apps/ai-tools/vapi.md) by Vapi
- [Vibe](zapier.com/apps/ai-tools/mistral.md) by Mistral AI
- [VS Code](zapier.com/apps/ai-tools/vscode.md) by Microsoft
- [Warp](zapier.com/apps/ai-tools/warp.md) by Denver Technologies
- [Zed](zapier.com/apps/ai-tools/zed.md) by Zed Industries

## FAQ

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