# CosmoLex + ezidox Integrations: Connect with Zapier MCP
> zapier.com/apps/cosmolex/integrations/ezidox
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate CosmoLex and ezidox 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 · accept_document_copy`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action ezidox write accept_document_copy \
  --inputs '{}'
```

## CosmoLex

### Identity
CosmoLex is a legal practice management solution with robust matter management, billing, accounting, firm analytics and reporting.

- App slug: cosmolex
- Operations published here: 16 (9 events, 7 functions)

### Authentication
Zapier connects to CosmoLex 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 cosmolex
```

### Capabilities

#### Events (9)

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

##### New Contact
Triggers when a new contact is created in the firm.

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

##### New Event
Triggers when a new event is created in the firm.

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

##### New Invoice
Triggers when a new invoice is created in the firm.

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

##### New Invoice Payment
Triggers when a new invoice payment is received by the firm.

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

##### New Matter
Triggers when a new matter is created in the firm.

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

##### New Note
Triggers when a new note is created in the firm.

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

##### New Timecard
Triggers when a new timecard is created in the firm.

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

##### New Task
Triggers when a new task is created in the firm.

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

##### New Soft Cost
Triggers when a new SoftCost is created in the firm.

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

#### Functions (7)

Functions change something in CosmoLex.

##### Create Contact
Creates a new contact.

- Type: write · Key: `newContact`
- Requires: name
- Optional: displayName, contactType, email, homePhoneNumber, workPhoneNumber, cellPhoneNumber, faxNumber, notes, addressLine1, addressLine2, city, state, zip, country
- SDK: `runAction({ app: "cosmolex", actionType: "write", action: "newContact" })`
- CLI: `npx zapier-sdk run-action cosmolex write newContact`

##### Create Event
Creates a new Event.

- Type: write · Key: `newEvent`
- Requires: name, startDateTimeLocal, endDateTimeLocal
- Optional: privateEvent, matterFileNumber, billable, location, allDay, description, sendEmail, emailAddress, clientPortalShareable
- SDK: `runAction({ app: "cosmolex", actionType: "write", action: "newEvent" })`
- CLI: `npx zapier-sdk run-action cosmolex write newEvent`

##### Create Matter
Creates a new matter.

- Type: write · Key: `newMatter`
- Requires: matterName, clientName
- Optional: dateOpened, matterFileNumber, matterOwnerName, billingMethod, areaOfLaw
- SDK: `runAction({ app: "cosmolex", actionType: "write", action: "newMatter" })`
- CLI: `npx zapier-sdk run-action cosmolex write newMatter`

##### Create Note
Creates a new note.

- Type: write · Key: `newNote`
- Requires: subject, description
- Optional: matterFileNumber, noteDate, billingTypeLabel
- SDK: `runAction({ app: "cosmolex", actionType: "write", action: "newNote" })`
- CLI: `npx zapier-sdk run-action cosmolex write newNote`

##### Create Soft Cost
Creates a new soft cost.

- Type: write · Key: `newSoftCost`
- Requires: matterFileNumber
- Optional: timekeeperName, timekeeperInitials, date, expenseCode, expense, description, quantity, ratePrice, billingTypeLabel, hold, internalNotes, isTaxable
- SDK: `runAction({ app: "cosmolex", actionType: "write", action: "newSoftCost" })`
- CLI: `npx zapier-sdk run-action cosmolex write newSoftCost`

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

- Type: write · Key: `newTask`
- Requires: name
- Optional: private, matterFileNumber, assignedToUsername, additionalAssigneeName, startDate, dueBy, estimatedHours, actualHours, priorityLabel, reminderDays, description, billingTypeLabel, status, percentCompleted, sendEmailOnTaskCompletion
- SDK: `runAction({ app: "cosmolex", actionType: "write", action: "newTask" })`
- CLI: `npx zapier-sdk run-action cosmolex write newTask`

##### Create Timecard
Creates a new timecard.

- Type: write · Key: `newTimecard`
- Requires: matterFileNumber
- Optional: timekeeperName, timekeeperInitials, date, activityCode, taskCode, taskName, description, billingStatusLabel, timeSpent, timeBilled, ratePrice, rateLevel, rateType
- SDK: `runAction({ app: "cosmolex", actionType: "write", action: "newTimecard" })`
- CLI: `npx zapier-sdk run-action cosmolex write newTimecard`

## ezidox

### Identity
Ezidox is a cloud-based platform for automating and simplifying the collection and exchange of documents required for transactions.

- App slug: ezidox
- Operations published here: 17 (6 events, 8 functions, 3 queries)

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

### Capabilities

#### Events (6)

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

##### Application Created
Triggers when a new application is created.

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

##### Application Status Updated
Triggers when an application status has been updated (not via B2B services).

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

##### Document Accepted
Triggers when a document is accepted.

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

##### Document Not Relevant
Triggers when a document is marked as not relevant.

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

##### Document Rejected
Triggers when a document is rejected.

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

##### Document Uploaded
Triggers when a new document is uploaded.

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

#### Functions (8)

Functions change something in ezidox.

##### Accept Document
Accept document.

- Type: write · Key: `accept_document_copy`
- Requires: application, documentId, Collector__Id
- SDK: `runAction({ app: "ezidox", actionType: "write", action: "accept_document_copy" })`
- CLI: `npx zapier-sdk run-action ezidox write accept_document_copy`

##### Add Stakeholder
Add Stakeholder.

- Type: write · Key: `add_stakeholder`
- Requires: application, AddStakeholder__StakeholderTypeId, AddStakeholder__Email, AddStakeholder__Name, AddStakeholder__Surname, AddStakeholder__MobileNumber, AddStakeholder__IsPrimary, AddStakeholder__IsUploader, AddStakeholder__IsCompany, AddStakeholder__ShowOtherDocs, AddStakeholder__IncludeDefaultOutdocuments
- Optional: userType, userId, AddStakeholder__CompanyABN, AddStakeholder__CompanyName, AddStakeholder__TemplateSet__Id, AddStakeholder__TemplateSet__IncludeDefaultDocumentGroups, AddStakeholder__TemplateSet__IncludeDefaultDocuments
- SDK: `runAction({ app: "ezidox", actionType: "write", action: "add_stakeholder" })`
- CLI: `npx zapier-sdk run-action ezidox write add_stakeholder`

##### Comment Document
Add comment to document.

- Type: write · Key: `comment_document`
- Requires: application, documentId, UserDto__Id, Comment__Comment, Comment__IsInternal, UserDto__UserType
- SDK: `runAction({ app: "ezidox", actionType: "write", action: "comment_document" })`
- CLI: `npx zapier-sdk run-action ezidox write comment_document`

##### Create Application
Creates a new application.

- Type: write · Key: `create_new_application_2_copy`
- Requires: IsDraft, PrimaryStakeholder__StakeholderTypeId, PrimaryStakeholder__Email, PrimaryStakeholder__Name, PrimaryStakeholder__Surname, PrimaryStakeholder__MobileNumber, PrimaryStakeholder__IsUploader, PrimaryStakeholder__IsCompany, PrimaryStakeholder__ShowOtherDocs, PrimaryStakeholder__IncludeDefaultOutdocuments
- Optional: Name, PrimaryCollector__Id, IncludeDefaultCollectors, ExternalRef, ReferenceNumber, DayUntilDueDate, WelcomeMessage, Attributes, PrimaryStakeholder__CompanyABN, PrimaryStakeholder__CompanyName, PrimaryStakeholder__TemplateSet__Id, PrimaryStakeholder__TemplateSet__IncludeDefaultDocumentGroups, PrimaryStakeholder__TemplateSet__IncludeDefaultDocuments
- SDK: `runAction({ app: "ezidox", actionType: "write", action: "create_new_application_2_copy" })`
- CLI: `npx zapier-sdk run-action ezidox write create_new_application_2_copy`

##### Create Collector
Creates a new collector.

- Type: write · Key: `create_new_collector`
- Requires: Name, Surname, Email, MobileNumber
- Optional: ExternalRef
- SDK: `runAction({ app: "ezidox", actionType: "write", action: "create_new_collector" })`
- CLI: `npx zapier-sdk run-action ezidox write create_new_collector`

##### Reject Document
Reject document.

- Type: write · Key: `reject_document_file_new`
- Requires: application, documentId, Collector__Id, RejectDocumentModel__RejectionReasonId
- Optional: RejectDocumentModel__RejectionComment, RejectDocumentModel__SendEmail
- SDK: `runAction({ app: "ezidox", actionType: "write", action: "reject_document_file_new" })`
- CLI: `npx zapier-sdk run-action ezidox write reject_document_file_new`

##### Remove Stakeholder
Remove Stakeholder.

- Type: write · Key: `remove_stakeholder`
- Requires: application, RemoveStakeholder__Id
- SDK: `runAction({ app: "ezidox", actionType: "write", action: "remove_stakeholder" })`
- CLI: `npx zapier-sdk run-action ezidox write remove_stakeholder`

##### Upload Document
Upload document.

- Type: write · Key: `upload_document_new_file_copy_copy`
- Requires: application, userType, userId, documentId, Document
- Optional: deleteOld, description
- SDK: `runAction({ app: "ezidox", actionType: "write", action: "upload_document_new_file_copy_copy" })`
- CLI: `npx zapier-sdk run-action ezidox write upload_document_new_file_copy_copy`

#### Queries (3)

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

##### Find Application
Finds an application with given filters.

- Type: search · Key: `find_application_new`
- Requires: Name
- Optional: CreationDateFrom, CreationDateTo, ApplicationStatusCategory
- SDK: `runAction({ app: "ezidox", actionType: "search", action: "find_application_new" })`
- CLI: `npx zapier-sdk run-action ezidox search find_application_new`

##### Find Template
Finds a Document Template by its name.

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

##### Find Template Set
Finds a Document Template Set.

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

## Links
- CosmoLex integrations: zapier.com/apps/cosmolex/integrations.md
- ezidox integrations: zapier.com/apps/ezidox/integrations.md
- Full page: zapier.com/apps/cosmolex/integrations/ezidox
- SDK: npmjs.com/package/@zapier/zapier-sdk