---
agent:
  instructions: "Use this search API to find a ready-to-deploy Next Gen Zap for what the user wants to automate, with keywords or a natural-language description, instead of reading every zap. Results are returned in Markdown, each with the zap's SKILL.md install guide."
  endpoint: "https://zapier.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://zapier.sh/developers/"
---

# Deputy + Workbooks CRM Integrations: Connect with Zapier MCP
> zapier.com/apps/deputy/integrations/workbooks
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Deputy and Workbooks CRM 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).

## 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** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; VS Code and other clients `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; Terminal auto-installer `npx @zapier/install-zapier`.
  - Setup guides: Claude https://docs.zapier.com/mcp/get-started/connect/claude.md; Claude Code https://docs.zapier.com/mcp/get-started/connect/claude-code.md; ChatGPT https://docs.zapier.com/mcp/get-started/connect/chatgpt.md; Cursor https://docs.zapier.com/mcp/get-started/connect/cursor.md; Codex https://docs.zapier.com/mcp/get-started/connect/codex.md.
  - After sign-in: call `discover_zapier_actions` for `deputy` and `workbooks`, then `enable_zapier_action`. If Deputy or Workbooks CRM isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **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**: once Perform Dynamic Lookup is enabled, call `workbooks_crm_perform_dynamic_lookup`. Each operation below lists its MCP tool name.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "workbooks",
  actionType: "write",
  action: "dli_lookup",
  connection: connection.id,
  inputs: {
    dli: "", // Lookup name
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action workbooks write dli_lookup \
  --inputs '{"dli":""}'
```

## Deputy

### Identity
Deputy is an all-in-one employee scheduling, timesheets, tasking and communication platform. Used by thousands of businesses around the world it will improve profitability, staff culture and operational accountability.

- App slug: deputy
- Operations published here: 28 (15 events, 11 functions, 2 queries)

### Authentication
Zapier connects to Deputy 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.130.2 and @zapier/zapier-sdk-cli v0.93.2; 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 deputy
```

### Capabilities

#### Events (15)

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

##### New Colleague
Triggers when a new individual is added to your workplace, you can see them here. This is subject to you have workplace visibility.

- Type: read · Key: `mycolleague`
- Requires: nothing
- MCP tool: `deputy_new_colleague` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "read", action: "mycolleague" })`
- CLI: `npx zapier-sdk run-action deputy read mycolleague`

##### New Area/Department
Triggers when there is a new area or department created.

- Type: read · Key: `mydepartment`
- Requires: nothing
- MCP tool: `deputy_new_area_department` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "read", action: "mydepartment" })`
- CLI: `npx zapier-sdk run-action deputy read mydepartment`

##### New Post
Triggers when a new newsfeed post arrives.

- Type: read · Key: `mymemo`
- Requires: nothing
- MCP tool: `deputy_new_post` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "read", action: "mymemo" })`
- CLI: `npx zapier-sdk run-action deputy read mymemo`

##### New My Schedule
Triggers when there is a new schedule for me.

- Type: read · Key: `myroster`
- Requires: nothing
- MCP tool: `deputy_new_my_schedule` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "read", action: "myroster" })`
- CLI: `npx zapier-sdk run-action deputy read myroster`

##### New My Timesheet
Triggers when there is a new timesheet that has been saved for me.

- Type: read · Key: `mytimesheet`
- Requires: nothing
- MCP tool: `deputy_new_my_timesheet` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "read", action: "mytimesheet" })`
- CLI: `npx zapier-sdk run-action deputy read mytimesheet`

##### Break Started or Finished
Triggers when a employee starts or ends their break.

- Type: read · Key: `newbreak`
- Requires: event
- MCP tool: `deputy_break_started_or_finished` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "read", action: "newbreak" })`
- CLI: `npx zapier-sdk run-action deputy read newbreak`

##### New Location
Triggers when there is a new location or company.

- Type: read · Key: `newcompany`
- Requires: nothing
- MCP tool: `deputy_new_location` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "read", action: "newcompany" })`
- CLI: `npx zapier-sdk run-action deputy read newcompany`

##### New Employee
Triggers when there is a new employee created.

- Type: read · Key: `newemp`
- Requires: nothing
- MCP tool: `deputy_new_employee` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "read", action: "newemp" })`
- CLI: `npx zapier-sdk run-action deputy read newemp`

##### Forgot to End Shift (Timesheet Incomplete)
Triggers when a timesheet needs to be completed, because an employee has forgotten to end their shift.

- Type: read · Key: `newforgotfinish`
- Requires: nothing
- MCP tool: `deputy_forgot_to_end_shift_timesheet_incomplete` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "read", action: "newforgotfinish" })`
- CLI: `npx zapier-sdk run-action deputy read newforgotfinish`

##### New Late Employee
Triggers when someone is late to start their shift.

- Type: read · Key: `newlate`
- Requires: nothing
- MCP tool: `deputy_new_late_employee` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "read", action: "newlate" })`
- CLI: `npx zapier-sdk run-action deputy read newlate`

##### New Leave
Triggers when a new Leave request is submitted

- Type: read · Key: `newleave`
- Requires: nothing
- MCP tool: `deputy_new_leave` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "read", action: "newleave" })`
- CLI: `npx zapier-sdk run-action deputy read newleave`

##### New Notification
Triggers when there is a new notification for you.

- Type: read · Key: `newnotification`
- Requires: nothing
- MCP tool: `deputy_new_notification` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "read", action: "newnotification" })`
- CLI: `npx zapier-sdk run-action deputy read newnotification`

##### New Role
Triggers when New Role/Persmission set.

- Type: read · Key: `newrole`
- Requires: nothing
- MCP tool: `deputy_new_role` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "read", action: "newrole" })`
- CLI: `npx zapier-sdk run-action deputy read newrole`

##### New Schedule
Triggers when there is a new schedule

- Type: read · Key: `newroster`
- Requires: nothing
- MCP tool: `deputy_new_schedule` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "read", action: "newroster" })`
- CLI: `npx zapier-sdk run-action deputy read newroster`

##### Get New Timesheets
Lists all the new timesheets

- Type: read · Key: `timesheets`
- Requires: nothing
- MCP tool: `deputy_get_new_timesheets` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "read", action: "timesheets" })`
- CLI: `npx zapier-sdk run-action deputy read timesheets`

#### Functions (11)

Functions change something in Deputy.

##### Create Employee
Creates a new staff member.

- Type: write · Key: `createemp`
- Requires: intCompanyId, strFirstName, strLastName, strEmail, blnSendInvite
- Optional: intRoleId, strMobilePhone, strPayrollId
- MCP tool: `deputy_create_employee` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "write", action: "createemp" })`
- CLI: `npx zapier-sdk run-action deputy write createemp`

##### Create Location
Creates a new location.

- Type: write · Key: `createlocation`
- Requires: strWorkplaceName, strAddress
- Optional: strWorkplaceCode, strAddressNotes, strPayrollExportCode, strTimezone
- MCP tool: `deputy_create_location` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "write", action: "createlocation" })`
- CLI: `npx zapier-sdk run-action deputy write createlocation`

##### Create Announcement
Creates a new announcement

- Type: write · Key: `creatememo`
- Requires: strContent
- Optional: arrAssignedCompanyIds, arrAssignedUserIds
- MCP tool: `deputy_create_announcement` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "write", action: "creatememo" })`
- CLI: `npx zapier-sdk run-action deputy write creatememo`

##### Create Area/Department
Creates an area or department.

- Type: write · Key: `createopunit`
- Requires: Company, OperationalUnitName
- Optional: PayrollExportCode
- MCP tool: `deputy_create_area_department` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "write", action: "createopunit" })`
- CLI: `npx zapier-sdk run-action deputy write createopunit`

##### Create Shift
Creates a new shift.

- Type: write · Key: `createshift`
- Requires: intStartTimestamp, intEndTimestamp
- Optional: intRosterEmployee, blnPublish, intMealbreakMinute, intOpunitId, blnForceOverwrite, blnOpen, strComment, intConfirmStatus
- MCP tool: `deputy_create_shift` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "write", action: "createshift" })`
- CLI: `npx zapier-sdk run-action deputy write createshift`

