AGENT?Skip the UI.GET /llms.txtto find and install a zap

AUTOMATIONS

Working automations, written as code. Paste one prompt into any agent. It creates a Zap and deploys it to Zapier.

Try it now

Read https://zapier.sh/ ask me what I want to automate, then build the zap that fits using Zapier MCP.

Paste this into any agent with Zapier MCP

Works with any agent on Zapier MCP

The framework

Automations as code, in plain files.

zap is a framework for building automations that run on Zapier. Each automation is a folder of plain files, and each file's path decides how it deploys.

zaps/slack-reaction/

workflow.ts
1import { defineDurable } from "@zapier/zapier-durable";2import { createZapierSdk } from "@zapier/zapier-sdk";3 4import { SLACK_CHANNEL_ID } from "@/config";5import slack from "@/connections/slack";6 7const sdk = createZapierSdk();8 9export default defineDurable("slack-reaction", async (ctx, input) => {10  return ctx.step("post-to-triage", () =>11    sdk.runAction({12      appKey: "slack",13      actionType: "write",14      actionKey: "channel_message",15      connection: slack,16      inputs: { channel: SLACK_CHANNEL_ID, text: `Support request: ${input.text}` },17    }),18  );19});
TypeScriptrequired

The zap itself: a durable workflow in TypeScript. It imports its settings, connections and helpers from the files next to it. Each zap step has a name, so a retried run never repeats one.

Ready-to-install Zaps

Start from a working zap, or use one as the starting point for your own.

Try
Category

FAQ

What does zapier.sh do?
It lists working Next Gen Zaps: Zapier automations written as code. Paste one prompt into any agent with Zapier MCP and it builds the zap in your Zapier account. Or install one from your terminal with the zap-pack CLI and deploy it with one command.
Who is it for?
Anyone with a Zapier account who works with an AI agent, like Claude, ChatGPT or Cursor, or in a terminal, and wants an automation that already works instead of starting from a blank page.
What does it cost?
zapier.sh and the zap-pack CLI are free. A zap runs in your own Zapier account and uses tasks from your plan: each successful step uses tasks. Zapier's Free plan includes 100 tasks a month, and paid plans add more. See zapier.com/pricing.
How is it different from a Zap template?
A Zap template on zapier.com sets up a Zap that you finish in Zapier's editor. A zap here is a Next Gen Zap: the whole workflow is plain TypeScript plus an install guide, so your agent can read it, build it in your account and test it, and you can keep it in git.