---
name: zapier-sdk
description: Build agent tools and backend integrations with the Zapier TypeScript SDK for programmatic access to 9,000+ apps.
---

# Zapier SDK

The Zapier TypeScript SDK gives your code programmatic access to 9,000+ app integrations. Use it to build AI agent tools, backend services, and automation pipelines that interact with business apps through Zapier's authenticated connection layer.

## When to use this skill

- You're building an AI agent or backend service that needs to interact with business apps (Slack, Sheets, Jira, etc.)
- You want typed, programmatic access to Zapier actions — not just an MCP connection
- You need to run Zapier actions from server-side code, CI/CD pipelines, or custom tooling

## Prerequisites

- Node.js 20+
- A Zapier account with at least one connected app

## Install

```bash
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli @types/node typescript
```

## Authenticate

```bash
npx zapier-sdk login
```

Opens a browser for OAuth. For server deployments, use client credentials instead.

## Generate types for your apps

```bash
npx zapier-sdk add slack google-sheets jira
```

This generates TypeScript types for type-safe interactions with those apps.

## Use in code

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

const zapier = createZapierSdk();

// List available connections
const connections = await zapier.connections.list();

// Run an action
await zapier.actions.run("slack", "send_channel_message", {
  channel: "#general",
  message: "Deployed v2.1.0 successfully"
});

// Bind an app for cleaner syntax
const sheets = zapier.app("google-sheets");
await sheets.run("add_row", {
  spreadsheet: "Leads",
  values: { name: "Acme Corp", status: "New" }
});
```

## CLI for exploration

```bash
# List your connected apps
npx zapier-sdk apps

# List actions for an app
npx zapier-sdk actions slack

# Run an action interactively
npx zapier-sdk run slack send_channel_message
```

## npm packages

- `@zapier/zapier-sdk` — core SDK
- `@zapier/zapier-sdk-cli` — CLI tool
- `@zapier/zapier-sdk-core` — low-level core
- `@zapier/zapier-sdk-mcp` — MCP server module

## Documentation

- SDK overview: https://docs.zapier.com/sdk
- Quickstart: https://docs.zapier.com/sdk/quickstart
- API reference: https://docs.zapier.com/sdk/reference
- CLI reference: https://docs.zapier.com/sdk/cli-reference
- Source: https://github.com/zapier/sdk

## Related skills

- `zapier-mcp` — connect via MCP instead of SDK
- `zapier-embed-mcp` — embed Zapier in your product
