# CodeBlox + Pure Leads Integrations: Connect with Zapier MCP
> zapier.com/apps/codeblox/integrations/pureleads
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate CodeBlox and Pure Leads 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 · create_contact`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action pureleads write create_contact \
  --inputs '{}'
```

## CodeBlox

### Identity
CodeBlox is a no-code Platform that offers both Prebuilt Enterprise Apps (in our AppStore) and Custom Apps easily created using our Design Center.

- App slug: codeblox
- Operations published here: 3 (2 events, 1 function)

### Authentication
Zapier connects to CodeBlox 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 codeblox
```

### Capabilities

#### Events (2)

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

##### New Record
Triggers when new record created.

- Type: read · Key: `new_record`
- Requires: nothing
- Optional: blox, rule_action, action
- SDK: `runAction({ app: "codeblox", actionType: "read", action: "new_record" })`
- CLI: `npx zapier-sdk run-action codeblox read new_record`

##### Upsert Record
Trigger when new record gets created or existing record gets updated.

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

#### Functions (1)

Functions change something in CodeBlox.

##### Create Record
Create new record in the selected Blox

- Type: write · Key: `record_create`
- Requires: blox
- Optional: rule_action, action
- SDK: `runAction({ app: "codeblox", actionType: "write", action: "record_create" })`
- CLI: `npx zapier-sdk run-action codeblox write record_create`

## Pure Leads

### Identity
Pureleads helps capture, track, distribute and manage your leads with ease. Grow faster with our scalable lead generation software .

- App slug: pureleads
- Operations published here: 3 (2 events, 1 function)

### Authentication
Zapier connects to Pure Leads 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 pureleads
```

### Capabilities

#### Events (2)

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

##### New Lead Assigned
Triggers when a lead within the account is assigned.

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

##### New Lead Submission
Triggers when a new lead is submitted.

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

#### Functions (1)

Functions change something in Pure Leads.

##### New Lead Submission
Action when new lead is submitted.

- Type: write · Key: `create_contact`
- Requires: name
- Optional: email, mobile_no
- SDK: `runAction({ app: "pureleads", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action pureleads write create_contact`

## Links
- CodeBlox integrations: zapier.com/apps/codeblox/integrations.md
- Pure Leads integrations: zapier.com/apps/pureleads/integrations.md
- Full page: zapier.com/apps/codeblox/integrations/pureleads
- SDK: npmjs.com/package/@zapier/zapier-sdk