> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zapier.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create your first Next Gen Zap with your MCP client

> Use your MCP client to build a durable automation from plain language, and deploy it as a Next Gen Zap.

A [Next Gen Zap](https://help.zapier.com/hc/en-us/articles/48391476448141) is a durable automation that your agent builds from plain language instructions and runs on Zapier's infrastructure. By the end of this tutorial, you will have built and deployed one with your MCP client.

<Info>
  Next Gen Zaps is in early access by request. Sign up at [https://zapier.com/workflow/early-access](https://zapier.com/workflow/early-access). If you're on a Team plan, the request must come from an account owner or admin. This feature has limited availability and is in active development.
</Info>

## Before you begin

* A Zapier account on a Professional, Team, or Enterprise plan, with Next Gen Zaps early access enabled.
* Zapier MCP connected to your MCP client. Follow the [quickstart](/mcp/get-started/quickstart) first if you have not connected yet.

## 1. Describe the workflow you want

Tell your agent what the workflow should do, in plain language. Include the apps involved, what triggers it (a schedule, an app event, or on-demand only), and what each step should do.

```text theme={null}
When a new row is added to my "Leads" Google Sheet, look up the company
in Clearbit, then post a summary to my #new-leads Slack channel.
```

Your agent reads the `zapier:build-workflows` skill and responds with a build plan: the apps and connections it found, the trigger it will use, and the steps in order. Review the plan before continuing.

<Tip>
  If your agent suggests a single app's built-in action instead of a build plan, ask it to read the `zapier:build-workflows` skill by name. If that does not work, reconnect your MCP client to refresh your tool list. Workflow tools call this skill automatically, so an outdated tool list can skip it.
</Tip>

## 2. Let your agent test the workflow

Once you approve the plan, your agent writes the workflow's TypeScript code, saves it to a draft, and runs a test with sample input using the workflow tool [`run_workflow_draft`](/mcp/overview/how-tools-work#workflow-tools). Nothing is live yet: draft test runs execute unpublished code and do not affect your published workflows.

Your agent reports the test result, including any errors. If the test fails, it fixes the code and retests until the result matches the plan you approved in step 1.

Ask for the editor link at this point if you want to check the draft in the [Workflow Manager](https://help.zapier.com/hc/en-us/articles/49005047515021-Use-the-Workflow-Manager-to-build-and-view-your-Next-Gen-Zaps) while it is still a draft, before anything publishes.

## 3. Publish and verify

Once the test passes, your agent publishes the draft with the workflow tool [`publish_workflow_draft`](/mcp/overview/how-tools-work#workflow-tools) and confirms the deployment:

* For a triggered workflow, it confirms the trigger claimed successfully and is `active`.
* For a manual workflow, it confirms the workflow is enabled with no trigger attached.

Ask for the editor link if you want to review the deployed workflow yourself.

## What you built

A Next Gen Zap that keeps running independently of your MCP client conversation.

This workflow is agentically managed by default: an agent watches its runs and can apply some fixes without your approval. Review [Agentic Management](https://help.zapier.com/hc/en-us/articles/49007548829069) to control what it can change.

## Managing your Next Gen Zap

Once published, you can manage the same Next Gen Zap in two ways:

* **Your MCP client**: ask your agent to run it, check its history, turn it on or off, or make changes, using the same [workflow tools](/mcp/overview/how-tools-work#workflow-tools) you used to build it.
* **The [Workflow Manager](https://help.zapier.com/hc/en-us/articles/49005047515021-Use-the-Workflow-Manager-to-build-and-view-your-Next-Gen-Zaps)**: review the flow diagram, edit the [code directly](https://help.zapier.com/hc/en-us/articles/49005047515021-Use-the-Workflow-Manager-to-build-and-view-your-Next-Gen-Zaps#visual-and-code-views), check run history, or turn the workflow on and off.

## Security considerations

Use judgment about which Zapier account, app connections, and data you make available while testing Next Gen Zaps. If an agent has access to private data, is exposed to untrusted instructions, and is allowed to send data elsewhere, it could take actions you did not intend, including sharing sensitive information.

Start with low-risk workflows and app connections. Avoid connecting accounts that contain highly sensitive data, such as legal documents, financial records, or private company files.

If you want a stricter safety boundary, use a separate Zapier account, less-sensitive app connections, or a dedicated test workspace.

## Limitations

* Next Gen Zap's TypeScript code has a 200,000-character limit.
* You can only import Zaps that you own. To import someone else's Zap, duplicate it or change its ownership to yourself first.

### Enterprise customers

Early access is enabled for your entire account, including all workspaces. You cannot limit it to specific workspaces or users. To turn off early access, [contact Zapier support](https://zapier.com/app/get-help).

Do not run your most sensitive workflows through Next Gen Zaps during early access.

<AccordionGroup>
  <Accordion title="Enterprise features not yet supported in Next Gen Zaps">
    Some Enterprise features are not supported in Next Gen Zaps during early access, and some are not yet confirmed to work the same way.

    **Governance and audit**

    * Audit log
    * Log Streams
    * Change History (per asset)
    * Action restrictions
    * Custom data retention
    * Analytics (Admin Center)
    * Approval requests (publish approval)
    * API Scanner

    **Collaboration and permissions**

    * Sharing and per-asset permissions (viewer role only; editor role is unavailable)
    * Workspaces
    * Folders and folder permissions
    * Managed app connections
    * Offboarding

    **Workflow and management**

    * Alerts page
    * Sub-Zaps
    * Global, Zap, and System variables
    * Bring Your Own Model
    * Templates
    * Zap notes
    * Premium app entitlements
    * Autoreplay, flood protection, and polling customization
    * Timezone and locale
    * Manual editing parity

    **Compliance, infrastructure, and support**

    * Raw API access via Relay
    * Static IP
    * SOC 2 audit scope
    * Self-serve data deletion and retention controls
    * Priority support and Technical Account Manager
    * Task limits and billing

    Check the [Zapier pricing page](https://zapier.com/pricing) to learn more about these features.
  </Accordion>
</AccordionGroup>

## Next steps

<CardGroup cols={3}>
  <Card title="How tools work" href="/mcp/overview/how-tools-work#workflow-tools">
    The full list of workflow tools, and how the `build-workflows` skill fits in.
  </Card>

  <Card title="Get started with Next Gen Zaps" href="https://help.zapier.com/hc/en-us/articles/48391476448141">
    Use-case ideas for Next Gen Zaps.
  </Card>

  <Card title="What is Zapier MCP?" href="/mcp/home">
    How your MCP client connects to your Zapier apps.
  </Card>

  <Card title="Use the Workflow Manager" href="https://help.zapier.com/hc/en-us/articles/49005047515021">
    Build and view your Next Gen Zaps in the Workflow Manager.
  </Card>

  <Card title="Create drafts and versions" href="https://help.zapier.com/hc/en-us/articles/49007970890509">
    Publish your changes and review earlier versions of a Next Gen Zap.
  </Card>

  <Card title="Agentic Management" href="https://help.zapier.com/hc/en-us/articles/49007548829069">
    Let an agent monitor a workflow and fix it when a run fails.
  </Card>
</CardGroup>
