项目介绍
Agent 开发框架 · 2026-11-09 更新 · 本站尚未实测
Zapier SDK(zapier/sdk 仓库)为开发者提供通过 npm 包 @zapier/zapier-sdk 以编程方式访问 Zapier 应用生态的能力。README 将其定位为“让你的 agent 连接任何应用,Zapier 托管密钥”,即由 Zapier 持有用户的 OAuth 授权,调用方代码无需直接接触访问令牌。仓库本身还打包了 SDK 文档、经过校验的示例,以及可安装的 Agent Skill 与子代理说明。需要说明的是,这是一个 SDK 与配套技能资料仓库,并非独立部署的 Agent 产品。
核心能力
点击能力名称查看输入、输出和原文依据。
- 通过
createZapierSdk()在代码中调用 Zapier 的动作目录,并在运行时解析动作 schema。 - 使用 CLI 完成登录、查看配置、管理连接,以及从命令行直接执行动作(
run-action)。 - 内置
zapier-sdk技能(skill),用于指导 AI 编程助手如何认证、发现应用与动作、避免虚构动作键。 - 提供
zapier-sdk-explorer只读子代理,用于在写代码前对照实时目录确认应用、动作与字段 ID。 - 仓库内的
examples/按应用、领域与模式三种方式组织示例,便于参考与检索。
实际应用场景
适用场景
适合需要在自有后端或 AI 编程助手工作流中,以程序化方式触发 Zapier 已连接应用动作的开发者。例如:按标题搜索 Notion 页面、按查询语法搜索 Gmail 邮件、按列值查找 Google Sheets 行、按字段查找 Airtable 记录等。README 声称支持 Zapier 的 9000 多款应用,但具体可用应用与动作仍以实时目录为准。
安装与接入
README 给出的基础步骤为:
- 安装运行时 SDK 与 CLI 开发依赖:
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli @types/node typescript
- 登录并查看配置(凭据会保存在本机,后续调用
createZapierSdk()时自动读取):
npx zapier-sdk login
npx zapier-sdk get-profile
- 为需要调用的应用创建 OAuth 连接(每条命令会打开浏览器完成授权):
npx zapier-sdk create-connection notion
- 执行动作,例如搜索 Notion 页面:
npx zapier-sdk run-action notion search page_by_title \
--inputs '{"title":"Meeting Notes","exact_match":"no"}'
如希望由 AI 编程助手辅助安装,README 提供了 Claude Code、OpenAI Codex、GitHub Copilot CLI 的插件安装方式;对于其他助手,可克隆仓库并在助手的规则或说明文件中引用 skills/zapier-sdk/SKILL.md。完整命令与参数请以仓库内 CLI 参考与 docs.zapier.com/sdk 为准。
使用条件与限制
- 是否需要部署
- 需自行准备运行环境,具体要求见正文
- 是否需要注册
- 账号和认证要求见正文;未明确说明的项目仍待核验
- 是否需要 API Key
- 待核验
- 费用与额度
- 费用边界见正文,项目许可不代表模型或托管服务免费
- 所需权限
- 待核验
- 许可证与服务条款
- 待核验
权限费用与限制
- 使用该 SDK 需要注册或拥有 Zapier 账户,并通过 OAuth 授权所需应用;具体账户等级与可用功能未在本仓库资料中说明,待核验。
- SDK 代码以 MIT 许可发布,但通过 SDK 使用 Zapier 服务与 API 受 Zapier 服务条款或你与 Zapier 的其他协议约束;服务本身是否免费、各套餐价格与限制需向 Zapier 官方核验。
- README 称凭据保存在本机并由
createZapierSdk()自动读取,但具体存储位置与安全机制未在本仓库中展开,待核验。 - 调用动作需要用户已建立对应应用的 OAuth 连接;未连接的应用无法直接调用。
- README 未说明中国大陆网络环境下的可用性、延迟或合规情况,待核验。
国内使用情况
网友核验 用户经验分享
与站长实测独立,不代表官方认证或本站已实测。
最近核验:暂无有效核验。参与人数按当前项目有效身份去重;不同核验项分别统计,不合并成用户总结果。仅统计审核通过且未过期的记录。
分项统计、有效期与样本量
| 核验项目 | 有效人数 | 成功 / 部分 / 失败 / 无法判断 | 成功率 | 最近核验 / 有效期 |
|---|---|---|---|---|
| 官方网站访问 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| GitHub 仓库访问 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| 安装与运行 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 官方服务国内连接 / MCP 连接 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 国内网络情况 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| 国内模型兼容性 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 自定义 API | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 海外服务依赖 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 海外账号要求 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 中文界面 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 客户端兼容性 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 账号及费用信息 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
成功率 = 成功 ÷(成功 + 部分成功 + 失败);无法判断不计入分母。至少 5 份可判断结果才显示成功率。账号、费用、海外依赖与语言等事实项,成功表示核查结论与资料吻合,具体观察另行统计;不表示免费或没有海外依赖。不同网络、客户端和版本的结果不能直接等同。
最近有效核验
暂无审核通过且未过期的网友核验。欢迎提交真实使用记录。
查看全部有效核验 →国内实测状态:国内可用性待核验。协议兼容和官方资料说明不等于国内网络可用。
- 官方网站访问
- 尚未实测 待核验
- GitHub 仓库访问
- 尚未实测 待核验
- 官方服务国内连接
- 尚未实测 待核验
- 国内网络情况
- 尚未实测 待核验
- 国内模型兼容性
- 尚未实测 待核验
- 自定义 API
- 尚未实测 待核验
- 海外服务依赖
- 尚未实测 待核验
- 海外账号要求
- 尚未实测 待核验
- 中文界面
- 尚未实测 待核验
- 国内最后核验时间
- 尚未实测
许可与国内使用
仓库代码采用 MIT 许可证(见 LICENSE),该许可仅覆盖代码本身,不覆盖 Zapier 托管服务、第三方应用或相关商标。Zapier 服务与 API 的使用受 Zapier 服务条款单独约束。README 未声明服务部署地域、数据存储位置或中国大陆使用政策,国内使用前需自行核验网络可达性、数据跨境与合规要求。
许可证仅依据仓库 LICENSE 文件说明;商业模块、托管服务与第三方模型/应用的授权情况待核验。
项目资料与来源
字段依据与待核验事项
access:来源确认 · npm install @zapier/zapier-sdk
project_type:来源确认 · This repo bundles the SDK's docs, verified examples, and installable agent skills.
原始 README(折叠技术参考)
<div align="center">
<img src="assets/readme/banner.svg" width="100%" alt="Zapier SDK — let your agent connect to anything; Zapier handles the keys. A pixel-art key on a keyring of app-colored charms.">
</div>
Let your agent connect to anything. Zapier handles the keys.
Programmatic access to Zapier's full app ecosystem via [`@zapier/zapier-sdk`](https://www.npmjs.com/package/@zapier/zapier-sdk) on npm. Any API call, on behalf of a user.
This repo bundles the SDK's docs, verified examples, and installable agent skills.

