Workflow blocks
Search Tickets
Search for Zendesk tickets
zendesk/search-tickets — Search for Zendesk tickets.
Where it appears
The Search Tickets block lives in the Integrations group of the Workflow Builder. Connect the Zendesk integration before adding it.
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
query | text (supports references) | Yes | — | Zendesk search query using the Search API syntax (e.g. status:open assignee:me). Use literal text or <StepName.field> to inject a value from a previous step. |
sortBy | select | No | — | Field used to sort the matching tickets. Options: created_at, updated_at, priority, status. |
sortOrder | select | No | — | Direction to sort results: ascending or descending by the selected sort field. Options: asc, desc. |
Inputs and outputs
Inputs are the configurable fields above. The block produces these outputs:
Outputs
Reference an output downstream with <Search Tickets.field>.
| Name | Type | Description |
|---|---|---|
success | boolean | Success status |
tickets | array | Array of matching tickets |
count | number | Number of tickets found |
error | string | Error message if failed |
Example
A minimal configuration for this block:
{
"type": "zendesk/search-tickets",
"config": {
"query": "<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 (
query) 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.