StyloDocs
Workflow blocks

Set Ticket Type

Set ticket type (problem, incident, question, task)

View as Markdown

zendesk/set-ticket-type — Set ticket type (problem, incident, question, task).

Where it appears

The Set Ticket Type 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 type should be set. Use a literal number or <StepName.field> to reference an ID from a previous step.
ticketTypeselectYesZendesk ticket type to apply. Incidents can be linked to a Problem; question and task are standalone classifications. Options: problem, incident, question, task.

Inputs and outputs

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

Outputs

Reference an output downstream with <Set Ticket Type.field>.

NameTypeDescription
successbooleanSuccess status
ticketjsonUpdated ticket (object — fields: id, subject, description, status, priority, type, tags, requester_id, assignee_id, group_id, custom_fields, created_at, updated_at)
errorstringError message if failed

Example

A minimal configuration for this block:

{
  "type": "zendesk/set-ticket-type",
  "config": {
    "ticketId": "<PreviousStep.field>",
    "ticketType": "problem"
  }
}

Limits and failure modes

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