First-party app
Zendesk

Zendesk

Manage Zendesk Support tickets, users and organizations.

stable Customer SupportCustomer Relationship Management

About

Zendesk ships in the w6w first-party pack. It declares 17 actions, 3 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.zendesk
Version
0.2.2
Author
w6w
Licence
MIT
Categories
Customer Support · Customer Relationship Management

Overview

Zendesk manages the full ticket lifecycle from a workflow — creating, updating, searching, fetching, listing and deleting tickets, and adding comments to keep a conversation moving without an agent working inside Zendesk’s own interface. Ticket fields can be listed too, so a workflow can populate a custom field correctly rather than guessing at what a Zendesk instance has configured.

Users and organizations round it out: users can be created, searched, fetched, deleted and upserted with a single create-or-update action, and organizations can be created, fetched and listed, giving a workflow what it needs to file a ticket against the right requester and account.

A fit for routing an external event — a support email, an alert, a form submission — into a new Zendesk ticket, or syncing user and organization records between Zendesk and a CRM.

Build with Zendesk

Three routes to the same 17 actions. The Workflow tab is generated from Zendesk'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 Organization

organization-create

Create an organization. Users with a matching email domain join it automatically.

Get Organization

organization-get

Fetch an organization by id.

List Organizations

organization-get-many

List organizations with cursor pagination.

Add Comment to Ticket

ticket-add-comment

Reply to a ticket, publicly or as an internal note.

Create Ticket

ticket-create

Open a support ticket. The description becomes its first public comment.

Delete Ticket

ticket-delete

Soft-delete a ticket. It moves to the deleted view before being purged. Admin only.

List Ticket Fields

ticket-field-get-many

List ticket fields with their ids — the ids the ticket actions' Custom fields param needs.

Get Ticket

ticket-get

Fetch a ticket by id.

List Tickets

ticket-get-many

List tickets with cursor pagination. Use `ticket-search` to filter.

Search Tickets

ticket-search

Search tickets with Zendesk's search syntax. `type:ticket` is applied for you.

Update Ticket

ticket-update

Update a ticket's fields. To add a reply instead, use `ticket-add-comment`.

Create User

user-create

Create an end user, agent or admin.

Create or Update User

user-create-or-update

Upsert a user, matched on external ID then email. Safe to re-run, unlike `user-create`.

Delete User

user-delete

Soft-delete a user. Their tickets remain; permanent erasure is a separate GDPR request.

Get User

user-get

Fetch a user by id.

Search Users

user-search

Find users by email, name, phone or external id.

Update User

user-update

Update a user's profile, role or suspension state.

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 Zendesk's real ids.

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

Here are some of the things you can do

  • Create Organization

    perform
    organization-create
  • Get Organization

    read
    organization-get
  • List Organizations

    search
    organization-get-many
  • Add Comment to Ticket

    perform
    ticket-add-comment
  • Create Ticket

    perform
    ticket-create

+12 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 Zendesk, 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 Zendesk. 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: "ticket-create",
  payload: {
    subject: "<value>",
    description: "<value>",
    // requesterEmail: "<value>",
    // requesterName: "<value>",
    // assigneeId: "<value>",
    // groupId: "<value>",
    // type: "<value>",
    // status: "<value>",
    // priority: "<value>",
    // tags: "<value>",
    // externalId: "<value>",
    // customFields: "<value>",
  },
});

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

Give an AI agent Zendesk — without giving it Zendesk'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.zendesk#organization-create",
    "input": {
      "name": "<name>"
    }
  }
}

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 Zendesk 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

Zendesk'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. Zendesk itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

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

service

Zendesk platform status

quota

API rate-limit headroom

Per-minute account allowance remaining, read off the `ratelimit-*` headers. Per-endpoint caps are tighter.

dependency

Account subdomain reachable

Unauthenticated request to this connection's Zendesk subdomain. A 401 passes — it proves the pod is serving; credential validity is the `auth:*` check's job.