CONNECT APP
Build with Zoho Desk
Business Management
- OAuth
MCP
Give your agent Zoho Desk tools
Every Zoho Desk action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's Zoho Desk account for each tool call — you store no tokens.
// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "zoho_desk",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// e.g. run Add Ticket Attachment:
const result = await mcp.callTool({
name: "zoho_desk-add-ticket-attachment",
arguments: {
orgId: "Organization ID",
ticketId: "Ticket ID",
},
})# access_token: mint a short-lived token with the Connect SDK — see the MCP guide
headers = {
"Authorization": f"Bearer {access_token}",
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", # any stable ID for this user in your system
"x-pd-app-slug": "zoho_desk",
}
async with streamablehttp_client("https://remote.mcp.pipedream.net/v3", headers=headers) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
# e.g. run Add Ticket Attachment:
result = await session.call_tool("zoho_desk-add-ticket-attachment", {
"orgId": "Organization ID",
"ticketId": "Ticket ID",
})API PROXY
Call the Zoho Desk API directly
For an endpoint with no pre-built tool, the Connect proxy forwards your request to the Zoho Desk API with the connected user's credentials attached. You store no tokens and write no refresh logic.
const resp = await pd.proxy.get({
externalUserId: "{external_user_id}", // any stable ID for this user in your system
accountId: "apn_xxxxxxx",
url: "https://api.example.com/v1/me",
})
// Any allowed Zoho Desk endpoint works here. Pipedream attaches the
// connected account's credentials to the outgoing request.# The path segment is the target URL, URL-safe base64 encoded:
# https://api.example.com/v1/me
curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuZXhhbXBsZS5jb20vdjEvbWU?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
-H "Authorization: Bearer {access_token}" \
-H "x-pd-environment: production"SDK
Run Zoho Desk actions from your backend
Connect a user's Zoho Desk account once, then run Add Ticket Attachment on their behalf from your own code — TypeScript, Python, or plain HTTP.
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-attachment",
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",
},
})from pipedream import Pipedream
pd = Pipedream(
client_id="{oauth_client_id}",
client_secret="{oauth_client_secret}",
project_id="{project_id}",
project_environment="production",
)
result = pd.actions.run(
id="zoho_desk-add-ticket-attachment",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"zoho_desk": {"authProvisionId": "apn_xxxxxxx"},
"orgId": "Organization ID",
"ticketId": "Ticket ID",
},
)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "zoho_desk-add-ticket-attachment",
"configured_props": {
"zoho_desk": { "authProvisionId": "apn_xxxxxxx" },
"orgId": "Organization ID",
"ticketId": "Ticket ID"
}
}'TOOLS
Zoho Desk actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Add Ticket Attachment
actionAttaches a file to a ticket. See the docs hereWritev0.1.12 -
Add Ticket Comment
actionAdds a comment to a ticket. See the docs hereWritev0.0.12 -
Create Account
actionCreates an account in your help desk portal. See the docs hereWritev0.0.12 -
Create Contact
actionCreates a contact in your help desk portal. See the docs hereWritev0.0.12 -
Create Ticket
actionCreates a ticket in your helpdesk. See the docs hereWritev0.0.12 -
Delete Ticket Comment
actionDeletes a specific comment from a ticket. See the documentationWritev0.0.3 -
Download Thread Attachment
actionDownload a specific attachment belonging to a thread of a ticket. See the documentationRead-onlyv0.0.4 -
Find Contact
actionSearches for contacts in your help desk portal. See the docs hereRead-onlyv0.0.12 -
Find or Create Contact
actionFinds or create a contact. See the docs hereRead-onlyv0.0.12 -
Get Article
actionRetrieves the details of a knowledge base article. See the documentationRead-onlyv0.0.8 -
Get Thread Details
actionRetrieve details for a specific thread belonging to a ticket. See the documentationRead-onlyv0.0.5 -
Get Ticket Comment
actionRetrieves details of a specific comment on a ticket. See the documentationRead-onlyv0.0.3 -
Get Ticket Comment History
actionRetrieves the edit history of a specific ticket comment. See the documentationRead-onlyv0.0.3 -
Get Ticket Details
actionRetrieve details for a specified ticket. See the documentationRead-onlyv0.0.5 -
List All Ticket Comments
actionRetrieves all comments for a specified ticket. See the documentationRead-onlyv0.0.3 -
List Articles
actionLists knowledge base articles for a help center. See the documentationRead-onlyv0.0.8 -
List Conversations
actionList all conversations for a ticket. See the documentationRead-onlyv0.0.2 -
List Departments
actionLists the departments configured in the organization, with optional filtering by enabled/disabled state. Use this to drive workflows by department name lookups instead of hardcoded department IDs. See the documentationRead-onlyv0.0.3 -
List Help Centers
actionLists the help centers configured in an organization. See the documentationRead-onlyv0.0.8 -
List Root Categories
actionLists root knowledge base categories for a help center. See the documentationRead-onlyv0.0.8 -
List Ticket Attachments
actionList attachments for a specific ticket. See the documentationRead-onlyv0.0.5 -
List Ticket Fields
actionLists every field configured on a Zoho Desk module (defaults to Tickets), including each field'sapiName,displayLabel,type, and for picklist fields - theallowedValuesarray. Useful for discovering valid picklist values (e.g. forstatus,priority,channel,category,subCategory,classification) before creating or routing tickets. See the documentationRead-onlyv0.0.3 -
List Ticket Threads
actionGet a list of threads for a specified ticket. See the documentationRead-onlyv0.0.6 -
List Tickets
actionLists all tickets in your help desk with optional filtering. See the docs hereRead-onlyv0.0.6 -
Search Articles
actionSearches for knowledge base articles. See the documentationRead-onlyv0.0.8 -
Search Ticket
actionSearches for tickets in your help desk. See the docs hereRead-onlyv0.0.12 -
Send E-Mail Reply
actionSends an email reply. See the docs hereWritev0.0.12 -
Update Contact
actionUpdates details of an existing contact. See the docs hereWritev0.0.12 -
Update Ticket
actionUpdates an existing ticket. See the docs hereWritev0.0.12 -
Update Ticket Comment
actionUpdates an existing comment on a ticket. See the documentationWritev0.0.3
EVENTS
Zoho Desk triggers
Event sources your backend can deploy for users and receive through a webhook.
-
Deleted Article (Instant)
triggerEmit new event when an article is deleted from the recycle binInstantv0.0.9 -
New Account
triggerEmit new event when a new account is created. See the docs herev0.0.13 -
New Agent
triggerEmit new event when a new agent is created. See the docs herev0.0.13 -
New Article (Instant)
triggerEmit new event when a new article is createdInstantv0.0.9 -
New Contact
triggerEmit new event when a new contact is created. See the docs herev0.0.13 -
New Ticket
triggerEmit new event when a new ticket is created. See the docs herev0.0.13 -
New Ticket Attachment
triggerEmit new event when a new ticket attachment is created. See the docs herev0.1.8 -
New Ticket Comment
triggerEmit new event when a new ticket comment is created. See the docs herev0.0.13 -
New Ticket Message
triggerEmit new event when a message ticket is created. See the docs herev0.0.13 -
New Ticket Status Change
triggerEmit new event when a status ticket is changed. See the docs herev0.0.13 -
New Updated Ticket
triggerEmit new event when a ticket is updated. See the docs herev0.0.13 -
Updated Article (Instant)
triggerEmit new event when an article is updatedInstantv0.0.9
- App slug
- zoho_desk
- Authentication
- OAuth
- Categories
- Business Management
- Actions
- 30
- Triggers
- 12
- API proxy
- Available
OAuth scopes
These are the scopes Pipedream's managed Zoho Desk OAuth client requests when one of your users connects an account. Supply your own OAuth client to request a different set.
- Desk.articles.CREATE
- Desk.articles.READ
- Desk.articles.UPDATE
- Desk.basic.CREATE
- Desk.basic.READ
- Desk.contacts.CREATE
- Desk.contacts.READ
- Desk.contacts.UPDATE
- Desk.contacts.WRITE
- Desk.events.CREATE
- Desk.events.READ
- Desk.events.UPDATE
- Desk.events.WRITE
- Desk.search.READ
- Desk.settings.CREATE
- Desk.settings.READ
- Desk.settings.UPDATE
- Desk.settings.WRITE
- Desk.tasks.CREATE
- Desk.tasks.READ
- Desk.tasks.UPDATE
- Desk.tasks.WRITE
- Desk.tickets.CREATE
- Desk.tickets.READ
- Desk.tickets.UPDATE
- Desk.tickets.WRITE