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

# Sortd for Gmail + Privyr Integrations: Connect with Zapier MCP
> zapier.com/apps/sortd/integrations/privyr
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Sortd for Gmail and Privyr 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 `sortd` and `privyr`, then `enable_zapier_action`. If Sortd for Gmail or Privyr 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 Client  is enabled, call `privyr_create_client`. 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: "privyr", owner: "me" });

const { data } = await zapier.runAction({
  app: "privyr",
  actionType: "write",
  action: "create_client",
  connection: connection.id,
  inputs: {
    name: "", // Client Name
    source: "", // Lead Source
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action privyr write create_client \
  --inputs '{"name":"","source":""}'
```

## Sortd for Gmail

### Identity
Sortd allows you to organise email & teamwork in Gmail. Collaborate around Tasks, Emails, Meetings and Projects is made easy with customised boards and workflows

- App slug: sortd
- Operations published here: 14 (7 events, 7 functions)

### Authentication
Zapier connects to Sortd for Gmail 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 sortd
```

### Capabilities

#### Events (7)

Events fire when something happens in Sortd for Gmail. Use them to start a run.

##### Task Archived
Triggers when a task is archived.

- Type: read · Key: `item_archived`
- Requires: teamId, boardId
- MCP tool: `sortd_for_gmail_task_archived` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "sortd", actionType: "read", action: "item_archived" })`
- CLI: `npx zapier-sdk run-action sortd read item_archived`

##### Task Assigned
Triggers when a task is assigned to a team member

- Type: read · Key: `item_assigned`
- Requires: teamId, boardId
- MCP tool: `sortd_for_gmail_task_assigned` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "sortd", actionType: "read", action: "item_assigned" })`
- CLI: `npx zapier-sdk run-action sortd read item_assigned`

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

- Type: read · Key: `item_completed`
- Requires: teamId, boardId
- MCP tool: `sortd_for_gmail_task_completed` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "sortd", actionType: "read", action: "item_completed" })`
- CLI: `npx zapier-sdk run-action sortd read item_completed`

##### Task Deleted
Triggers when a task is deleted.

- Type: read · Key: `item_deleted`
- Requires: teamId, boardId
- MCP tool: `sortd_for_gmail_task_deleted` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "sortd", actionType: "read", action: "item_deleted" })`
- CLI: `npx zapier-sdk run-action sortd read item_deleted`

##### Get a Lists Tasks
Triggers when a List's tasks are retrieved.

- Type: read · Key: `list_items`
- Requires: boardId, listId
- Optional: teamId
- MCP tool: `sortd_for_gmail_get_a_lists_tasks` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "sortd", actionType: "read", action: "list_items" })`
- CLI: `npx zapier-sdk run-action sortd read list_items`

##### New Task Created
Triggers when a new Task is created on the specified board or list.

- Type: read · Key: `task_created`
- Requires: teamId, boardId, listId
- MCP tool: `sortd_for_gmail_new_task_created` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "sortd", actionType: "read", action: "task_created" })`
- CLI: `npx zapier-sdk run-action sortd read task_created`

##### Task Moved to List
Triggers when a task is moved to the specified list.

- Type: read · Key: `task_moved_list`
- Requires: teamId, boardId, listId
- MCP tool: `sortd_for_gmail_task_moved_to_list` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "sortd", actionType: "read", action: "task_moved_list" })`
- CLI: `npx zapier-sdk run-action sortd read task_moved_list`

#### Functions (7)

Functions change something in Sortd for Gmail.

##### Assign a Task
Assign a Task to a member of the Sortd Board on which the Task exists

- Type: write · Key: `assign_task`
- Requires: itemId, assigneeEmail
- MCP tool: `sortd_for_gmail_assign_a_task` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "sortd", actionType: "write", action: "assign_task" })`
- CLI: `npx zapier-sdk run-action sortd write assign_task`

##### Complete Task
Completes a Task in Sortd

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

##### Create Task
Create a new Task in Sortd

- Type: write · Key: `create_task`
- Requires: teamId, boardId, listId, title
- Optional: dueDate, notes
- MCP tool: `sortd_for_gmail_create_task` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "sortd", actionType: "write", action: "create_task" })`
- CLI: `npx zapier-sdk run-action sortd write create_task`

##### Create Task From Gmail Thread
Create a Task in Sortd from a new thread in Gmail

- Type: write · Key: `create_task_from_gmail`
- Requires: teamId, boardId, listId, threadId, messageId, title, contentType, archive
- MCP tool: `sortd_for_gmail_create_task_from_gmail_thread` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "sortd", actionType: "write", action: "create_task_from_gmail" })`
- CLI: `npx zapier-sdk run-action sortd write create_task_from_gmail`

##### Mark Task as Incomplete
Changes a previously completed Task in Sortd to show is Incomplete

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

##### Move a Task to a New List
Move a Task to a New List (either the current Board or a different Board that the user has access to)

- Type: write · Key: `move_task_to_list`
- Requires: itemId, listId
- Optional: teamId, boardId
- MCP tool: `sortd_for_gmail_move_a_task_to_a_new_list` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "sortd", actionType: "write", action: "move_task_to_list" })`
- CLI: `npx zapier-sdk run-action sortd write move_task_to_list`

##### Unassign Task
Remove the currently assigned person from the Task / Clear the Task assignment

- Type: write · Key: `unassign_task`
- Requires: itemId, assigneeEmail
- MCP tool: `sortd_for_gmail_unassign_task` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "sortd", actionType: "write", action: "unassign_task" })`
- CLI: `npx zapier-sdk run-action sortd write unassign_task`

## Privyr

### Identity
Privyr is a mobile CRM built for sales professionals who run their businesses from their phone. It works with WhatsApp, iMessage, SMS, email, and other popular chat apps.

- App slug: privyr
- Operations published here: 1 (1 function)

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

### Capabilities

#### Functions (1)

Functions change something in Privyr.

##### Create Client 
Create a new client in your Privyr account

- Type: write · Key: `create_client`
- Requires: name, source
- Optional: phone_number, email, other_data
- MCP tool: `privyr_create_client` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "privyr", actionType: "write", action: "create_client" })`
- CLI: `npx zapier-sdk run-action privyr write create_client`

## Frequently asked questions about automating with Sortd for Gmail and Privyr

### 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
- Sortd for Gmail integrations: zapier.com/apps/sortd/integrations.md
- Privyr integrations: zapier.com/apps/privyr/integrations.md
- Full page: zapier.com/apps/sortd/integrations/privyr
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk