Template

AI agent for customer support: triage the queue, draft the reply, a person sends

This template works a helpdesk queue. It reads each new ticket, classifies and routes it, drafts a reply from your help articles, and leaves the sending to a support agent. Escalations go to a named lead with the context gathered.

Last reviewed 7 October 2026

Status

Starting point

The status rests on the decision tree workflow, which checks priority, routes by category and has a model triage a low-priority support ticket. It is a test fixture with sample team names and response targets, which you replace.

The library has a template, chatflow, MCP server or governed template that covers part of the job. You assemble the rest in Studio.

The job

What this template does

A support queue is a sorting problem with a writing problem behind it. The head of support needs urgent tickets seen first, simple questions answered consistently and hard cases in front of the right person. By hand, triage is done by whoever opens the inbox first, and the same answer is typed again and again with small differences.

The template does the sorting and the first draft. It does not send. A support agent reads the draft beside the ticket and the cited articles, edits it and sends. That keeps the person accountable for what the customer reads, and it gives the lead a record of which drafts were used as written and which were changed.

Workflow

The workflow, step by step

Steps marked as approval gates pause the run until a named person approves. Nothing after a gate runs before that decision, and the decision is recorded.

  1. 01

    Ticket arrives

    A new ticket in the helpdesk starts the run, by webhook or a scheduled read of the queue. The flow stores the ticket text, the sender, the channel and any attachments' names. Nothing is changed in the helpdesk yet.
  2. 02

    Classify and prioritise

    An agent assigns a topic, a language, a sentiment and a priority. Rules in a switch step then route by priority and topic to the team you name. The fixture's team names and targets are samples; replace them with yours.
  3. 03

    Find what applies

    The flow searches your help articles and closed tickets for matches, and reads the customer's plan and recent tickets. It returns the best few with links. If nothing matches, the draft step is told so and says it cannot answer.
  4. 04

    Draft the reply

    The agent drafts a reply that uses the matched articles and cites them by title. It writes in your tone and keeps the reply short. The draft is saved as an internal note on the ticket, not as a message to the customer.
  5. 05

    Support agent reviews and sends

    The Studio approval step holds the ticket for the assigned support agent. They read the draft, the articles and the customer history, edit as needed and send, or discard the draft and write their own. Nothing reaches the customer before this.Approval gate: a named person approves before the next step runs.
  6. 06

    Escalate the hard cases

    Tickets about outages, security, legal threats or named key accounts skip drafting. They go to the team lead with a summary and the history gathered, and the lead is alerted in chat. The summary names the ticket, the customer and the reason it was held back.
  7. 07

    Record

    The run keeps the classification, the articles matched, the draft, the final text sent, the edit made between them, who sent it and when, so the lead can see where drafts help and where they miss.
Controls

What it can do, cannot do, needs approval for, and records

Can

  • Classify and prioritise new tickets
  • Route tickets to the right team
  • Find matching help articles and past tickets
  • Draft a reply as an internal note

Cannot

  • Send a reply to a customer
  • Close a ticket or change its status for the customer
  • Promise a refund or a fix date
  • Draft for tickets marked for escalation

Requires approval

  • Every outgoing reply
  • Reassigning a ticket to a different team
  • Any message that mentions credit or compensation

Records

  • Classification and priority given
  • Articles matched
  • Draft and final text
  • Sender, edits and time
Honest labels

What the library holds for this job

AssetTypeCoversRole in this flow
Decision TreeWorkflow templatePart of the jobChecks priority, routes by category with a switch and has a model suggest handling for low-priority tickets; the triage step builds on it.
Ticket triage agentMarketplace sample listingSample listing, no template behind itA sample Marketplace listing for routing by intent, sentiment and tier; no template is seeded behind it.
Ticket triage workflowMarketplace sample listingSample listing, no template behind itA sample Marketplace listing for the same job as a workflow; nothing is seeded behind it.
Generate FAQ AnswerPromptUsed inside the flowA starting prompt for answers grounded in a question and its source.
Technical Troubleshooting GuidePromptUsed inside the flowA starting prompt for step-by-step troubleshooting text.
Read from the template, prompt, MCP and Marketplace data on the site. A Marketplace sample listing is a catalogue preview with no template seeded behind it.
Connections

Integrations this flow uses

  • Zendesk: Source of tickets and where notes and replies are written.
  • Freshdesk: The same queue read for teams on Freshdesk.
  • Help Scout: An alternative helpdesk for shared-inbox teams.
  • Slack: Escalation alerts to the team lead.

The full list of tools Studio connects to is on the integrations page.

Before you start

What you supply, and what this page does not cover

  • You supply the help articles, tone notes, team names and the escalation rules. The fixture holds sample values only.
  • Response-time targets are yours to set in the helpdesk. This flow does not enforce them.
  • Voice calls and live chat are not covered. See the customer service template for live conversation.

Common questions

Does the agent reply to customers directly?
Not in this design. It writes a draft as an internal note, and a support agent sends. If you later let low-risk topics go out unreviewed, do it topic by topic, and read the records before widening it.
What does the library fixture actually do?
The decision tree workflow checks a priority flag, routes high-priority tickets by category to sample teams, and asks a model to suggest handling for the rest. It is a skeleton for triage, not a finished support process.
How do we know if drafts are any good?
The record keeps both the draft and the text actually sent. If agents often rewrite a topic from scratch, the articles for that topic need work. That comparison is more honest than a satisfaction score.
Can it work with the ticket tool we already use?
Zendesk, Freshdesk and Help Scout all appear in the integration catalogue, among others. Confirm the actions you need, such as reading tickets and adding notes, on a test account before you connect production.

Build this in Studio

Describe what you need in plain language. Studio builds the agents and workflows, and you keep every version.