StyloDocs
Recipes

Auto-Triage & Route

Automatically classify incoming Zendesk tickets by intent and urgency, then route to the right team with correct priority and tags.

View as Markdown

Automatically classify incoming Zendesk tickets by intent and urgency, then route to the right team with correct priority and tags.

Prerequisites: Connect Zendesk before adding this recipe. See Integrations.

How it works

Each box is a block; arrows show the order Stylo runs them, and branch labels show the path taken on each outcome.

Parameters

This recipe has no configurable parameters — connect the required integrations and it runs as shipped.

Blocks used

Every block in this recipe, linked to its reference page where one exists:

BlockTypeWhat it does
Webhooktrigger/webhookTrigger workflow via HTTP webhook
Get Ticket Contextzendesk/get-ticket-contextGet complete ticket context (ticket, conversation, customer, assignee, organization) optimized for AI
Classifyai/classifyClassify content into predefined categories using AI
Conditionsystem/conditionBranch the workflow based on a boolean expression
Set Ticket Priorityzendesk/set-ticket-prioritySet the priority level on a Zendesk ticket (low, normal, high, or urgent).
Add Tagszendesk/add-tagsAdd tags to a ticket for classification and tracking
Assign Ticketzendesk/assign-ticketAssign a ticket to an agent or group
Routersystem/routerBranch into N paths via boolean predicates or AI classification.

When to use it

Reach for this when inbound tickets arrive faster than a person can sort them, and you want every new ticket classified by urgency and topic, then routed to the right team — before an agent ever opens it.

Adapt it

This recipe is a starting point. To fit it to your workspace:

  • Edit the Classify Ticket prompt to match your own definition of an urgent ticket.
  • Edit the routes in Route by Topic (billing / technical / general) to reflect your actual teams, and update each route's description so classification stays accurate.
  • Set the groupId (or assigneeId) on each Assign block — they ship blank, so assignment is a no-op until you fill in your Zendesk group IDs.
  • Change the tags on the Tag blocks if your workspace uses a different tagging scheme.

On this page