StyloDocs
Workflow blocks

Close Ticket

Mark a ticket as solved with optional closing message

View as Markdown

zendesk/close-ticket — Mark a ticket as solved with optional closing message.

Where it appears

The Close 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 mark as solved. Use a literal number or <StepName.field> to reference an ID from a previous step.
addCommenttext (multi-line, supports references)NoMarkdown is rendered to Zendesk HTML: bold, lists (- ), blockquotes (&gt; ), links ([label](url)). Single newlines preserved.
isPublicselectNotrueWhether the closing message is posted as a public reply visible to the customer or as an internal note visible to agents only. Options: true, false.

Inputs and outputs

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

Outputs

Reference an output downstream with <Close Ticket.field>.

NameTypeDescription
successbooleanSuccess status
ticketjsonClosed 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/close-ticket",
  "config": {
    "ticketId": "<PreviousStep.field>",
    "isPublic": "true"
  }
}

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