Workflow blocks
Get Ticket Comments
Get conversation history for a ticket
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
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
ticketId | text (supports references) | Yes | — | Numeric Zendesk ticket ID whose comment/conversation history to fetch. Use a literal number or <StepName.field> to reference an ID from a previous step. |
limit | number | No | 50 | Maximum 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>.
| Name | Type | Description |
|---|---|---|
success | boolean | Operation succeeded |
comments | array | Comments array |
count | number | Number of comments |
error | string | Error 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
erroroutput is populated; downstream blocks that reference other outputs may not receive values.