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

Integrate Capsule CRM 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 '{}'
```

## Capsule CRM

### Identity
Capsule is an online CRM for managing contacts, tasks and sales opportunities. Add tasks, track communication logs, and close deals in your pipeline faster with Capsule.

- App slug: capsulecrm
- Operations published here: 20 (4 events, 8 functions, 5 queries, 3 search-or-write actions)

### Authentication
Zapier connects to Capsule CRM 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.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 capsulecrm
```

### Capabilities

#### Events (4)

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

##### New or Updated Project
Triggers when a given action is performed on a Project.

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

##### New or Updated Opportunity
Triggers when a given action is performed on an Opportunity.

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

##### New or Updated Contact
Triggers when a given action is performed on a Person or Organisation.

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

##### New or Updated Task
Triggers when a given action is performed on a Task.

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

#### Functions (8)

Functions change something in Capsule CRM.

##### Create Project
Creates a new Project.

- Type: write · Key: `caseCreate`
- Requires: partyId, name
- Optional: boardId, description, expectedClosedOn, track, opportunity, owner, tags, status
- SDK: `runAction({ app: "capsulecrm", actionType: "write", action: "caseCreate" })`
- CLI: `npx zapier-sdk run-action capsulecrm write caseCreate`

##### Add Note to Entity
Adds a Note to an Entity.

- Type: write · Key: `newNote`
- Requires: type, note
- Optional: activityTypeId
- SDK: `runAction({ app: "capsulecrm", actionType: "write", action: "newNote" })`
- CLI: `npx zapier-sdk run-action capsulecrm write newNote`

##### Add Tag to Entity
Adds a Tag to an Entity.

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

##### Create Opportunity
Creates a new Opportunity.

- Type: write · Key: `opportunityCreate`
- Requires: partyId, pipelineId, name
- Optional: description, expectedCloseOn, closedOn, currency, durationBasis, owner, track, tags
- SDK: `runAction({ app: "capsulecrm", actionType: "write", action: "opportunityCreate" })`
- CLI: `npx zapier-sdk run-action capsulecrm write opportunityCreate`

##### Create Contact
Creates a new Person or Organisation.

- Type: write · Key: `partyCreate`
- Requires: type
- Optional: about, emailAddress, street, city, state, zip, country, phoneNumber, website, tags
- SDK: `runAction({ app: "capsulecrm", actionType: "write", action: "partyCreate" })`
- CLI: `npx zapier-sdk run-action capsulecrm write partyCreate`

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

- Type: write · Key: `taskCreate`
- Requires: description, date
- Optional: detail, category, owner, entityType
- SDK: `runAction({ app: "capsulecrm", actionType: "write", action: "taskCreate" })`
- CLI: `npx zapier-sdk run-action capsulecrm write taskCreate`

##### Update Contact
Update an existing Contact

- Type: write · Key: `ae:8786`
- Requires: nothing
- SDK: `runAction({ app: "capsulecrm", actionType: "write", action: "ae:8786" })`
- CLI: `npx zapier-sdk run-action capsulecrm write ae:8786`

##### Update Opportunity
This action updates an existing Opportunity in Capsule CRM. You can choose which fields to update from the editor. The Opportunity ID is selected from a dropdown list populated by the listOpportunities endpoint. The milestoneName field is a string input f

- Type: write · Key: `ae:34169`
- Requires: nothing
- SDK: `runAction({ app: "capsulecrm", actionType: "write", action: "ae:34169" })`
- CLI: `npx zapier-sdk run-action capsulecrm write ae:34169`

#### Queries (5)

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

##### Find Project
Finds a Project.

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

##### Find Milestone
Finds a Milestone.

- Type: search · Key: `milestoneSearch`
- Requires: pipelineId, name
- SDK: `runAction({ app: "capsulecrm", actionType: "search", action: "milestoneSearch" })`
- CLI: `npx zapier-sdk run-action capsulecrm search milestoneSearch`

##### Find Opportunity
Finds a Opportunity.

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

##### Find Contact
Finds a Person or Organisation.

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

##### Find Stage
Finds a Stage.

- Type: search · Key: `stageSearch`
- Requires: boardId, name
- SDK: `runAction({ app: "capsulecrm", actionType: "search", action: "stageSearch" })`
- CLI: `npx zapier-sdk run-action capsulecrm search stageSearch`

#### Search or Write Actions (3)

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

##### Find or Create Project
Find a Project, or Create if one does not exist.

- Type: search_or_write · Key: `caseSearch`
- Requires: field, partyId, name
- Optional: boardId, description, expectedClosedOn, track, opportunity, owner, tags, status
- SDK: `runAction({ app: "capsulecrm", actionType: "search_or_write", action: "caseSearch" })`
- CLI: `npx zapier-sdk run-action capsulecrm search_or_write caseSearch`

##### Find or Create Opportunity
Find a Opportunity, or Create if one does not exist.

- Type: search_or_write · Key: `opportunitySearch`
- Requires: field, partyId, pipelineId, name
- Optional: description, expectedCloseOn, closedOn, currency, durationBasis, owner, track, tags
- SDK: `runAction({ app: "capsulecrm", actionType: "search_or_write", action: "opportunitySearch" })`
- CLI: `npx zapier-sdk run-action capsulecrm search_or_write opportunitySearch`

##### Find or Create Contact
Find a Person or Organisation, or Create if one does not exist.

- Type: search_or_write · Key: `partySearch`
- Requires: field, type
- Optional: about, emailAddress, street, city, state, zip, country, phoneNumber, website, tags
- SDK: `runAction({ app: "capsulecrm", actionType: "search_or_write", action: "partySearch" })`
- CLI: `npx zapier-sdk run-action capsulecrm search_or_write partySearch`

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

## Links
- Capsule CRM integrations: zapier.com/apps/capsulecrm/integrations.md
- Oneflow integrations: zapier.com/apps/oneflow/integrations.md
- Full page: zapier.com/apps/capsulecrm/integrations/oneflow
- SDK: npmjs.com/package/@zapier/zapier-sdk