StyloDocs
Workflow blocks

Get Ticket Context

Get complete ticket context (ticket, conversation, customer, assignee, organization) optimized for AI

View as Markdown

zendesk/get-ticket-context — Get complete ticket context (ticket, conversation, customer, assignee, organization) optimized for AI.

Where it appears

The Get Ticket Context block lives in the Integrations group of the Workflow Builder. Connect the Zendesk integration before adding it.

Fields

FieldTypeRequiredDefaultDescription
ticketIdtext (supports references)YesNumeric Zendesk ticket ID to assemble context for. Use a literal number or <StepName.field> to reference an ID from a previous step.

Inputs and outputs

Inputs are the configurable fields above. The block produces these outputs:

Outputs

Reference an output downstream with <Get Ticket Context.field>.

NameTypeDescription
successbooleanOperation succeeded
contextjsonComplete ticket context (object — fields: ticket, conversation, customer, assignee, organization)
errorstringError message if failed

Example

A minimal configuration for this block:

{
  "type": "zendesk/get-ticket-context",
  "config": {
    "ticketId": "<PreviousStep.field>"
  }
}

Limits and failure modes

  • Requires a connected Zendesk integration. Calls fail if that integration is disconnected or its authorization has expired.
  • Required field (ticketId) must be set, or the block fails validation before it runs.
  • On failure the error output is populated; downstream blocks that reference other outputs may not receive values.

On this page