View as Markdown
Zoho Desk icon

Zoho Desk ACTION

List Ticket Fields

Lists every field configured on a Zoho Desk module (defaults to Tickets), including each field's apiName, displayLabel, type, and for picklist fields - the allowedValues array. Useful for discovering valid picklist values (e.g. for status, priority, channel, category, subCategory, classification) before creating or routing tickets. See the documentation
  • Action
  • Read only
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Zoho Desk account once, then configure and run List Ticket Fields from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "zoho_desk-list-ticket-fields",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    zoho_desk: { authProvisionId: "apn_xxxxxxx" },
    orgId: "Organization ID",
    module: "Module",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

List Ticket Fields inputs
Property Type Description
orgId Organization ID string
The ID of the organization
Required Dynamic
module Module string
The Zoho Desk module whose fields to list. Defaults to tickets.
Optional
apiNames API Names string[]
Select one or more field API names to filter the response (e.g. category, subCategory, classification, priority, status) (max 100 chars). Leave blank to return every field in the selected module.
Optional Dynamic

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
zoho_desk-list-ticket-fields
Version
0.0.3
App
Zoho Desk
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes