# Contractbook + Nutshell Integrations: Connect with Zapier MCP
> zapier.com/apps/contractbook/integrations/nutshell-crm
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Contractbook and Nutshell 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 · activity`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action nutshell-crm write activity \
  --inputs '{}'
```

## Contractbook

### Identity
Contractbook is an easy signing and simple contract management tool for modern businesses.

- App slug: contractbook
- Operations published here: 16 (10 events, 6 functions)

### Authentication
Zapier connects to Contractbook 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 contractbook
```

### Capabilities

#### Events (10)

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

##### New Contract
Triggers when a new contract is sent.

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

##### Contract Updated
Triggers when a contract transitions to a new state.

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

##### Get Companies
Gets a list of companies.

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

##### Get Questionnaires
Gets a list of questionnaires

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

##### Drafter Questionnaire Has Been Completed
Triggers when a user has completed a questionnaire

- Type: read · Key: `drafter_questionnaire_completed_event`
- Requires: event, slug
- Optional: companyName
- SDK: `runAction({ app: "contractbook", actionType: "read", action: "drafter_questionnaire_completed_event" })`
- CLI: `npx zapier-sdk run-action contractbook read drafter_questionnaire_completed_event`

##### New Draft
Triggers when a new draft is created.

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

##### Draft Edited
Triggers when a draft is edited.

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

##### New Task
Triggers when a new task is created.

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

##### Task Updated
Triggers when a task is updated.

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

##### New Template
Triggers when a new template is created.

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

#### Functions (6)

Functions change something in Contractbook.

##### Create Contract
Creates and sends a new contract.

- Type: write · Key: `contract`
- Requires: template_id, recipient_type
- Optional: sender_signature_method, recipient_signature_method, title, attachments, subject, content, sender_reference, recipient_reference
- SDK: `runAction({ app: "contractbook", actionType: "write", action: "contract" })`
- CLI: `npx zapier-sdk run-action contractbook write contract`

##### Create Contract With Custom Parties
Creates and sends a new contract with advanced parties setup.

- Type: write · Key: `contract_custom_parties`
- Requires: template_id, signature_type
- Optional: title, attachments, subject, content, sender_reference
- SDK: `runAction({ app: "contractbook", actionType: "write", action: "contract_custom_parties" })`
- CLI: `npx zapier-sdk run-action contractbook write contract_custom_parties`

##### Create Draft
Creates a draft

- Type: write · Key: `draft`
- Requires: template_id, recipient_type
- Optional: sender_signature_method, recipient_signature_method, title, attachments, subject, content, sender_reference, recipient_reference
- SDK: `runAction({ app: "contractbook", actionType: "write", action: "draft" })`
- CLI: `npx zapier-sdk run-action contractbook write draft`

##### Pre-Fill Questionnaire
Pre-fills a questionnaire

- Type: write · Key: `drafter_pre_fill_questionnaire`
- Requires: companyId, questionnaireId
- Optional: owner
- SDK: `runAction({ app: "contractbook", actionType: "write", action: "drafter_pre_fill_questionnaire" })`
- CLI: `npx zapier-sdk run-action contractbook write drafter_pre_fill_questionnaire`

##### Create Draft With Custom Parties
Creates a new draft with advanced parties setup.

- Type: write · Key: `draft_custom_parties`
- Requires: template_id, signature_type
- Optional: title, attachments, content, sender_reference
- SDK: `runAction({ app: "contractbook", actionType: "write", action: "draft_custom_parties" })`
- CLI: `npx zapier-sdk run-action contractbook write draft_custom_parties`

##### Create Task
Creates and sends a new task.

- Type: write · Key: `task`
- Requires: title, description, document_id
- Optional: type, due_date, send_notification_on_due_date
- SDK: `runAction({ app: "contractbook", actionType: "write", action: "task" })`
- CLI: `npx zapier-sdk run-action contractbook write task`

## Nutshell

### Identity
Nutshell is an affordable, easy-to-use CRM that helps small-business sales teams win more deals.

- App slug: nutshell-crm
- Operations published here: 22 (6 events, 9 functions, 4 queries, 3 search-or-write actions)

### Authentication
Zapier connects to Nutshell 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 nutshell-crm
```

### Capabilities

#### Events (6)

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

##### Lead Won
Triggers when a lead is won.

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

##### Activity Logged
Triggers when an Activity is logged.

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

##### New Company
Triggers when new Company is created.

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

##### New Activity
Triggers when new Activity is created.

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

##### New Person
Triggers when new Person is created.

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

##### New Lead
Triggers when a new Lead is created.

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

#### Functions (9)

Functions change something in Nutshell.

##### Log Activity
Creates and logs a new Activity.

- Type: write · Key: `activity`
- Requires: activityTypeId
- Optional: agenda, startTime, endTime, logNote, contactParticipants, userParticipants, isAllDay, isImportant, address_1, address_2, address_3, city, state, country, postalCode, addressType
- SDK: `runAction({ app: "nutshell-crm", actionType: "write", action: "activity" })`
- CLI: `npx zapier-sdk run-action nutshell-crm write activity`

##### Create Company
Creates a new Company.

- Type: write · Key: `company`
- Requires: name
- Optional: email, phone, contactId, url, address_1, city, state, country, postal_code, company_type, tags, territory, industry, address_2
- SDK: `runAction({ app: "nutshell-crm", actionType: "write", action: "company" })`
- CLI: `npx zapier-sdk run-action nutshell-crm write company`

##### Create Person
Creates a new Person.

- Type: write · Key: `contact`
- Requires: name
- Optional: email, phone, accountId, address_1, address_2, city, state, country, postal_code, tags, territory, audience, url
- SDK: `runAction({ app: "nutshell-crm", actionType: "write", action: "contact" })`
- CLI: `npx zapier-sdk run-action nutshell-crm write contact`

##### Create Lead
Creates a new Lead.

- Type: write · Key: `lead`
- Requires: nothing
- Optional: description, id, price, quantity, market, pipeline, assignee, primaryAccountId, contactId, sources, tags, competitors, note
- SDK: `runAction({ app: "nutshell-crm", actionType: "write", action: "lead" })`
- CLI: `npx zapier-sdk run-action nutshell-crm write lead`

##### Update Lead Outcome
Updates a Lead Outcome.

- Type: write · Key: `lead_outcome_update`
- Requires: leadId, outcomeId
- SDK: `runAction({ app: "nutshell-crm", actionType: "write", action: "lead_outcome_update" })`
- CLI: `npx zapier-sdk run-action nutshell-crm write lead_outcome_update`

##### Rerun CSV Import
Re-executes a previously completed CSV import with a new file, using the same column mapping and settings.

- Type: write · Key: `rerun_csv_import`
- Requires: previousImportId, file
- SDK: `runAction({ app: "nutshell-crm", actionType: "write", action: "rerun_csv_import" })`
- CLI: `npx zapier-sdk run-action nutshell-crm write rerun_csv_import`

##### Update Company
Updates an existing Company.

- Type: write · Key: `update_account`
- Requires: accountId
- Optional: name, description, owner, revenue, employeeCount, company_type, email, phone, url, tags, territory, industry, address_1, city, state, country, postal_code, address_2
- SDK: `runAction({ app: "nutshell-crm", actionType: "write", action: "update_account" })`
- CLI: `npx zapier-sdk run-action nutshell-crm write update_account`

##### Update Person
Updates an existing Person.

- Type: write · Key: `update_contact`
- Requires: contactId
- Optional: name, description, owner, email, phone, url, audience, territory, address_1, city, state, country, postal_code, tags, address_2, leadIds, note
- SDK: `runAction({ app: "nutshell-crm", actionType: "write", action: "update_contact" })`
- CLI: `npx zapier-sdk run-action nutshell-crm write update_contact`

##### Update Lead
Updates an existing Lead.

- Type: write · Key: `update_lead`
- Requires: leadId
- Optional: stageId, confidence, closedTime, dueTime, assignee, isHot, tags, sources
- SDK: `runAction({ app: "nutshell-crm", actionType: "write", action: "update_lead" })`
- CLI: `npx zapier-sdk run-action nutshell-crm write update_lead`

#### Queries (4)

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

##### Find Company
Finds an existing company.

- Type: search · Key: `find_account`
- Requires: search_by
- SDK: `runAction({ app: "nutshell-crm", actionType: "search", action: "find_account" })`
- CLI: `npx zapier-sdk run-action nutshell-crm search find_account`

##### Find Person
Finds an existing person.

- Type: search · Key: `find_contact`
- Requires: email
- SDK: `runAction({ app: "nutshell-crm", actionType: "search", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action nutshell-crm search find_contact`

##### Find Lead
Finds an existing lead by a particular field. Defaults to searching open leads, falls back to all leads.

- Type: search · Key: `find_lead`
- Requires: search_by
- SDK: `runAction({ app: "nutshell-crm", actionType: "search", action: "find_lead" })`
- CLI: `npx zapier-sdk run-action nutshell-crm search find_lead`

##### Find User
Finds an existing User.

- Type: search · Key: `find_user`
- Requires: email
- SDK: `runAction({ app: "nutshell-crm", actionType: "search", action: "find_user" })`
- CLI: `npx zapier-sdk run-action nutshell-crm search find_user`

#### Search or Write Actions (3)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create Company
Find or create a company.

- Type: search_or_write · Key: `find_account`
- Requires: search_by, name
- Optional: email, phone, contactId, url, address_1, city, state, country, postal_code, company_type, tags, territory, industry, address_2
- SDK: `runAction({ app: "nutshell-crm", actionType: "search_or_write", action: "find_account" })`
- CLI: `npx zapier-sdk run-action nutshell-crm search_or_write find_account`

##### Find or Create Person
Find or Create Person

- Type: search_or_write · Key: `find_contact`
- Requires: email, name
- Optional: phone, accountId, address_1, address_2, city, state, country, postal_code, tags, territory, audience, url
- SDK: `runAction({ app: "nutshell-crm", actionType: "search_or_write", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action nutshell-crm search_or_write find_contact`

##### Find or Create Lead
Find or Create Lead

- Type: search_or_write · Key: `find_lead`
- Requires: search_by
- Optional: description, id, price, quantity, market, pipeline, assignee, primaryAccountId, contactId, sources, tags, competitors, note
- SDK: `runAction({ app: "nutshell-crm", actionType: "search_or_write", action: "find_lead" })`
- CLI: `npx zapier-sdk run-action nutshell-crm search_or_write find_lead`

## Frequently asked questions about automating with Contractbook and Nutshell

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Contractbook integrations: zapier.com/apps/contractbook/integrations.md
- Nutshell integrations: zapier.com/apps/nutshell-crm/integrations.md
- Full page: zapier.com/apps/contractbook/integrations/nutshell-crm
- SDK: npmjs.com/package/@zapier/zapier-sdk