<sub>Captured CLI output, replayed — not a mockup. The copyable commands are in <a href="#getting-started">Getting started</a> below; the capture provenance lives in <a href=".github/scripts/readme-art/transcript.mjs"><code>transcript.mjs</code></a>.</sub>
## Getting started
Prefer to let your AI coding assistant handle setup? [Install as a plugin instead](#install-with-your-favorite-ai-coding-assistant).
### 1. Install
```bash
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli @types/node typescript
```
### 2. Authenticate
Log in once. Your credentials get stored on your machine and picked up automatically the next time you call `createZapierSdk()`.
```bash
npx zapier-sdk login
npx zapier-sdk get-profile
```
### 3. Connect an app
Every action needs a *connection*: an OAuth grant Zapier holds for the app you're calling. Add one (or several) for whichever apps you want to try. Each `create-connection` command opens a browser for OAuth.
```bash
npx zapier-sdk list-connections
npx zapier-sdk create-connection notion
npx zapier-sdk create-connection gmail
npx zapier-sdk create-connection google-sheets
npx zapier-sdk create-connection airtable
```
Any of Zapier's 9,000+ apps works. Swap `notion` for the slug you need.
### 4. Fire an action
Once you have a connection, `run-action` calls any action from the CLI.
```bash
# Search Notion pages by title
npx zapier-sdk run-action notion search page_by_title \
--inputs '{"title":"Meeting Notes","exact_match":"no"}'
# Search Gmail with the standard Gmail query syntax
npx zapier-sdk run-action gmail search message \
--inputs '{"query":"from:receipts@stripe.com"}'
# Look up a Google Sheets row by column value
npx zapier-sdk run-action google-sheets search lookup_row \
--inputs '{"spreadsheet":"<sheet-id>","worksheet":"<tab-id>","lookup_key":"Email","lookup_value":"jane@example.com"}'
# Find an Airtable record by field
npx zapier-sdk run-action airtable search findRecord \
--inputs '{"applicationId":"<base-id>","tableName":"Leads","searchByField":"Email","searchByValue":"jane@example.com"}'
```
See more actions in [`examples/by-app/`](./examples/by-app). Full API reference at [docs.zapier.com/sdk/reference](https://docs.zapier.com/sdk/reference). Want to see more examples in this repo? [Open a PR](./CONTRIBUTING.md) — contributions welcome.
## Examples
The [`examples/`](./examples) directory is the heart of this repo — indexed three ways:
- **[`by-app/`](./examples/by-app)** — plain single-action SDK examples, one authenticated call.
- **[`by-domain/`](./examples/by-domain)** — curation-only READMEs mapping a domain (engineering, real estate, ...) to the examples that matter.
- **[`by-pattern/`](./examples/by-pattern)** — end-to-end automations by shape (notify-on-event, data-sync, lead-routing, scheduled-report).
## How it fits together
Your code calls one npm package; Zapier holds the OAuth grants and resolves action schemas at runtime, so your code never touches a token.

## Install with your favorite AI coding assistant
Drop every best practice for writing Zapier SDK code straight into your agent's context. Your agent picks up:
- **The `zapier-sdk` skill**: how to authenticate, discover apps and actions at runtime, run actions without inventing method names, and reach for the right escape hatch when there's no first-class action.
- **The `zapier-sdk-explorer` subagent**: a read-only investigator that resolves exact app / action / field IDs against the live Zapier catalog before your agent writes a line of code.
- **The verified examples corpus**: every action key checked against `listActions` on the way in, so your agent has canonical, copy-paste-ready patterns to grep.
Result: fewer round trips to the docs, no more invented action keys, and workflows that work the first time.
### Claude Code
```
/plugin marketplace add zapier/marketplace
/plugin install sdk@zapier
```
### OpenAI Codex
```
codex plugin marketplace add zapier/marketplace
codex plugin add sdk@zapier
```
Or open the in-CLI picker with `/plugins` and toggle the SDK plugin on.
### GitHub Copilot CLI
```
copilot plugin marketplace add zapier/marketplace
copilot plugin install sdk@zapier
```
### Cursor and other assistants
The [skill](./skills/zapier-sdk/) conforms to [agentskills.io](https://agentskills.io) so any conformant runtime can load it directly. For tools without native agentskills.io support, clone the repo and reference `skills/zapier-sdk/SKILL.md` from your assistant's rules or instructions file (`.cursorrules`, `AGENTS.md`, `.github/copilot-instructions.md`, etc.):
```
git clone https://github.com/zapier/sdk.git
```
## Learn more
- **[zapier.com/sdk](https://zapier.com/sdk)** — product page, pricing, and what the SDK unlocks.
- **[docs.zapier.com/sdk](https://docs.zapier.com/sdk)** — SDK guides and tutorials.
- **[docs.zapier.com/sdk/reference](https://docs.zapier.com/sdk/reference)** — full method reference.
- **[docs.zapier.com/sdk/cli-reference](https://docs.zapier.com/sdk/cli-reference)** — CLI reference for `zapier-sdk`.
- **[`skills/zapier-sdk/references/cli-commands.md`](./skills/zapier-sdk/references/cli-commands.md)** — full CLI command inventory in-repo, generated from `zapier-sdk --help`.
- **[`@zapier/zapier-sdk`](https://www.npmjs.com/package/@zapier/zapier-sdk)** — runtime SDK on npm.
- **[`@zapier/zapier-sdk-cli`](https://www.npmjs.com/package/@zapier/zapier-sdk-cli)** — CLI companion on npm.
- **[Zapier MCP](https://github.com/zapier/zapier-mcp)** — the MCP-server alternative for tool-calling from Cursor, Claude Desktop, or Codex.
- **[`llms.txt`](./llms.txt)** — this repo's LLM-friendly index of the skill, examples, and agents.
- **[docs.zapier.com/llms.txt](https://docs.zapier.com/llms.txt)** — LLM-friendly index of the docs.
- **[docs.zapier.com](https://docs.zapier.com)** — everything else Zapier.
## Contributing
PRs and feature requests welcome. Start with [CONTRIBUTING.md](./CONTRIBUTING.md). For SDK security issues, email **security@zapier.com** — don't open a public issue.
## Trademarks
Product and company names used in these examples are trademarks of their respective owners and are used only to identify the service each example integrates with. These examples are not affiliated with, endorsed by, or sponsored by those companies.
## License
MIT (see [LICENSE](./LICENSE)) — covers the code only. Using the Zapier service and APIs through this SDK is governed separately by the [Zapier Terms of Service](https://zapier.com/legal/terms-of-service) or your other agreement with Zapier for use of the Zapier service.
历史前置条件说明(补充参考)
Node.js 与 npm 环境(README 使用 npm 安装,具体最低版本待核验);需要 Zapier 账户;调用动作前需为对应应用完成 OAuth 连接;凭据由 CLI 登录后保存在本机;服务费用与套餐限制待向 Zapier 官方核验;中国大陆网络可用性与数据合规待核验。
项目来源与清单版权许可
整理来源:https://github.com/slavakurilyak/awesome-ai-agents
清单版权与许可:
MIT License
Copyright (c) 2024 Slava Kurilyak
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.