##### Create My Unavailability
Adds your unavailability to the calendar.

- Type: write · Key: `empavailability`
- Requires: intStartHour, intEndHour
- Optional: strComment
- MCP tool: `deputy_create_my_unavailability` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "write", action: "empavailability" })`
- CLI: `npx zapier-sdk run-action deputy write empavailability`

##### Create Task
Creates a new task for the specificed employee

- Type: write · Key: `newmytask`
- Requires: strQuestion
- Optional: intUserResponsible, strComment, strDueDate
- MCP tool: `deputy_create_task` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "write", action: "newmytask" })`
- CLI: `npx zapier-sdk run-action deputy write newmytask`

##### Create Sales Data
Creates a new sales data. Ideally this is an invoice or a transaction at it's most granular level. We overlay this data for schedule charting and other reporting.

- Type: write · Key: `salesdata`
- Requires: OperationalUnit, Timestamp, SalesRef, SalesQty, SalesAmount
- Optional: SalesType, Employee
- MCP tool: `deputy_create_sales_data` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "write", action: "salesdata" })`
- CLI: `npx zapier-sdk run-action deputy write salesdata`

##### End Shift
Ends a shift that is in progress.

- Type: write · Key: `shiftend`
- Requires: intTimesheetId
- Optional: intMealbreakMinute
- MCP tool: `deputy_end_shift` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "write", action: "shiftend" })`
- CLI: `npx zapier-sdk run-action deputy write shiftend`

##### Start Shift
Starts a shift for your staff.

- Type: write · Key: `shiftstart`
- Requires: intOpunitId, intEmployeeId
- MCP tool: `deputy_start_shift` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "write", action: "shiftstart" })`
- CLI: `npx zapier-sdk run-action deputy write shiftstart`

##### Update Shift
Updates an existing Deputy shift.

- Type: write · Key: `updateshift`
- Requires: shiftId
- Optional: startDateTime, endDateTime, employeeId, publish, mealBreakMinutes, workAreaId, forceOverwrite, note
- MCP tool: `deputy_update_shift` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "write", action: "updateshift" })`
- CLI: `npx zapier-sdk run-action deputy write updateshift`

#### Queries (2)

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

##### Find Employee
Finds an employee by first and last name, with an optional email match

- Type: search · Key: `find_employee`
- Requires: firstName, lastName
- Optional: email
- MCP tool: `deputy_find_employee` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "search", action: "find_employee" })`
- CLI: `npx zapier-sdk run-action deputy search find_employee`

##### Find Shift
Finds shifts by employee, open status, earliest start, and latest end.

- Type: search · Key: `find_shift`
- Requires: nothing
- Optional: employeeId, startDateTime, endDateTime, isOpen
- MCP tool: `deputy_find_shift` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "deputy", actionType: "search", action: "find_shift" })`
- CLI: `npx zapier-sdk run-action deputy search find_shift`

## Workbooks CRM

### Identity
Workbooks CRM helps businesses run better by joining up marketing, sales, finance and service teams with a single cloud-based solution.

- App slug: workbooks
- Operations published here: 36 (6 events, 16 functions, 7 queries, 7 search-or-write actions)

### Authentication
Zapier connects to Workbooks 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.130.2 and @zapier/zapier-sdk-cli v0.93.2; 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 workbooks
```

### Capabilities

#### Events (6)

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

##### New Case
Triggers when a new case is created.

- Type: read · Key: `new_case`
- Requires: nothing
- MCP tool: `workbooks_crm_new_case` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "read", action: "new_case" })`
- CLI: `npx zapier-sdk run-action workbooks read new_case`

##### New Organisation
Triggers when a new organisation is created.

