# Zapier — Teamwork Desk Integrations
> zapier.com/apps/teamwork-desk/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
Teamwork Desk makes it easy for your team to handle any customer support queries that come their way.

- App slug: teamwork-desk
- Operations published here: 20 (8 events, 8 functions, 2 queries, 2 search-or-write actions)

## Authentication
Zapier connects to Teamwork Desk 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 teamwork-desk
```

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

### Getting Started
- **MCP**: connect Teamwork Desk 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 · addReplyToTicket`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action teamwork-desk write addReplyToTicket \
  --inputs '{}'
```

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

### Events (8)

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

#### New Agent Reply
Triggers when an agent sends a new reply.

- Type: read · Key: `agentReply`
- Requires: nothing
- Optional: inboxes
- SDK: `runAction({ app: "teamwork-desk", actionType: "read", action: "agentReply" })`
- CLI: `npx zapier-sdk run-action teamwork-desk read agentReply`

#### New Customer
Triggers when a new customer is created.

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

#### New Customer Reply
Triggers when a customer sends a new reply.

- Type: read · Key: `customerReply`
- Requires: nothing
- Optional: inboxes
- SDK: `runAction({ app: "teamwork-desk", actionType: "read", action: "customerReply" })`
- CLI: `npx zapier-sdk run-action teamwork-desk read customerReply`

#### Thread Edited
Triggers when a thread has been edited.

- Type: read · Key: `threadEdited`
- Requires: nothing
- Optional: inboxes
- SDK: `runAction({ app: "teamwork-desk", actionType: "read", action: "threadEdited" })`
- CLI: `npx zapier-sdk run-action teamwork-desk read threadEdited`

#### Ticket Assigned
Triggers when a ticket is assigned.

- Type: read · Key: `ticketAssigned`
- Requires: nothing
- Optional: inboxes
- SDK: `runAction({ app: "teamwork-desk", actionType: "read", action: "ticketAssigned" })`
- CLI: `npx zapier-sdk run-action teamwork-desk read ticketAssigned`

#### New Ticket
Triggers when a new ticket is created.

- Type: read · Key: `ticketCreated_v2`
- Requires: nothing
- Optional: inboxes
- SDK: `runAction({ app: "teamwork-desk", actionType: "read", action: "ticketCreated_v2" })`
- CLI: `npx zapier-sdk run-action teamwork-desk read ticketCreated_v2`

#### New Ticket Note
Triggers when a ticket note is created.

- Type: read · Key: `ticketNoteCreated`
- Requires: nothing
- Optional: inboxes
- SDK: `runAction({ app: "teamwork-desk", actionType: "read", action: "ticketNoteCreated" })`
- CLI: `npx zapier-sdk run-action teamwork-desk read ticketNoteCreated`

#### Ticket Unassigned
Triggers when a ticket is unassigned.

- Type: read · Key: `ticketUnassigned`
- Requires: nothing
- Optional: inboxes
- SDK: `runAction({ app: "teamwork-desk", actionType: "read", action: "ticketUnassigned" })`
- CLI: `npx zapier-sdk run-action teamwork-desk read ticketUnassigned`

### Functions (8)

Functions change something in Teamwork Desk.

#### Add Reply to Ticket
Add a reply to a ticket.

- Type: write · Key: `addReplyToTicket`
- Requires: ticketId, type, body, status, isDraft, isPinned
- Optional: editMethod, cc, bcc, assignedTo, agentsToNotify
- SDK: `runAction({ app: "teamwork-desk", actionType: "write", action: "addReplyToTicket" })`
- CLI: `npx zapier-sdk run-action teamwork-desk write addReplyToTicket`

#### Assign Ticket
Assigns ticket to the specified user.

- Type: write · Key: `assignTicket`
- Requires: ticketId, assignedTo
- SDK: `runAction({ app: "teamwork-desk", actionType: "write", action: "assignTicket" })`
- CLI: `npx zapier-sdk run-action teamwork-desk write assignTicket`

#### Create Customer
Creates a new customer.

- Type: write · Key: `createCustomer`
- Requires: email
- Optional: firstName, lastName, alternativeEmail, organization, jobTitle, phone, mobile, twitterHandle, facebookUrl, linkedinUrl, address, notes, avatarUrl
- SDK: `runAction({ app: "teamwork-desk", actionType: "write", action: "createCustomer" })`
- CLI: `npx zapier-sdk run-action teamwork-desk write createCustomer`

#### Create Ticket
Creates a new ticket.

- Type: write · Key: `createTicket`
- Requires: inbox, customerType, subject, message, source, type, status
- Optional: cc, bcc, agent, priority, tags, notifyCustomer, editMethod, notifyCreatingAgent, taskId
- SDK: `runAction({ app: "teamwork-desk", actionType: "write", action: "createTicket" })`
- CLI: `npx zapier-sdk run-action teamwork-desk write createTicket`

#### Link Task to Ticket
Links a Teamwork Projects task to a ticket.

- Type: write · Key: `linkTaskToTicket`
- Requires: ticketId, taskId
- SDK: `runAction({ app: "teamwork-desk", actionType: "write", action: "linkTaskToTicket" })`
- CLI: `npx zapier-sdk run-action teamwork-desk write linkTaskToTicket`

#### Unassign Ticket
Unassigns a ticket.

- Type: write · Key: `unassignTicket`
- Requires: ticketId
- SDK: `runAction({ app: "teamwork-desk", actionType: "write", action: "unassignTicket" })`
- CLI: `npx zapier-sdk run-action teamwork-desk write unassignTicket`

#### Update Customer
Updates an existing customer.

- Type: write · Key: `updateCustomer`
- Requires: customerId
- Optional: firstName, lastName, email, organization, jobTitle, phone, mobile, twitterHandle, facebookUrl, linkedinUrl, address, notes, avatarUrl
- SDK: `runAction({ app: "teamwork-desk", actionType: "write", action: "updateCustomer" })`
- CLI: `npx zapier-sdk run-action teamwork-desk write updateCustomer`

#### Update Ticket
Updates an existing ticket.

- Type: write · Key: `updateTicket`
- Requires: ticketId
- Optional: inboxId, source, type, customerId, subject, message, editMethod, status, agent, priority, tags
- SDK: `runAction({ app: "teamwork-desk", actionType: "write", action: "updateTicket" })`
- CLI: `npx zapier-sdk run-action teamwork-desk write updateTicket`

### Queries (2)

Queries read from Teamwork Desk and return data. They change nothing.

#### Find Customer
Find an existing customer by name or email address.

- Type: search · Key: `findCustomer`
- Requires: searchKeywords
- SDK: `runAction({ app: "teamwork-desk", actionType: "search", action: "findCustomer" })`
- CLI: `npx zapier-sdk run-action teamwork-desk search findCustomer`

#### Find Ticket
Finds an existing ticket by ticket ID or keyword search.

- Type: search · Key: `findTicket`
- Requires: searchKeywords
- SDK: `runAction({ app: "teamwork-desk", actionType: "search", action: "findTicket" })`
- CLI: `npx zapier-sdk run-action teamwork-desk search findTicket`

### Search or Write Actions (2)

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

#### Find or Create Customer
Find or Create Customer

- Type: search_or_write · Key: `findCustomer`
- Requires: searchKeywords, email
- Optional: firstName, lastName, alternativeEmail, organization, jobTitle, phone, mobile, twitterHandle, facebookUrl, linkedinUrl, address, notes, avatarUrl
- SDK: `runAction({ app: "teamwork-desk", actionType: "search_or_write", action: "findCustomer" })`
- CLI: `npx zapier-sdk run-action teamwork-desk search_or_write findCustomer`

#### Find or Create Ticket
Find or Create Ticket

- Type: search_or_write · Key: `findTicket`
- Requires: searchKeywords, inbox, customerType, subject, message, source, type, status
- Optional: cc, bcc, agent, priority, tags, notifyCustomer, editMethod, notifyCreatingAgent, taskId
- SDK: `runAction({ app: "teamwork-desk", actionType: "search_or_write", action: "findTicket" })`
- CLI: `npx zapier-sdk run-action teamwork-desk search_or_write findTicket`

## Popular integrations
- [Teamwork Desk + Slack](zapier.com/apps/teamwork-desk/integrations/slack.md)
- [Teamwork Desk + Teamwork](zapier.com/apps/teamwork-desk/integrations/teamwork.md)
- [Teamwork Desk + Shopify](zapier.com/apps/teamwork-desk/integrations/shopify.md)
- [Teamwork Desk + ClickUp](zapier.com/apps/teamwork-desk/integrations/clickup.md)
- [Teamwork Desk + Salesforce](zapier.com/apps/teamwork-desk/integrations/salesforce.md)
- [Teamwork Desk + HubSpot](zapier.com/apps/teamwork-desk/integrations/hubspot.md)
- [Teamwork Desk + Google Forms](zapier.com/apps/teamwork-desk/integrations/google-forms.md)
- [Teamwork Desk + Microsoft SharePoint](zapier.com/apps/teamwork-desk/integrations/sharepoint.md)
- [Teamwork Desk + monday.com](zapier.com/apps/teamwork-desk/integrations/monday.md)
- [Teamwork Desk + Keap](zapier.com/apps/teamwork-desk/integrations/keap.md)
- [Teamwork Desk + Google Sheets](zapier.com/apps/teamwork-desk/integrations/google-sheets.md)
- [Teamwork Desk + TickTick](zapier.com/apps/teamwork-desk/integrations/ticktick.md)
- [Teamwork Desk + Dotdigital](zapier.com/apps/teamwork-desk/integrations/dotdigital.md)
- [Teamwork Desk + Docparser](zapier.com/apps/teamwork-desk/integrations/docparser.md)
- [Teamwork Desk + Jotform](zapier.com/apps/teamwork-desk/integrations/jotform.md)
- [Teamwork Desk + Microsoft Excel](zapier.com/apps/teamwork-desk/integrations/excel.md)
- [Teamwork Desk + PandaDoc](zapier.com/apps/teamwork-desk/integrations/pandadoc.md)
- [Teamwork Desk + Wrike](zapier.com/apps/teamwork-desk/integrations/wrike.md)
- [Teamwork Desk + Jira Software Cloud](zapier.com/apps/teamwork-desk/integrations/jira-software-cloud.md)
- [Teamwork Desk + Facebook Messenger](zapier.com/apps/teamwork-desk/integrations/facebook-messenger.md)
- [Teamwork Desk + Google Forms (Legacy)](zapier.com/apps/teamwork-desk/integrations/google-forms-legacy.md)
- [Teamwork Desk + Notion](zapier.com/apps/teamwork-desk/integrations/notion.md)
- [Teamwork Desk + Facebook Lead Ads (for Business admins)](zapier.com/apps/teamwork-desk/integrations/facebook-lead-ads-beta.md)
- [Teamwork Desk + Temi](zapier.com/apps/teamwork-desk/integrations/temi.md)
- [Teamwork Desk + Gmail](zapier.com/apps/teamwork-desk/integrations/gmail.md)
- [Teamwork Desk + Productboard](zapier.com/apps/teamwork-desk/integrations/productboard.md)
- [Teamwork Desk + Teamwork CRM](zapier.com/apps/teamwork-desk/integrations/teamwork-crm.md)
- [Teamwork Desk + Stripe (Legacy)](zapier.com/apps/teamwork-desk/integrations/stripe-legacy.md)
- [Teamwork Desk + MySQL](zapier.com/apps/teamwork-desk/integrations/mysql.md)
- [Teamwork Desk + Typeform](zapier.com/apps/teamwork-desk/integrations/typeform.md)

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