# MyDesk + Oneflow Integrations: Connect with Zapier MCP
> zapier.com/apps/mydesk/integrations/oneflow
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate MyDesk and Oneflow 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 · AddNewParticipant`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action oneflow write AddNewParticipant \
  --inputs '{}'
```

## MyDesk

### 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

#### 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`

## Oneflow

### Identity
Oneflow is a digital platform that automates entire contract process from creating, signing and sending.

- App slug: oneflow
- Operations published here: 9 (1 event, 8 functions)

### Authentication
Zapier connects to Oneflow 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 oneflow
```

### Capabilities

#### Events (1)

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

##### Contract Status Changed
Triggers when the contract status is changed.

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

#### Functions (8)

Functions change something in Oneflow.

##### Add Participant
Add a new participant to a Oneflow contract

- Type: write · Key: `AddNewParticipant`
- Requires: emailType, contractId, participantType, name
- Optional: hiddenField
- SDK: `runAction({ app: "oneflow", actionType: "write", action: "AddNewParticipant" })`
- CLI: `npx zapier-sdk run-action oneflow write AddNewParticipant`

##### Add an Attachment or Expanded PDF
Add an attachment or expanded PDF to a Oneflow contract

- Type: write · Key: `AttachmentAndExpandedPDF`
- Requires: emailType, file, contractId, upload_as
- Optional: name, hiddenField
- SDK: `runAction({ app: "oneflow", actionType: "write", action: "AttachmentAndExpandedPDF" })`
- CLI: `npx zapier-sdk run-action oneflow write AttachmentAndExpandedPDF`

##### Add Product
Add product into an existing Oneflow contract

- Type: write · Key: `ContractAddProduct`
- Requires: emailType, contractId, productGroupId, productName, productQuantityValue
- Optional: contractIdInfo, productTableIdInfo, productDescription, productPrice1, productPrice1Discount, productPrice2, productPrice2Discount, productQuantityType, helpTextQuantity, productLockForCounterparties
- SDK: `runAction({ app: "oneflow", actionType: "write", action: "ContractAddProduct" })`
- CLI: `npx zapier-sdk run-action oneflow write ContractAddProduct`

##### Get Contract Details
Get details of an existing Oneflow contract

- Type: write · Key: `ContractDetails`
- Requires: contractId
- Optional: helpText, additional
- SDK: `runAction({ app: "oneflow", actionType: "write", action: "ContractDetails" })`
- CLI: `npx zapier-sdk run-action oneflow write ContractDetails`

##### Send Contract
Send a contract to Oneflow contract participants

- Type: write · Key: `ContractPublish`
- Requires: emailType, contractId, subject, message
- SDK: `runAction({ app: "oneflow", actionType: "write", action: "ContractPublish" })`
- CLI: `npx zapier-sdk run-action oneflow write ContractPublish`

##### Create Contract
Create a new Oneflow contract

- Type: write · Key: `CreateContract`
- Requires: oneflowEmail, addExternalLinkSelection
- Optional: contractName
- SDK: `runAction({ app: "oneflow", actionType: "write", action: "CreateContract" })`
- CLI: `npx zapier-sdk run-action oneflow write CreateContract`

##### Delete Contract
Delete an existing Oneflow contract

- Type: write · Key: `DeleteContract`
- Requires: oneflowEmail, contractId
- SDK: `runAction({ app: "oneflow", actionType: "write", action: "DeleteContract" })`
- CLI: `npx zapier-sdk run-action oneflow write DeleteContract`

##### Download Contract
Download the Oneflow contract as a PDF

- Type: write · Key: `DownloadFiles`
- Requires: contractId
- SDK: `runAction({ app: "oneflow", actionType: "write", action: "DownloadFiles" })`
- CLI: `npx zapier-sdk run-action oneflow write DownloadFiles`

## Frequently asked questions about automating with MyDesk and Oneflow

### 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
- MyDesk integrations: zapier.com/apps/mydesk/integrations.md
- Oneflow integrations: zapier.com/apps/oneflow/integrations.md
- Full page: zapier.com/apps/mydesk/integrations/oneflow
- SDK: npmjs.com/package/@zapier/zapier-sdk