View as Markdown
Freshdesk icon

Freshdesk ACTION

Update a Ticket

Update status, priority, subject, description, agent, group, etc. See the documentation.
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Freshdesk account once, then configure and run Update a Ticket 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: "freshdesk-update-ticket",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    freshdesk: { authProvisionId: "apn_xxxxxxx" },
    ticketId: 10,
    status: 10,
  },
})

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.

Update a Ticket inputs
Property Type Description
ticketId Ticket ID integer
Select a ticket or provide a ticket ID
Required Dynamic
status Status integer
Status of the ticket
Optional Dynamic
priority Priority integer
Priority of the ticket
Optional Dynamic
subject Subject string
Ticket subject
Optional
description Description string
Detailed ticket description (HTML allowed)
Optional
group_id Group integer
Select a group to assign the ticket to.
Required Dynamic
responder_id Agent integer
Select an agent to assign the ticket to
Required Dynamic
email Requester Email (replaces requester) string
Updates the requester. If no contact with this email exists, a new one will be created and assigned to the ticket.
Optional
phone Requester Phone (replaces requester) string
If no contact with this phone number exists, a new one will be created. If used without email, 'name' is required.
Optional
name Requester Name (required with phone if no email) string
Used when creating a contact with phone but no email.
Optional
type Type string
Type of ticket (must match one of the allowed values)
Optional
custom_fields Custom Fields object
Custom fields as key-value pairs (make sure types match your config)
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
freshdesk-update-ticket
Version
0.0.13
App
Freshdesk
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes