StyloDocs
Workflow blocks

Assign Ticket

Assign a ticket to an agent or group

View as Markdown

zendesk/assign-ticket — Assign a ticket to an agent or group.

Where it appears

The Assign Ticket 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 to assign. Use a literal number or <StepName.field> to reference an ID from a previous step.
assigneeIdtext (supports references)NoNumeric Zendesk user ID of the agent to assign the ticket to. Use a literal ID or <StepName.field> from a previous step.
groupIdtext (supports references)NoNumeric Zendesk group ID to route the ticket to. Use a literal ID or <StepName.field> from a previous step.

Inputs and outputs

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

Outputs

Reference an output downstream with <Assign Ticket.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/assign-ticket",
  "config": {
    "ticketId": "<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 (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