StyloDocs
Workflow blocks

Get Ticket Comments

Get conversation history for a ticket

View as Markdown

zendesk/get-ticket-comments — Get conversation history for a ticket.

Where it appears

The Get Ticket Comments 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 whose comment/conversation history to fetch. Use a literal number or <StepName.field> to reference an ID from a previous step.
limitnumberNo50Maximum number of comments to return, most recent first. Defaults to 50.

Inputs and outputs

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

Outputs

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

NameTypeDescription
successbooleanOperation succeeded
commentsarrayComments array
countnumberNumber of comments
errorstringError message if failed

Example

A minimal configuration for this block:

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

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