- Type: read · Key: `new_organisation`
- Requires: nothing
- MCP tool: `workbooks_crm_new_organisation` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "read", action: "new_organisation" })`
- CLI: `npx zapier-sdk run-action workbooks read new_organisation`

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

- Type: read · Key: `new_person`
- Requires: nothing
- MCP tool: `workbooks_crm_new_person` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "read", action: "new_person" })`
- CLI: `npx zapier-sdk run-action workbooks read new_person`

##### New Sales Lead
Triggers when a new sales lead is created.

- Type: read · Key: `new_sales_lead`
- Requires: nothing
- MCP tool: `workbooks_crm_new_sales_lead` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "read", action: "new_sales_lead" })`
- CLI: `npx zapier-sdk run-action workbooks read new_sales_lead`

##### Posted Credit Note
Triggers when a credit note is posted.

- Type: read · Key: `posted_credit_note`
- Requires: nothing
- MCP tool: `workbooks_crm_posted_credit_note` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "read", action: "posted_credit_note" })`
- CLI: `npx zapier-sdk run-action workbooks read posted_credit_note`

##### Posted Invoice
Triggers when an invoice is complete and its status posted.

- Type: read · Key: `posted_invoice`
- Requires: nothing
- MCP tool: `workbooks_crm_posted_invoice` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "read", action: "posted_invoice" })`
- CLI: `npx zapier-sdk run-action workbooks read posted_invoice`

#### Functions (16)

Functions change something in Workbooks CRM.

##### Perform Dynamic Lookup
Looks up values using a Dynamic Lookup Item.

- Type: write · Key: `dli_lookup`
- Requires: dli
- Optional: value, li_value, default_value
- MCP tool: `workbooks_crm_perform_dynamic_lookup` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "write", action: "dli_lookup" })`
- CLI: `npx zapier-sdk run-action workbooks write dli_lookup`

##### Create Marketing Campaign Member
Adds a new member to a Marketing Campaign.

- Type: write · Key: `new_campaign_member`
- Requires: marketing_campaign_id, party_or_lead_id, party_or_lead_type, member_name
- Optional: campaign_membership_status_id
- MCP tool: `workbooks_crm_create_marketing_campaign_member` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "write", action: "new_campaign_member" })`
- CLI: `npx zapier-sdk run-action workbooks write new_campaign_member`

##### Create Marketing Campaign Member Status
Adds a new member status to a Marketing Campaign.

- Type: write · Key: `new_campaign_member_status`
- Requires: marketing_campaign_id, status
- MCP tool: `workbooks_crm_create_marketing_campaign_member_sta` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "write", action: "new_campaign_member_status" })`
- CLI: `npx zapier-sdk run-action workbooks write new_campaign_member_status`

##### Create Case
Creates a new case.

- Type: write · Key: `new_case`
- Requires: name, assigned_to, case_status_id
- Optional: problem, contact_person_id, contact_email, contact_phone_number, case_priority_id, product_category_id, resolution_status_id, resolution, case_source_id, case_type_id
- MCP tool: `workbooks_crm_create_case` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "write", action: "new_case" })`
- CLI: `npx zapier-sdk run-action workbooks write new_case`

##### Create Marketing Campaign
Creates a new Marketing Campaign.

- Type: write · Key: `new_marketing_campaign`
- Requires: name, assigned_to
- Optional: category, status, start_date, end_date
- MCP tool: `workbooks_crm_create_marketing_campaign` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "write", action: "new_marketing_campaign" })`
- CLI: `npx zapier-sdk run-action workbooks write new_marketing_campaign`

##### Create Customer Order
Creates a new Customer Order

- Type: write · Key: `new_order`
- Requires: description, assigned_to, document_currency, document_date, status, tax_point_date
- Optional: accounting_period_id
- MCP tool: `workbooks_crm_create_customer_order` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "write", action: "new_order" })`
- CLI: `npx zapier-sdk run-action workbooks write new_order`

##### Create Customer Order and Line Items
Creates a new Customer Order and Line Items

- Type: write · Key: `new_order_and_line_items`
- Requires: description, assigned_to, document_currency, document_date, status, tax_point_date, line_item_unit_quantity, line_item_c_document_currency_unit_price_value
- Optional: line_item_product_id, line_item_description, line_item_additional_discount_1_percent, line_item_additional_discount_2_percent, line_item_delivery_country, line_item_delivery_county_province_state, line_item_delivery_date, line_item_delivery_postcode, line_item_delivery_street_address, line_item_delivery_town, line_item_c_document_currency_discount, line_item_c_home_currency_discount, line_item_display_order, line_item_document_currency, line_item_end_date, line_item_event_id, line_item_created_through_reference, line_item_c_document_currency_gross_value, line_item_c_home_currency_gross_value, line_item_home_currency, line_item_location_id, line_item_c_document_currency_net_value, line_item_c_home_currency_net_value, line_item_parent_line_item_id, line_item_discount_percent, line_item_pricing_scheme_id, line_item_c_document_currency_sales_tax_value, line_item_c_home_currency_sales_tax_value, line_item_sales_tax_code_id, line_item_sales_tax_ruleset_id, line_item_start_date, line_item_status, line_item_supply_scheme_id, line_item_c_document_currency_tax_adjustment, line_item_c_home_currency_tax_adjustment, line_item_c_document_currency_cost, line_item_c_home_currency_cost, line_item_c_document_currency_unit_cost, line_item_c_home_currency_unit_cost, line_item_c_home_currency_unit_price_value
- MCP tool: `workbooks_crm_create_customer_order_and_line_items` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "write", action: "new_order_and_line_items" })`
- CLI: `npx zapier-sdk run-action workbooks write new_order_and_line_items`

##### Create Organisation
Creates a new organisation.

- Type: write · Key: `new_organisation`
- Requires: name, assigned_to
- Optional: organisation_category, industry, website, main_location[telephone], main_location[fax], main_location[street_address], main_location[town], main_location[county_province_state], main_location[postcode], main_location[country], marketing_campaign_id, lead_source_type, organisation_vat_number, organisation_num_employees, preferred_language, special_requirements
- MCP tool: `workbooks_crm_create_organisation` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "write", action: "new_organisation" })`
- CLI: `npx zapier-sdk run-action workbooks write new_organisation`

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

- Type: write · Key: `new_person`
- Requires: name, assigned_to
- Optional: person_personal_title, person_job_title, person_job_role, employer_link, person_first_name, person_middle_name, person_last_name, person_salutation, main_location[email], main_location[telephone], main_location[mobile], industry, main_location[street_address], main_location[town], main_location[county_province_state], main_location[postcode], main_location[country], preferred_language, special_requirements, lead_source_type, marketing_campaign_id
- MCP tool: `workbooks_crm_create_person` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "write", action: "new_person" })`
- CLI: `npx zapier-sdk run-action workbooks write new_person`

##### Create Sales Lead
Creates a new sales lead.

- Type: write · Key: `new_sales_lead`
- Requires: person_lead_party[name], assigned_to
- Optional: person_lead_party[person_personal_title], person_lead_party[person_job_title], person_lead_party[person_job_role], person_lead_party[person_first_name], person_lead_party[person_middle_name], person_lead_party[person_last_name], person_lead_party[person_salutation], org_lead_party[main_location[email]], org_lead_party[main_location[telephone]], org_lead_party[main_location[mobile]], org_lead_party[name], org_lead_party[organisation_category], org_lead_party[industry], org_lead_party[website], org_lead_party[main_location[street_address]], org_lead_party[main_location[town]], org_lead_party[main_location[county_province_state]], org_lead_party[main_location[postcode]], org_lead_party[main_location[country]], sales_lead_rating_type, lead_source_type, sales_lead_status_type, marketing_campaign_id
- MCP tool: `workbooks_crm_create_sales_lead` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "write", action: "new_sales_lead" })`
- CLI: `npx zapier-sdk run-action workbooks write new_sales_lead`

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

- Type: write · Key: `new_task`
- Requires: name, assigned_to, activity_type, activity_status, activity_priority
- Optional: due_date, completed_date, primary_contact_id, primary_contact_type, description
- MCP tool: `workbooks_crm_create_task` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "write", action: "new_task" })`
- CLI: `npx zapier-sdk run-action workbooks write new_task`

##### Update Marketing Campaign Member
Update an existing member of a Marketing Campaign.

- Type: write · Key: `update_campaign_member`
- Requires: id, lock_version, member_name
- Optional: campaign_membership_status_id
- MCP tool: `workbooks_crm_update_marketing_campaign_member` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "write", action: "update_campaign_member" })`
- CLI: `npx zapier-sdk run-action workbooks write update_campaign_member`

##### Update Customer Order
Updates a customer order which has previously been found with a Find Customer Order step.

- Type: write · Key: `update_order`
- Requires: id, lock_version
- Optional: description, assigned_to, document_currency, document_date, status, tax_point_date, accounting_period_id
- MCP tool: `workbooks_crm_update_customer_order` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "write", action: "update_order" })`
- CLI: `npx zapier-sdk run-action workbooks write update_order`

##### Update Organisation
Update an existing Organisation.

- Type: write · Key: `update_organisation`
- Requires: id, lock_version
- Optional: name, assigned_to, organisation_category
- MCP tool: `workbooks_crm_update_organisation` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "write", action: "update_organisation" })`
- CLI: `npx zapier-sdk run-action workbooks write update_organisation`

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

- Type: write · Key: `update_person`
- Requires: id, lock_version
- Optional: person_personal_title, name, assigned_to, person_job_title, person_job_role, employer_link, person_first_name, person_middle_name, person_last_name, person_salutation, main_location[email], main_location[telephone], main_location[mobile], industry, main_location[street_address], main_location[town], main_location[county_province_state], main_location[postcode], main_location[country], preferred_language, special_requirements, lead_source_type, marketing_campaign_id
- MCP tool: `workbooks_crm_update_person` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "write", action: "update_person" })`
- CLI: `npx zapier-sdk run-action workbooks write update_person`

##### Update Sales Lead
Update an existing Sales Lead.

- Type: write · Key: `update_sales_lead`
- Requires: id, lock_version
- Optional: person_lead_party[person_personal_title], person_lead_party[name], assigned_to, person_lead_party[person_job_title], person_lead_party[person_job_role], person_lead_party[person_first_name], person_lead_party[person_middle_name], person_lead_party[person_last_name], person_lead_party[person_salutation], org_lead_party[main_location[email]], org_lead_party[main_location[telephone]], org_lead_party[main_location[mobile]], org_lead_party[name], org_lead_party[organisation_category], org_lead_party[industry], org_lead_party[website], org_lead_party[main_location[street_address]], org_lead_party[main_location[town]], org_lead_party[main_location[county_province_state]], org_lead_party[main_location[postcode]], org_lead_party[main_location[country]], sales_lead_rating_type, lead_source_type, sales_lead_status_type, marketing_campaign_id
- MCP tool: `workbooks_crm_update_sales_lead` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "write", action: "update_sales_lead" })`
- CLI: `npx zapier-sdk run-action workbooks write update_sales_lead`

#### Queries (7)

Queries read from Workbooks CRM and return data. They change nothing.

##### Find a Marketing Campaign
Find a marketing campaign.

- Type: search · Key: `find_marketing_campaign`
- Requires: nothing
- Optional: s_string_name, s_string_object_ref, s_string_created_through_reference
- MCP tool: `workbooks_crm_find_a_marketing_campaign` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "search", action: "find_marketing_campaign" })`
- CLI: `npx zapier-sdk run-action workbooks search find_marketing_campaign`

##### Find a Marketing Campaign Member
Find a marketing campaign member.

- Type: search · Key: `find_marketing_campaign_member`
- Requires: s_string_email, s_integer_marketing_campaign_id
- Optional: s_string_member_name, s_integer_party_or_lead_id, s_string_party_or_lead_type, s_string_created_through_reference
- MCP tool: `workbooks_crm_find_a_marketing_campaign_member` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "search", action: "find_marketing_campaign_member" })`
- CLI: `npx zapier-sdk run-action workbooks search find_marketing_campaign_member`

##### Find a Marketing Campaign Member Status
Find a marketing campaign member status.

- Type: search · Key: `find_marketing_campaign_status`
- Requires: s_string_status, s_integer_marketing_campaign_id
- Optional: s_string_created_through_reference
- MCP tool: `workbooks_crm_find_a_marketing_campaign_member_sta` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "search", action: "find_marketing_campaign_status" })`
- CLI: `npx zapier-sdk run-action workbooks search find_marketing_campaign_status`

##### Find a Customer Order
Finds a customer order.

- Type: search · Key: `find_order`
- Requires: nothing
- Optional: s_string_description, s_string_created_through_reference, s_string_object_ref
- MCP tool: `workbooks_crm_find_a_customer_order` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "search", action: "find_order" })`
- CLI: `npx zapier-sdk run-action workbooks search find_order`

##### Find an Organisation
Find an organisation.

- Type: search · Key: `find_organisation`
- Requires: nothing
- Optional: s_string_name, website, s_string_object_ref, s_string_created_through_reference
- MCP tool: `workbooks_crm_find_an_organisation` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "search", action: "find_organisation" })`
- CLI: `npx zapier-sdk run-action workbooks search find_organisation`

##### Find a Person
Find a person.

- Type: search · Key: `find_person`
- Requires: nothing
- Optional: s_string_person_first_name, s_string_person_last_name, s_string_main_location[email], s_string_employer_name, s_string_object_ref, s_string_created_through_reference
- MCP tool: `workbooks_crm_find_a_person` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "search", action: "find_person" })`
- CLI: `npx zapier-sdk run-action workbooks search find_person`

##### Find a Sales Lead
Find a sales lead.

- Type: search · Key: `find_sales_lead`
- Requires: nothing
- Optional: s_string_person_lead_party[person_first_name], s_string_person_lead_party[person_last_name], s_string_org_lead_party[main_location][email], s_string_org_lead_party[name], s_string_object_ref, s_string_created_through_reference
- MCP tool: `workbooks_crm_find_a_sales_lead` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "workbooks", actionType: "search", action: "find_sales_lead" })`
- CLI: `npx zapier-sdk run-action workbooks search find_sales_lead`

#### Search or Write Actions (7)

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

##### Find or Create a Marketing Campaign
Find or Create a Marketing Campaign

- Type: search_or_write · Key: `find_marketing_campaign`
- Requires: name, assigned_to
- Optional: s_string_name, s_string_object_ref, s_string_created_through_reference, category, status, start_date, end_date
- SDK: `runAction({ app: "workbooks", actionType: "search_or_write", action: "find_marketing_campaign" })`
- CLI: `npx zapier-sdk run-action workbooks search_or_write find_marketing_campaign`

##### Find or Create a Marketing Campaign Member
Find or Create a Marketing Campaign Member

- Type: search_or_write · Key: `find_marketing_campaign_member`
- Requires: s_string_email, s_integer_marketing_campaign_id, marketing_campaign_id, party_or_lead_id, party_or_lead_type, member_name
- Optional: s_string_member_name, s_integer_party_or_lead_id, s_string_party_or_lead_type, s_string_created_through_reference, campaign_membership_status_id
- SDK: `runAction({ app: "workbooks", actionType: "search_or_write", action: "find_marketing_campaign_member" })`
- CLI: `npx zapier-sdk run-action workbooks search_or_write find_marketing_campaign_member`

##### Find or Create a Marketing Campaign Member Status
Find or Create a Marketing Campaign Member Status

