StyloDocs
Workflow blocks

Get User Tickets

Get ticket history for a customer

View as Markdown

zendesk/get-user-tickets — Get ticket history for a customer.

Where it appears

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

Fields

FieldTypeRequiredDefaultDescription
userIdtext (supports references)YesNumeric Zendesk user ID whose ticket history to fetch. Use a literal number or <StepName.field> to reference an ID from a previous step.
limitnumberNo25Maximum number of the user's tickets to return. Defaults to 25.

Inputs and outputs

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

Outputs

Reference an output downstream with <Get User Tickets.field>.

NameTypeDescription
successbooleanSuccess status
ticketsarrayArray of user tickets
countnumberNumber of tickets
errorstringError message if failed

Example

A minimal configuration for this block:

{
  "type": "zendesk/get-user-tickets",
  "config": {
    "userId": "<PreviousStep.field>",
    "limit": 25
  }
}

Limits and failure modes

  • Requires a connected Zendesk integration. Calls fail if that integration is disconnected or its authorization has expired.
  • Required field (userId) 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