# Zapier — MyDesk Integrations
> zapier.com/apps/mydesk/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
MyDesk: Get started quickly with a user-friendly CRM for sales.

- App slug: mydesk
- Operations published here: 30 (9 events, 10 functions, 7 queries, 4 search-or-write actions)

## Authentication
Zapier connects to MyDesk 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 mydesk
```

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

### Getting Started
- **MCP**: connect MyDesk 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_address`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action mydesk write create_address \
  --inputs '{}'
```

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

### Events (9)

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

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

- Type: read · Key: `new_appointment`
- Requires: nothing
- Optional: RepresentativeId, AppointmentTypeId
- SDK: `runAction({ app: "mydesk", actionType: "read", action: "new_appointment" })`
- CLI: `npx zapier-sdk run-action mydesk read new_appointment`

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

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

#### New Contact
Triggers when a new Contact is added to a Company.

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

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

- Type: read · Key: `new_opportunity`
- Requires: nothing
- Optional: RepresentativeId, CreatedById
- SDK: `runAction({ app: "mydesk", actionType: "read", action: "new_opportunity" })`
- CLI: `npx zapier-sdk run-action mydesk read new_opportunity`

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

- Type: read · Key: `new_task`
- Requires: nothing
- Optional: AssignedToId, CreatedById
- SDK: `runAction({ app: "mydesk", actionType: "read", action: "new_task" })`
- CLI: `npx zapier-sdk run-action mydesk read new_task`

#### Opportunity Completed
Triggers when an Opportunity is completed.

- Type: read · Key: `opportunity_completed`
- Requires: OpportunityStatus
- Optional: RepresentativeId
- SDK: `runAction({ app: "mydesk", actionType: "read", action: "opportunity_completed" })`
- CLI: `npx zapier-sdk run-action mydesk read opportunity_completed`

#### Opportunity Overdue
Triggers when an Opportunity is overdue.

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

#### Task Completed
Triggers when a Task is completed.

- Type: read · Key: `task_completed`
- Requires: nothing
- Optional: PerformedById, AssignedToId, Subject
- SDK: `runAction({ app: "mydesk", actionType: "read", action: "task_completed" })`
- CLI: `npx zapier-sdk run-action mydesk read task_completed`

#### Task Overdue
Triggers when a Task is overdue.

- Type: read · Key: `task_overdue`
- Requires: nothing
- Optional: AssignedToId, Subject
- SDK: `runAction({ app: "mydesk", actionType: "read", action: "task_overdue" })`
- CLI: `npx zapier-sdk run-action mydesk read task_overdue`

### Functions (10)

Functions change something in MyDesk.

#### Create Address
Creates an Address.

- Type: write · Key: `create_address`
- Requires: CompanyId, AddressTypeId, PostalCode, City, CountryId, SetPrimaryVisiting, SetPrimaryShipping
- Optional: Street
- SDK: `runAction({ app: "mydesk", actionType: "write", action: "create_address" })`
- CLI: `npx zapier-sdk run-action mydesk write create_address`

#### Create Appointment
Creates an Appointment.

- Type: write · Key: `create_appointment`
- Requires: CompanyId, Subject, StartDateTime, EndDateTime, AssignedToId, AppointmentTypeId, IsFollowUp, IsClosed
- Optional: ContactId, Description, Location
- SDK: `runAction({ app: "mydesk", actionType: "write", action: "create_appointment" })`
- CLI: `npx zapier-sdk run-action mydesk write create_appointment`

#### Create Company
Creates a Company.

- Type: write · Key: `create_company`
- Requires: Type, Name, YourId, PrimaryRepresentativeId
- Optional: Website, EmailAddress, MainPhoneNumber, Description, CustomerNumber, CompanyGroupId
- SDK: `runAction({ app: "mydesk", actionType: "write", action: "create_company" })`
- CLI: `npx zapier-sdk run-action mydesk write create_company`

#### Create Contact
Creates a Contact.

- Type: write · Key: `create_contact`
- Requires: CompanyId, Surname, SetPrimary, Active
- Optional: Salutation, FirstName, SurnamePrefixes, Function, MobileNumber, PhoneNumber, EmailAddress
- SDK: `runAction({ app: "mydesk", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action mydesk write create_contact`

#### Create Opportunity
Creates an Opportunity.

- Type: write · Key: `create_opportunity`
- Requires: CompanyId, Subject, OpportunityStatus, RepresentativeId, CreatedById
- Optional: Description, Amount, EstimatedSuccessRate, EstimatedClosingDate, OpportunityStatusReasonId, StatusClarification
- SDK: `runAction({ app: "mydesk", actionType: "write", action: "create_opportunity" })`
- CLI: `npx zapier-sdk run-action mydesk write create_opportunity`

#### Create Task
Creates a Task.

- Type: write · Key: `create_task`
- Requires: Subject, AssignedToId, CreatedById, IsPerformed
- Optional: CompanyId, Description, PlannedDate
- SDK: `runAction({ app: "mydesk", actionType: "write", action: "create_task" })`
- CLI: `npx zapier-sdk run-action mydesk write create_task`

#### Update Company
Updates an existing Company.

- Type: write · Key: `update_company`
- Requires: Type
- Optional: BlisssId, YourId
- SDK: `runAction({ app: "mydesk", actionType: "write", action: "update_company" })`
- CLI: `npx zapier-sdk run-action mydesk write update_company`

#### Update Contact
Updates an existing Contact.

- Type: write · Key: `update_contact`
- Requires: nothing
- Optional: BlisssId, YourId
- SDK: `runAction({ app: "mydesk", actionType: "write", action: "update_contact" })`
- CLI: `npx zapier-sdk run-action mydesk write update_contact`

#### Update Opportunity
Updates an existing Opportunity.

- Type: write · Key: `update_opportunity`
- Requires: nothing
- Optional: BlisssId, YourId
- SDK: `runAction({ app: "mydesk", actionType: "write", action: "update_opportunity" })`
- CLI: `npx zapier-sdk run-action mydesk write update_opportunity`

#### Update Task
Update an existing Task.

- Type: write · Key: `update_task`
- Requires: nothing
- Optional: BlisssId, YourId
- SDK: `runAction({ app: "mydesk", actionType: "write", action: "update_task" })`
- CLI: `npx zapier-sdk run-action mydesk write update_task`

### Queries (7)

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

#### Find Company
Finds a Company.

- Type: search · Key: `find_company`
- Requires: nothing
- Optional: Info, FindName, FindEmailAddress, FindWebsite, FindCustomerNumber, FindPostalCode, SelectionFieldsInfo, FindCompanyGroup, InfoSettings, FindYourId, FindId
- SDK: `runAction({ app: "mydesk", actionType: "search", action: "find_company" })`
- CLI: `npx zapier-sdk run-action mydesk search find_company`

#### Find Company Group
Finds a Company Group.

- Type: search · Key: `find_companygroup`
- Requires: nothing
- Optional: Code, Description
- SDK: `runAction({ app: "mydesk", actionType: "search", action: "find_companygroup" })`
- CLI: `npx zapier-sdk run-action mydesk search find_companygroup`

#### Find Contact
Finds an existing Contact.

- Type: search · Key: `find_contact`
- Requires: nothing
- Optional: Info, FindFirstName, FindSurnamePrefixes, FindSurname, FindEmailAddress, FindPhoneNumber, FindMobileNumber, SelectionFieldsInfo, FindCompanyId, IdFieldsInfo, FindYourId, FindId
- SDK: `runAction({ app: "mydesk", actionType: "search", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action mydesk search find_contact`

#### Find Country
Finds an existing Country.

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

#### Find Opportunity
Find an Opportunity.

- Type: search · Key: `find_opportunity`
- Requires: nothing
- Optional: Info, FindSubject, SelectionFieldsInfo, FindCompanyId, FindRepresentative, FindCreatedBy, FindStatus, InfoSettings, FindKey, FindId
- SDK: `runAction({ app: "mydesk", actionType: "search", action: "find_opportunity" })`
- CLI: `npx zapier-sdk run-action mydesk search find_opportunity`

#### Find Representative
Finds a Representative.

- Type: search · Key: `find_representative`
- Requires: nothing
- Optional: Name, Code
- SDK: `runAction({ app: "mydesk", actionType: "search", action: "find_representative" })`
- CLI: `npx zapier-sdk run-action mydesk search find_representative`

#### Find Task
Finds an existing Task.

- Type: search · Key: `find_task`
- Requires: nothing
- Optional: Info, FindSubject, SelectionFieldsInfo, FindIsPerformed, FindAssignedTo, FindCreatedBy, FindPerformedBy, FindCompany, IdFieldsInfo, FindYourId, FindId
- SDK: `runAction({ app: "mydesk", actionType: "search", action: "find_task" })`
- CLI: `npx zapier-sdk run-action mydesk search find_task`

### Search or Write Actions (4)

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

#### Find or Create a Company
Finds a Company.

- Type: search_or_write · Key: `find_company`
- Requires: Type, Name, YourId, PrimaryRepresentativeId
- Optional: Info, FindName, FindEmailAddress, FindWebsite, FindCustomerNumber, FindPostalCode, SelectionFieldsInfo, FindCompanyGroup, InfoSettings, FindYourId, FindId, Website, EmailAddress, MainPhoneNumber, Description, CustomerNumber, CompanyGroupId
- SDK: `runAction({ app: "mydesk", actionType: "search_or_write", action: "find_company" })`
- CLI: `npx zapier-sdk run-action mydesk search_or_write find_company`

#### Find or Create a Contact
Finds an existing Contact.

- Type: search_or_write · Key: `find_contact`
- Requires: CompanyId, Surname, SetPrimary, Active
- Optional: Info, FindFirstName, FindSurnamePrefixes, FindSurname, FindEmailAddress, FindPhoneNumber, FindMobileNumber, SelectionFieldsInfo, FindCompanyId, IdFieldsInfo, FindYourId, FindId, Salutation, FirstName, SurnamePrefixes, Function, MobileNumber, PhoneNumber, EmailAddress
- SDK: `runAction({ app: "mydesk", actionType: "search_or_write", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action mydesk search_or_write find_contact`

#### Find or Create an Opportunity
Find an Opportunity.

- Type: search_or_write · Key: `find_opportunity`
- Requires: CompanyId, Subject, OpportunityStatus, RepresentativeId, CreatedById
- Optional: Info, FindSubject, SelectionFieldsInfo, FindCompanyId, FindRepresentative, FindCreatedBy, FindStatus, InfoSettings, FindKey, FindId, Description, Amount, EstimatedSuccessRate, EstimatedClosingDate, OpportunityStatusReasonId, StatusClarification
- SDK: `runAction({ app: "mydesk", actionType: "search_or_write", action: "find_opportunity" })`
- CLI: `npx zapier-sdk run-action mydesk search_or_write find_opportunity`

#### Find or Create a Task
Finds an existing Task.

- Type: search_or_write · Key: `find_task`
- Requires: Subject, AssignedToId, CreatedById, IsPerformed
- Optional: Info, FindSubject, SelectionFieldsInfo, FindIsPerformed, FindAssignedTo, FindCreatedBy, FindPerformedBy, FindCompany, IdFieldsInfo, FindYourId, FindId, CompanyId, Description, PlannedDate
- SDK: `runAction({ app: "mydesk", actionType: "search_or_write", action: "find_task" })`
- CLI: `npx zapier-sdk run-action mydesk search_or_write find_task`

## Popular integrations
- [MyDesk + Microsoft Office 365](zapier.com/apps/mydesk/integrations/office-365.md)
- [MyDesk + Microsoft Exchange](zapier.com/apps/mydesk/integrations/microsoft-exchange.md)
- [MyDesk + LeadConnector](zapier.com/apps/mydesk/integrations/leadconnector.md)
- [MyDesk + Oneflow](zapier.com/apps/mydesk/integrations/oneflow.md)
- [MyDesk + Odoo CRM](zapier.com/apps/mydesk/integrations/odoo.md)

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