# Zapier — Clientbox Integrations
> zapier.com/apps/clientbox/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
Clientbox is a business software for business service providers.

- App slug: clientbox
- Operations published here: 11 (5 events, 4 functions, 2 queries)

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

- Auth type: oauth
- 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 clientbox
```

## 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/clientbox/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect Clientbox 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 · add_label_to_relation`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action clientbox write add_label_to_relation \
  --inputs '{}'
```

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

### Events (5)

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

#### Relation Deleted
Triggers when a relation is deleted.

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

#### New Relation
Triggers when a new relation is created.

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

#### Relation Label Added
Triggers when a label is added to a relation.

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

#### Relation Label Removed
Triggers when a label is removed from a customer.

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

#### Relation Lead Status Changed
Triggers when the lead status of a relation is changed.

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

### Functions (4)

Functions change something in Clientbox.

#### Add Label to Relation
Add a Label to a Relation.

- Type: write · Key: `add_label_to_relation`
- Requires: relation_id, label_id
- SDK: `runAction({ app: "clientbox", actionType: "write", action: "add_label_to_relation" })`
- CLI: `npx zapier-sdk run-action clientbox write add_label_to_relation`

#### Create Company Relation
Create a relation of the type Company.

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

#### Create Person Relation
Create a relation of the type Person.

- Type: write · Key: `create_person_relation`
- Requires: last_name
- Optional: first_name, middle_name
- SDK: `runAction({ app: "clientbox", actionType: "write", action: "create_person_relation" })`
- CLI: `npx zapier-sdk run-action clientbox write create_person_relation`

#### Remove Label From Relation
Remove a Label from a Relation.

- Type: write · Key: `remove_label_from_relation`
- Requires: relation_id, label_id
- SDK: `runAction({ app: "clientbox", actionType: "write", action: "remove_label_from_relation" })`
- CLI: `npx zapier-sdk run-action clientbox write remove_label_from_relation`

### Queries (2)

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

#### Find Relation
Finds a relation in the system

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

#### Find Relation Label
Finds a Relation Label in the system

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

## Popular integrations
- [Clientbox + MailerLite](zapier.com/apps/clientbox/integrations/mailerlite.md)

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