# Zapier — ClosedCast Integrations
> zapier.com/apps/closedcast/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).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Identity
ClosedCast is a Private Streaming Archive. It transforms scattered videos into an organized, searchable streaming library that can be watched privately.

- App slug: closedcast
- Operations published here: 18 (7 events, 6 functions, 5 queries)

## Authentication
Zapier connects to ClosedCast via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection closedcast
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

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

### Getting Started
- **MCP**: connect ClosedCast through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · create_category`.
- **SDK**:

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

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "closedcast", owner: "me" });

const { data } = await zapier.runAction({
  app: "closedcast",
  actionType: "write",
  action: "create_category",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action closedcast write create_category \
  --inputs '{}'
```

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

### Events (7)

Events fire when something happens in ClosedCast. Use them to start a run.

#### Category Created
Triggers when a category is created.

- Type: read · Key: `category_created`
- Requires: nothing
- SDK: `runAction({ app: "closedcast", actionType: "read", action: "category_created" })`
- CLI: `npx zapier-sdk run-action closedcast read category_created`

#### Category Deleted
Triggers when a category is deleted.

- Type: read · Key: `category_deleted`
- Requires: nothing
- SDK: `runAction({ app: "closedcast", actionType: "read", action: "category_deleted" })`
- CLI: `npx zapier-sdk run-action closedcast read category_deleted`

#### Category Updated
Triggers when a category is updated.

- Type: read · Key: `category_updated`
- Requires: nothing
- SDK: `runAction({ app: "closedcast", actionType: "read", action: "category_updated" })`
- CLI: `npx zapier-sdk run-action closedcast read category_updated`

#### Contact Captured
Triggers when a contact is submitted.

- Type: read · Key: `contact_captured`
- Requires: nothing
- SDK: `runAction({ app: "closedcast", actionType: "read", action: "contact_captured" })`
- CLI: `npx zapier-sdk run-action closedcast read contact_captured`

#### Video Created
Triggers when a video is created.

- Type: read · Key: `video_created`
- Requires: nothing
- SDK: `runAction({ app: "closedcast", actionType: "read", action: "video_created" })`
- CLI: `npx zapier-sdk run-action closedcast read video_created`

#### Video Deleted
Triggers when a video is deleted.

- Type: read · Key: `video_deleted`
- Requires: nothing
- SDK: `runAction({ app: "closedcast", actionType: "read", action: "video_deleted" })`
- CLI: `npx zapier-sdk run-action closedcast read video_deleted`

#### Video Updated
Triggers when a video is updated.

- Type: read · Key: `video_updated`
- Requires: nothing
- SDK: `runAction({ app: "closedcast", actionType: "read", action: "video_updated" })`
- CLI: `npx zapier-sdk run-action closedcast read video_updated`

### Functions (6)

Functions change something in ClosedCast.

#### Create Category
Creates a new category.

- Type: write · Key: `create_category`
- Requires: category_name
- SDK: `runAction({ app: "closedcast", actionType: "write", action: "create_category" })`
- CLI: `npx zapier-sdk run-action closedcast write create_category`

#### Delete Category
Deletes an existing category.

- Type: write · Key: `delete_category`
- Requires: CategoryID
- SDK: `runAction({ app: "closedcast", actionType: "write", action: "delete_category" })`
- CLI: `npx zapier-sdk run-action closedcast write delete_category`

#### Delete Video
Deletes an existing video.

- Type: write · Key: `delete_video`
- Requires: nothing
- Optional: video_ID
- SDK: `runAction({ app: "closedcast", actionType: "write", action: "delete_video" })`
- CLI: `npx zapier-sdk run-action closedcast write delete_video`

#### Update Category
Updates an existing category.

- Type: write · Key: `update_category`
- Requires: CategoryID
- Optional: category_name
- SDK: `runAction({ app: "closedcast", actionType: "write", action: "update_category" })`
- CLI: `npx zapier-sdk run-action closedcast write update_category`

#### Update Video
Updates an existing video.

- Type: write · Key: `update_video`
- Requires: nothing
- Optional: VideoID, title, description, category_ID
- SDK: `runAction({ app: "closedcast", actionType: "write", action: "update_video" })`
- CLI: `npx zapier-sdk run-action closedcast write update_video`

#### Upload a Video
Uploads a video from a video url.

- Type: write · Key: `upload_video`
- Requires: title, file_url
- Optional: description, category_id
- SDK: `runAction({ app: "closedcast", actionType: "write", action: "upload_video" })`
- CLI: `npx zapier-sdk run-action closedcast write upload_video`

### Queries (5)

Queries read from ClosedCast and return data. They change nothing.

#### Find Category
Finds an existing category.

- Type: search · Key: `find_categories`
- Requires: nothing
- SDK: `runAction({ app: "closedcast", actionType: "search", action: "find_categories" })`
- CLI: `npx zapier-sdk run-action closedcast search find_categories`

#### Find Contact
Finds a contact submission.

- Type: search · Key: `find_contacts`
- Requires: nothing
- SDK: `runAction({ app: "closedcast", actionType: "search", action: "find_contacts" })`
- CLI: `npx zapier-sdk run-action closedcast search find_contacts`

#### Find Invite
Finds an existing invite.

- Type: search · Key: `find_invites`
- Requires: nothing
- SDK: `runAction({ app: "closedcast", actionType: "search", action: "find_invites" })`
- CLI: `npx zapier-sdk run-action closedcast search find_invites`

#### Find User
Finds a registered user.

- Type: search · Key: `find_users`
- Requires: nothing
- SDK: `runAction({ app: "closedcast", actionType: "search", action: "find_users" })`
- CLI: `npx zapier-sdk run-action closedcast search find_users`

#### Find Video
Finds an existing video.

- Type: search · Key: `find_videos`
- Requires: nothing
- SDK: `runAction({ app: "closedcast", actionType: "search", action: "find_videos" })`
- CLI: `npx zapier-sdk run-action closedcast search find_videos`

## Popular integrations
- [ClosedCast + Gmail](zapier.com/apps/closedcast/integrations/gmail.md)
- [ClosedCast + Google Drive](zapier.com/apps/closedcast/integrations/google-drive.md)
- [ClosedCast + Microsoft Outlook](zapier.com/apps/closedcast/integrations/microsoft-outlook.md)
- [ClosedCast + Airtable](zapier.com/apps/closedcast/integrations/airtable.md)
- [ClosedCast + ActiveCampaign](zapier.com/apps/closedcast/integrations/activecampaign.md)
- [ClosedCast + OneDrive](zapier.com/apps/closedcast/integrations/onedrive.md)

## Links
- Full app page: zapier.com/apps/closedcast/integrations
- MCP: zapier.com/mcp/closedcast
- SDK: npmjs.com/package/@zapier/zapier-sdk