# CATS + Code by Zapier Integrations: Connect with Zapier MCP
> zapier.com/apps/cats/integrations/code
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate CATS and Code by Zapier in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## 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

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · 01929fad-d3dd-62c2-52ed-7868d5fcc691`.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "code",
  actionType: "write",
  action: "01929fad-d3dd-62c2-52ed-7868d5fcc691",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action code write 01929fad-d3dd-62c2-52ed-7868d5fcc691 \
  --inputs '{}'
```

## CATS

### Identity
CATS is an applicant tracking system. Manage the entire tracking process from posting jobs to leading job boards and social networks to generating customized reports. Collect applications with the hosted career portal and find the right candidates with searching capabilities.

- App slug: cats
- Operations published here: 27 (16 events, 6 functions, 5 queries)

### Authentication
Zapier connects to CATS 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 cats
```

### Capabilities

#### Events (16)

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

##### Custom Trigger
Creates a new trigger type that can be used in CATS workflows.

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

##### New Activity
Triggers when an activity is created.

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

##### New Candidate
Triggers when a candidate is created.

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

##### New Company
Triggers when a company is created.

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

##### New Contact
Triggers when a contact is created.

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

##### New Job
Triggers when a job is created.

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

##### New Pipeline
Triggers when a candidate is added to a job.

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

##### New User
Triggers when a user is created.

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

##### Company Status Changed
Triggers when a company's status is changed.

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

##### Contact Status Changed
Triggers when a contact's status is changed.

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

##### Job Status Changed
Triggers when a job's status is changed.

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

##### Candidate Updated
Triggers when a candidate is updated.

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

##### Company Updated
Triggers when a company is updated.

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

##### Contact Updated
Triggers when a contact is updated.

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

##### Pipeline Updated
Triggers when a candidates status for a job is updated.

- Type: read · Key: `update_pipeline`
- Requires: workflow_id, status_id
- SDK: `runAction({ app: "cats", actionType: "read", action: "update_pipeline" })`
- CLI: `npx zapier-sdk run-action cats read update_pipeline`

##### User Updated
Triggers when a user is updated.

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

#### Functions (6)

Functions change something in CATS.

##### Create a Candidate
Adds a new candidate in CATS.

- Type: write · Key: `create_candidate`
- Requires: first_name, last_name
- Optional: middle_name, title, emails__primary, emails__secondary, address__street, address__city, address__state, address__postal_code, website, phones__home, phones__cell, phones__work, social_media_urls, best_time_to_call, current_employer, date_available, current_pay, desired_pay, is_willing_to_relocate, key_skills, notes, is_active, is_hot, resume_url
- SDK: `runAction({ app: "cats", actionType: "write", action: "create_candidate" })`
- CLI: `npx zapier-sdk run-action cats write create_candidate`

##### Create a Company
Adds a new company in CATS.

- Type: write · Key: `create_company`
- Requires: name, owner_id
- Optional: website, address__street, address__city, address__state, address__postal_code, phones__primary, phones__secondary, phones__fax, social_media_urls, notes, is_hot, key_technologies, user_groups
- SDK: `runAction({ app: "cats", actionType: "write", action: "create_company" })`
- CLI: `npx zapier-sdk run-action cats write create_company`

##### Create a Contact
Adds a new contact in CATS.

- Type: write · Key: `create_contact`
- Requires: first_name, last_name, owner_id
- Optional: company_id, create_company_by_name, title, emails__primary, emails__secondary, phones__work, phones__cell, phones__other, has_left_company, address__street, address__city, address__state, address__postal_code, social_media_urls, is_hot, notes
- SDK: `runAction({ app: "cats", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action cats write create_contact`

##### Create a Job
Adds a new job in CATS.

- Type: write · Key: `create_job`
- Requires: title, location__city, location__state, location__postal_code, company_id
- Optional: contact_id, owner_id, recruiter_id, category_name, is_hot, start_date, salary, duration, type, openings, description, notes, user_groups
- SDK: `runAction({ app: "cats", actionType: "write", action: "create_job" })`
- CLI: `npx zapier-sdk run-action cats write create_job`

##### Add Candidate to Pipeline
Add a candidate to a job pipeline.

- Type: write · Key: `create_pipeline`
- Requires: candidate_id, job_id, create_activity
- Optional: rating
- SDK: `runAction({ app: "cats", actionType: "write", action: "create_pipeline" })`
- CLI: `npx zapier-sdk run-action cats write create_pipeline`

##### Create a Task
Adds a new task in CATS.

- Type: write · Key: `create_task`
- Requires: data_item__type, data_item__id, assigned_to_id, description, priority
- Optional: date_due
- SDK: `runAction({ app: "cats", actionType: "write", action: "create_task" })`
- CLI: `npx zapier-sdk run-action cats write create_task`

#### Queries (5)

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

##### Find a Candidate
Search for a candidate.

- Type: search · Key: `candidate`
- Requires: nothing
- Optional: candidateId, query
- SDK: `runAction({ app: "cats", actionType: "search", action: "candidate" })`
- CLI: `npx zapier-sdk run-action cats search candidate`

##### Find a Company
Search for a company.

- Type: search · Key: `company`
- Requires: nothing
- Optional: companyId, query
- SDK: `runAction({ app: "cats", actionType: "search", action: "company" })`
- CLI: `npx zapier-sdk run-action cats search company`

##### Find a Contact
Search for a contact.

- Type: search · Key: `contact`
- Requires: nothing
- Optional: contactId, query
- SDK: `runAction({ app: "cats", actionType: "search", action: "contact" })`
- CLI: `npx zapier-sdk run-action cats search contact`

##### Find a Job
Search for a job.

- Type: search · Key: `job`
- Requires: nothing
- Optional: jobId, query
- SDK: `runAction({ app: "cats", actionType: "search", action: "job" })`
- CLI: `npx zapier-sdk run-action cats search job`

##### Find a User
Search for a user.

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

## Code by Zapier

### Identity
Write custom Python or Javascript code in response to any data from any service! Transform, mutate, customize or even do custom HTTP in a native and familiar environment.

- App slug: code
- Operations published here: 4 (2 events, 2 functions)

### Capabilities

#### Events (2)

Events fire when something happens in Code by Zapier. Use them to start a run.

##### Run Python
Use Python to kick off a workflow.  This is an advanced action!  Uses the latest supported version of Python.

- Type: read · Key: `01929fad-d3c3-301b-6108-52ea63edb8ea`
- Requires: code
- Optional: zap_id, zap_step_id
- SDK: `runAction({ app: "code", actionType: "read", action: "01929fad-d3c3-301b-6108-52ea63edb8ea" })`
- CLI: `npx zapier-sdk run-action code read 01929fad-d3c3-301b-6108-52ea63edb8ea`

##### Run Javascript
Use Javascript to kick off a workflow.  This is an advanced action!  Uses the latest supported version of Node.

- Type: read · Key: `01929fad-d3a5-77c0-55e2-ddf8d28eb2ad`
- Requires: code
- Optional: zap_id, zap_step_id
- SDK: `runAction({ app: "code", actionType: "read", action: "01929fad-d3a5-77c0-55e2-ddf8d28eb2ad" })`
- CLI: `npx zapier-sdk run-action code read 01929fad-d3a5-77c0-55e2-ddf8d28eb2ad`

#### Functions (2)

Functions change something in Code by Zapier.

##### Run Javascript
Run Javascript code  This is an advanced action!  Uses the latest supported version of Node.

- Type: write · Key: `01929fad-d3dd-62c2-52ed-7868d5fcc691`
- Requires: code
- Optional: zap_id, zap_step_id, input
- SDK: `runAction({ app: "code", actionType: "write", action: "01929fad-d3dd-62c2-52ed-7868d5fcc691" })`
- CLI: `npx zapier-sdk run-action code write 01929fad-d3dd-62c2-52ed-7868d5fcc691`

##### Run Python
Run Python code  This is an advanced action!  Uses the latest supported version of Python.

- Type: write · Key: `01929fad-d3f6-c57c-1b40-ef8691be1f86`
- Requires: code
- Optional: zap_id, zap_step_id, input
- SDK: `runAction({ app: "code", actionType: "write", action: "01929fad-d3f6-c57c-1b40-ef8691be1f86" })`
- CLI: `npx zapier-sdk run-action code write 01929fad-d3f6-c57c-1b40-ef8691be1f86`

## Links
- CATS integrations: zapier.com/apps/cats/integrations.md
- Code by Zapier integrations: zapier.com/apps/code/integrations.md
- Full page: zapier.com/apps/cats/integrations/code
- SDK: npmjs.com/package/@zapier/zapier-sdk