- Type: search_or_write · Key: `find_marketing_campaign_status`
- Requires: s_string_status, s_integer_marketing_campaign_id, marketing_campaign_id, status
- Optional: s_string_created_through_reference
- SDK: `runAction({ app: "workbooks", actionType: "search_or_write", action: "find_marketing_campaign_status" })`
- CLI: `npx zapier-sdk run-action workbooks search_or_write find_marketing_campaign_status`

##### Find or Create an Order
Find or Create an Order

- Type: search_or_write · Key: `find_order`
- Requires: description, assigned_to, document_currency, document_date, status, tax_point_date
- Optional: s_string_description, s_string_created_through_reference, s_string_object_ref, accounting_period_id
- SDK: `runAction({ app: "workbooks", actionType: "search_or_write", action: "find_order" })`
- CLI: `npx zapier-sdk run-action workbooks search_or_write find_order`

##### Find or Create an Organisation
Find or Create an Organisation

- Type: search_or_write · Key: `find_organisation`
- Requires: name, assigned_to
- Optional: s_string_name, website, s_string_object_ref, s_string_created_through_reference, organisation_category, industry, main_location[telephone], main_location[fax], main_location[street_address], main_location[town], main_location[county_province_state], main_location[postcode], main_location[country], marketing_campaign_id, lead_source_type, organisation_vat_number, organisation_num_employees, preferred_language, special_requirements
- SDK: `runAction({ app: "workbooks", actionType: "search_or_write", action: "find_organisation" })`
- CLI: `npx zapier-sdk run-action workbooks search_or_write find_organisation`

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

- Type: search_or_write · Key: `find_person`
- Requires: name, assigned_to
- Optional: s_string_person_first_name, s_string_person_last_name, s_string_main_location[email], s_string_employer_name, s_string_object_ref, s_string_created_through_reference, person_personal_title, person_job_title, person_job_role, employer_link, person_first_name, person_middle_name, person_last_name, person_salutation, main_location[email], main_location[telephone], main_location[mobile], industry, main_location[street_address], main_location[town], main_location[county_province_state], main_location[postcode], main_location[country], preferred_language, special_requirements, lead_source_type, marketing_campaign_id
- SDK: `runAction({ app: "workbooks", actionType: "search_or_write", action: "find_person" })`
- CLI: `npx zapier-sdk run-action workbooks search_or_write find_person`

##### Find or Create a Sales Lead
Find or Create a Sales Lead

- Type: search_or_write · Key: `find_sales_lead`
- Requires: person_lead_party[name], assigned_to
- Optional: s_string_person_lead_party[person_first_name], s_string_person_lead_party[person_last_name], s_string_org_lead_party[main_location][email], s_string_org_lead_party[name], s_string_object_ref, s_string_created_through_reference, person_lead_party[person_personal_title], person_lead_party[person_job_title], person_lead_party[person_job_role], person_lead_party[person_first_name], person_lead_party[person_middle_name], person_lead_party[person_last_name], person_lead_party[person_salutation], org_lead_party[main_location[email]], org_lead_party[main_location[telephone]], org_lead_party[main_location[mobile]], org_lead_party[name], org_lead_party[organisation_category], org_lead_party[industry], org_lead_party[website], org_lead_party[main_location[street_address]], org_lead_party[main_location[town]], org_lead_party[main_location[county_province_state]], org_lead_party[main_location[postcode]], org_lead_party[main_location[country]], sales_lead_rating_type, lead_source_type, sales_lead_status_type, marketing_campaign_id
- SDK: `runAction({ app: "workbooks", actionType: "search_or_write", action: "find_sales_lead" })`
- CLI: `npx zapier-sdk run-action workbooks search_or_write find_sales_lead`

## Frequently asked questions about automating with Deputy and Workbooks CRM

### 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
- Deputy integrations: zapier.com/apps/deputy/integrations.md
- Workbooks CRM integrations: zapier.com/apps/workbooks/integrations.md
- Full page: zapier.com/apps/deputy/integrations/workbooks
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk