First-party app
Zoho Desk

Zoho Desk

Create, read, update and comment on tickets, contacts and accounts in Zoho Desk, across every Zoho data centre.

stable Customer Support

About

Zoho Desk ships in the w6w first-party pack. It declares 27 actions, 2 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.zohodesk
Version
0.1.1
Author
w6w
Licence
MIT
Categories
Customer Support

Overview

Zoho Desk creates, reads, updates and comments on tickets, contacts and accounts in Zoho Desk’s customer-support platform, across any of Zoho’s ten regional data centres. Tickets, contacts and accounts can each be listed, read, created, updated and deleted; agents and departments can be looked up; and comments, threads and attachments can be listed and added to a ticket, giving a workflow the same conversation history a support agent sees.

A single search action reaches across tickets, accounts, contacts and tasks at once. Every action resolves the right organization automatically from the connection’s own default, with an explicit override available for an account that spans more than one organization — a detail that would otherwise trip up a workflow the moment an org has more than one.

Zoho Desk is a distinct product and API from Zoho CRM, Zoho Books and Zoho Mail, each already covered by this pack’s other Zoho apps; this app is scoped to the helpdesk surface alone rather than any of the others. SLAs, business hours, macros, blueprints and the knowledge-base/Help Center module are left out, since the actions here focus on the core support-ticket workflow rather than the whole product.

Build with Zoho Desk

Three routes to the same 27 actions. The Workflow tab is generated from Zoho Desk's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.

Create Account

account-create

`accountName` is required, e.g. { "accountName": "Zylker Inc." }.

Delete Account

account-delete

Move an account (customer company) to trash.

Get Account

account-get

Get a single account (customer company) by id.

List Accounts

account-list

List accounts (customer companies), with pagination support.

Update Account

account-update

Update fields on an existing account, e.g. { "website": "https://acme.com" }.

Get Agent

agent-get

Get a single agent by id.

List Agents

agent-list

List agents, with pagination support.

Create Contact

contact-create

`lastName` is required, e.g. { "lastName": "Carol", "email": "carol@zylker.com" }. Field names are camelCase (lastName, firstName), unlike Zoho Books' snake_case.

Delete Contact

contact-delete

Move a contact to trash.

Get Contact

contact-get

Get a single contact by id.

List Contacts

contact-list

List contacts, with pagination support. Use `search-records` for a text search instead.

Update Contact

contact-update

Update fields on an existing contact, e.g. { "phone": "1 888 900 9646" }.

Get Department

department-get

Get a single department by id.

List Departments

department-list

List departments, with pagination support.

List Organizations

organization-list

List every Zoho Desk organization the connected user belongs to. Use an id from here as `orgId` on any other action, or leave it unset to use the connection's default.

Search Records

search-records

Search across tickets, accounts, contacts and tasks by keyword.

Create Ticket Attachment

ticket-attachment-create

Attach a file to a ticket. Max size 20 MB (Zoho returns RESOURCE_SIZE_EXCEEDED).

List Ticket Attachments

ticket-attachment-list

List attachments on a ticket.

Create Ticket Comment

ticket-comment-create

Add a comment to a ticket. To mention an agent or team, use `zsu[@user:{zuid}]zsu` / `zsu[@team:{teamId}_{teamName}]zsu` in the content.

List Ticket Comments

ticket-comment-list

List comments on a ticket, with pagination support.

Create Ticket

ticket-create

`subject` and `departmentId` are required, e.g. { "subject": "Cannot log in", "departmentId": "1892000000006907", "contactId": "1892000000042032" }. If `contactId` is omitted, include a nested `contact` object with `lastName` or `email` to create one inline.

Delete Ticket

ticket-delete

Move a ticket to trash.

Get Ticket

ticket-get

Get a single ticket by id.

List Tickets

ticket-list

List tickets, with pagination support.

Get Ticket Thread

ticket-thread-get

Get a single conversation thread on a ticket.

List Ticket Threads

ticket-thread-list

List the conversation threads (customer-facing messages) on a ticket.

Update Ticket

ticket-update

Update fields on an existing ticket, e.g. { "status": "Closed" }.

A workflow step names the app and the action, and the editor fills in the connection when you pick one. This is the Step shape from the workflow spec, carrying Zoho Desk's real ids.

{
  "manifestVersion": "2",
  "name": "zohodesk-example",
  "steps": [
    {
      "id": "account-create",
      "uses": {
        "app": "io.w6w.zohodesk",
        "action": "account-create",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "fields": "<fields>"
      }
    }
  ]
}

Here are some of the things you can do

  • Create Account

    perform
    account-create
  • Get Account

    read
    account-get
  • List Accounts

    read
    account-list
  • Update Account

    perform
    account-update
  • Get Agent

    read
    agent-get

+22 more actions available

Every app-specific value here is a blank you have to fill in. An app action is reached through the connection that authenticates it, so the address is a connection id, not the app id — and connections belong to your account, so a public page cannot know yours. Create one for Zoho Desk, then fill in the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the parameters that action declares. The call itself is real — the shape is transcribed from the studio's own snippet builder, which prints the same kind of blanks — but nothing in it is specific to Zoho Desk. The Workflow tab is where this app's real ids are.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { W6wClient, isActionRun } from "@w6w/sdk";

// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();

const envelope = await client.run({
  urn: "conn_YOUR_CONNECTION_ID",
  action: "account-create",
  payload: {
    fields: "<value>",
    // orgId: "<value>",
  },
});

if (isActionRun(envelope)) console.log(envelope.value);
Install the CLI
npm install -g @w6w/cli
CLI
w6w run conn_YOUR_CONNECTION_ID --action account-create --payload '{"fields":"<value>"}'

Give an AI agent Zoho Desk — without giving it Zoho Desk's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.

One tool call
{
  "name": "w6w_invoke",
  "arguments": {
    "ref": "app:io.w6w.zohodesk#account-create",
    "input": {
      "fields": "<fields>"
    }
  }
}

Every tool names its target with a single ref. The app: form above doesn't name a connection at all — the host resolves which of the caller's Zoho Desk connections to sign with, and refuses rather than guesses when the answer is ambiguous.

What the agent gets

Credentials it can't read

The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.

A tool surface scoped to the caller

Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.

A durable workflow in one call

Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.

Health-aware discovery

Zoho Desk's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.

The MCP surface is part of the hosted platform. Zoho Desk itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

Zoho Desk declares its own checks, so its health is a property of the app rather than something the host guesses at.

service

Zoho Desk platform status

Reads the "Zoho Desk" component off Zoho's StatusIQ RSS feed (us.zohostatus.com/rss). Unauthenticated and unsigned.

quota

Daily API credit headroom

Reads `X-Rate-Limit-Remaining-v3` off `GET /organizations`. Zoho Desk's daily credit allocation varies by edition and add-ons, so this reports `down` only once fully exhausted and `degraded` under a conservative fixed floor.