# Zapier — Krayin CRM Integrations
> zapier.com/apps/krayin-crm/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
Krayin CRM is a customer relationship management platform that helps sales teams (users) manage leads, contacts, organizations, quotes and their sales pipeline.

- App slug: krayin-crm
- Operations published here: 13 (9 events, 4 functions)

## Authentication
Zapier connects to Krayin CRM 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 krayin-crm
```

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

### Getting Started
- **MCP**: connect Krayin CRM 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_lead`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action krayin-crm write create_lead \
  --inputs '{}'
```

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

### Events (9)

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

#### New Lead
Triggers when a lead is created in Krayin.

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

#### Deleted Lead
Triggers when a lead is deleted. The full record is sent, captured before it was removed.

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

#### Updated Lead
Triggers when a lead changes, including a move to a different stage.

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

#### New Person
Triggers when a person is created in Krayin.

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

#### Deleted Person
Triggers when a person is deleted, including via the bulk delete action.

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

#### Updated Person
Triggers when a person changes in Krayin.

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

#### New Quote
Triggers when a quote is created in Krayin.

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

#### Deleted Quote
Triggers when a quote is deleted in Krayin.

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

#### Updated Quote
Triggers when a quote is updated in Krayin.

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

### Functions (4)

Functions change something in Krayin CRM.

#### Create Lead
Creates a lead in Krayin, attaching it to a person matched by email.

- Type: write · Key: `create_lead`
- Requires: title
- Optional: description, lead_value, lead_pipeline_id, lead_pipeline_stage_id, lead_source_id, lead_type_id, user_id, expected_close_date, person_email, person_name, person_phone, person_job_title
- SDK: `runAction({ app: "krayin-crm", actionType: "write", action: "create_lead" })`
- CLI: `npx zapier-sdk run-action krayin-crm write create_lead`

#### Create Person
Creates a contact in Krayin. If someone already has this email, that contact is returned instead of a duplicate.

- Type: write · Key: `create_person`
- Requires: name, email
- Optional: phone, job_title, organization_id, user_id
- SDK: `runAction({ app: "krayin-crm", actionType: "write", action: "create_person" })`
- CLI: `npx zapier-sdk run-action krayin-crm write create_person`

#### Update Lead
Updates a lead in Krayin. Only the fields you fill in are changed; the rest are left alone.

- Type: write · Key: `update_lead`
- Requires: lead_id
- Optional: title, description, lead_value, lead_pipeline_stage_id, lead_source_id, lead_type_id, user_id, expected_close_date
- SDK: `runAction({ app: "krayin-crm", actionType: "write", action: "update_lead" })`
- CLI: `npx zapier-sdk run-action krayin-crm write update_lead`

#### Update Person
Updates an existing contact in Krayin.

- Type: write · Key: `update_person`
- Requires: person_id
- Optional: name, email, phone, job_title, organization_id, user_id
- SDK: `runAction({ app: "krayin-crm", actionType: "write", action: "update_person" })`
- CLI: `npx zapier-sdk run-action krayin-crm write update_person`

## Popular integrations
- [Krayin CRM + Gmail](zapier.com/apps/krayin-crm/integrations/gmail.md)
- [Krayin CRM + Airtable](zapier.com/apps/krayin-crm/integrations/airtable.md)
- [Krayin CRM + ActiveCampaign](zapier.com/apps/krayin-crm/integrations/activecampaign.md)

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