---
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/"
---

# Smokeball + DeskTime Integrations: Connect with Zapier MCP
> zapier.com/apps/smokeball-1/integrations/desktime
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Smokeball and DeskTime 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 `smokeball-1` and `desktime`, then `enable_zapier_action`. If Smokeball or DeskTime 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 Create Project is enabled, call `desktime_create_project`. 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: "desktime", owner: "me" });

const { data } = await zapier.runAction({
  app: "desktime",
  actionType: "write",
  action: "project",
  connection: connection.id,
  inputs: {
    project_title: "", // Title
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action desktime write project \
  --inputs '{"project_title":""}'
```

## Smokeball

### Identity
Smokeball is Legal Case & Law Practice Management Software for Attorneys

- App slug: smokeball-1
- Operations published here: 27 (16 events, 9 functions, 2 queries)

### Authentication
Zapier connects to Smokeball 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 smokeball-1
```

### Capabilities

#### Events (16)

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

##### New Contact
Triggers when a new contact is created.

- Type: read · Key: `contactCreated`
- Requires: nothing
- Optional: name, type, testNotice-Contact Created
- MCP tool: `smokeball_new_contact` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "read", action: "contactCreated" })`
- CLI: `npx zapier-sdk run-action smokeball-1 read contactCreated`

##### Contact Updated
Triggers when a contact is updated.

- Type: read · Key: `contactUpdated`
- Requires: nothing
- Optional: name, type, testNotice-Contact Updated
- MCP tool: `smokeball_contact_updated` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "read", action: "contactUpdated" })`
- CLI: `npx zapier-sdk run-action smokeball-1 read contactUpdated`

##### New Expense
Triggers when a new expense is created.

- Type: read · Key: `expenseCreated`
- Requires: matterId
- Optional: testNotice-Expense Created
- MCP tool: `smokeball_new_expense` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "read", action: "expenseCreated" })`
- CLI: `npx zapier-sdk run-action smokeball-1 read expenseCreated`

##### New Fee
Triggers when a new fee is created.

- Type: read · Key: `feeCreated`
- Requires: matterId
- Optional: testNotice-Fee Created
- MCP tool: `smokeball_new_fee` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "read", action: "feeCreated" })`
- CLI: `npx zapier-sdk run-action smokeball-1 read feeCreated`

##### Invoice Created
Triggers when a new invoice is created.

- Type: read · Key: `invoiceCreated`
- Requires: matterId, invoiceStatus
- Optional: testNotice-Invoice Created
- MCP tool: `smokeball_invoice_created` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "read", action: "invoiceCreated" })`
- CLI: `npx zapier-sdk run-action smokeball-1 read invoiceCreated`

##### Invoice Finalized
Triggers when an invoice is finalized.

- Type: read · Key: `invoiceFinalized`
- Requires: matterId, invoiceStatus
- Optional: testNotice-Invoice Finalized
- MCP tool: `smokeball_invoice_finalized` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "read", action: "invoiceFinalized" })`
- CLI: `npx zapier-sdk run-action smokeball-1 read invoiceFinalized`

##### Invoice Updated
Triggers when an invoice is updated.

- Type: read · Key: `invoiceUpdated`
- Requires: matterId, invoiceStatus
- Optional: testNotice-Invoice Updated
- MCP tool: `smokeball_invoice_updated` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "read", action: "invoiceUpdated" })`
- CLI: `npx zapier-sdk run-action smokeball-1 read invoiceUpdated`

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

- Type: read · Key: `leadCreated`
- Requires: nothing
- Optional: search, status, testNotice-Lead Created
- MCP tool: `smokeball_new_lead` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "read", action: "leadCreated" })`
- CLI: `npx zapier-sdk run-action smokeball-1 read leadCreated`

##### Matter Converted
Triggers when a lead is converted to a matter.

- Type: read · Key: `matterConverted`
- Requires: nothing
- Optional: search, status, testNotice-Matter Converted
- MCP tool: `smokeball_matter_converted` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "read", action: "matterConverted" })`
- CLI: `npx zapier-sdk run-action smokeball-1 read matterConverted`

##### New Matter
Triggers when a new matter is created.

- Type: read · Key: `matterCreated`
- Requires: nothing
- Optional: search, status, testNotice-Matter Created
- MCP tool: `smokeball_new_matter` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "read", action: "matterCreated" })`
- CLI: `npx zapier-sdk run-action smokeball-1 read matterCreated`

##### Matter Stage Updated
Triggers when a matter stage is updated.

- Type: read · Key: `matterStageUpdated`
- Requires: matterId
- Optional: testNotice-Matter Stage Updated
- MCP tool: `smokeball_matter_stage_updated` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "read", action: "matterStageUpdated" })`
- CLI: `npx zapier-sdk run-action smokeball-1 read matterStageUpdated`

##### Matter Status Updated
Triggers when a matter's status is updated.

- Type: read · Key: `matterStatusUpdated`
- Requires: nothing
- Optional: search, status, testNotice-Matter Status Updated
- MCP tool: `smokeball_matter_status_updated` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "read", action: "matterStatusUpdated" })`
- CLI: `npx zapier-sdk run-action smokeball-1 read matterStatusUpdated`

##### Matter Updated
Triggers when a matter is updated.

- Type: read · Key: `matterUpdated`
- Requires: nothing
- Optional: search, status, testNotice-Matter Updated
- MCP tool: `smokeball_matter_updated` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "read", action: "matterUpdated" })`
- CLI: `npx zapier-sdk run-action smokeball-1 read matterUpdated`

##### New Memo
Triggers when a new memo is created.

- Type: read · Key: `memoCreated`
- Requires: matterId
- Optional: testNotice-Memo Created
- MCP tool: `smokeball_new_memo` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "read", action: "memoCreated" })`
- CLI: `npx zapier-sdk run-action smokeball-1 read memoCreated`

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

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

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

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

#### Functions (9)

Functions change something in Smokeball.

##### Create Calendar Event
Creates a calender event.

- Type: write · Key: `createCalendarEvent`
- Requires: subject, organizerId, assigneeIds, startTime, endTime
- Optional: description, location, isAllDay
- MCP tool: `smokeball_create_calendar_event` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "write", action: "createCalendarEvent" })`
- CLI: `npx zapier-sdk run-action smokeball-1 write createCalendarEvent`

##### Create Organization Contact
Creates an Organization Contact.

- Type: write · Key: `createCompanyContact`
- Requires: nothing
- MCP tool: `smokeball_create_organization_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "write", action: "createCompanyContact" })`
- CLI: `npx zapier-sdk run-action smokeball-1 write createCompanyContact`

##### Create Matter Expense
Create a new expense for a matter.

- Type: write · Key: `createExpense`
- Requires: assignToFirmOwner, expenseDate, quantity, price, finalized, isWrittenOff, isBillable, isInvoicedExternally
- Optional: invoiceId, subject, activityCode, description
- MCP tool: `smokeball_create_matter_expense` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "write", action: "createExpense" })`
- CLI: `npx zapier-sdk run-action smokeball-1 write createExpense`

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

- Type: write · Key: `createLead`
- Requires: matterTypeId
- Optional: description, personResponsibleStaffId
- MCP tool: `smokeball_create_lead` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "write", action: "createLead" })`
- CLI: `npx zapier-sdk run-action smokeball-1 write createLead`

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

- Type: write · Key: `createMatter`
- Requires: matterTypeId
- Optional: description, personResponsibleStaffId
- MCP tool: `smokeball_create_matter` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "write", action: "createMatter" })`
- CLI: `npx zapier-sdk run-action smokeball-1 write createMatter`

##### Create Matter Memo
Create a new memo for a matter.

- Type: write · Key: `createMemo`
- Requires: title, userId
- Optional: text, createdDateUtc
- MCP tool: `smokeball_create_matter_memo` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "write", action: "createMemo" })`
- CLI: `npx zapier-sdk run-action smokeball-1 write createMemo`

##### Create Person Contact
Creates a person contact.

- Type: write · Key: `createPersonContact`
- Requires: nothing
- MCP tool: `smokeball_create_person_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "write", action: "createPersonContact" })`
- CLI: `npx zapier-sdk run-action smokeball-1 write createPersonContact`

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

- Type: write · Key: `createTask`
- Requires: taskName, createdByStaffId
- Optional: assigneeIds, categories, dueDate, duration, isCompleted, completedByStaffId, taskDetails
- MCP tool: `smokeball_create_task` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "write", action: "createTask" })`
- CLI: `npx zapier-sdk run-action smokeball-1 write createTask`

##### Upload File
Upload a file to a matter.

- Type: write · Key: `fileUpload`
- Requires: fileName, file
- Optional: folderPath, createdDateUtc
- MCP tool: `smokeball_upload_file` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "write", action: "fileUpload" })`
- CLI: `npx zapier-sdk run-action smokeball-1 write fileUpload`

#### Queries (2)

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

##### Find Contact
Finds a contact based on name.

- Type: search · Key: `contactSearch`
- Requires: nothing
- Optional: name, phone, email
- MCP tool: `smokeball_find_contact` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "search", action: "contactSearch" })`
- CLI: `npx zapier-sdk run-action smokeball-1 search contactSearch`

##### Find Matter
Finds a matter.

- Type: search · Key: `matterSearch`
- Requires: isLead
- Optional: clientId, search, status, lastUpdated, updatedSince
- MCP tool: `smokeball_find_matter` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "smokeball-1", actionType: "search", action: "matterSearch" })`
- CLI: `npx zapier-sdk run-action smokeball-1 search matterSearch`

## DeskTime

### Identity
DeskTime is automated time tracking software.

- App slug: desktime
- Operations published here: 2 (2 functions)

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

### Capabilities

#### Functions (2)

Functions change something in DeskTime.

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

- Type: write · Key: `project`
- Requires: project_title
- MCP tool: `desktime_create_project` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "desktime", actionType: "write", action: "project" })`
- CLI: `npx zapier-sdk run-action desktime write project`

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

- Type: write · Key: `task`
- Requires: project_title, task_title
- MCP tool: `desktime_create_task` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "desktime", actionType: "write", action: "task" })`
- CLI: `npx zapier-sdk run-action desktime write task`

## Frequently asked questions about automating with Smokeball and DeskTime

### 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
- Smokeball integrations: zapier.com/apps/smokeball-1/integrations.md
- DeskTime integrations: zapier.com/apps/desktime/integrations.md
- Full page: zapier.com/apps/smokeball-1/integrations/desktime
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk