View as Markdown
Zoho Desk icon

Zoho Desk ACTION

Add Ticket Comment

Adds a comment to a ticket. See the docs here
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Zoho Desk account once, then configure and run Add Ticket Comment 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-add-ticket-comment",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    zoho_desk: { authProvisionId: "apn_xxxxxxx" },
    orgId: "Organization ID",
    ticketId: "Ticket ID",
  },
})

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.

Add Ticket Comment inputs
Property Type Description
orgId Organization ID string
The ID of the organization
Required Dynamic
ticketId Ticket ID string
The ID of the ticket
Required Dynamic
content Content string
Content of the comment. To retrieve or set user mentions, use this code format: zsu[@user:{zuid}zsu.
Optional
isPublic Is Public boolean
Key that returns if a comment is public or not. The value of this key can be set only at the time of making a comment.
Optional
contentType Content Type string
Used to denote the content-type which maybe html or plainText. The default type is html.
Optional

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-add-ticket-comment
Version
0.0.12
App
Zoho Desk
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes