---
title: Triage by the agent
description: The agent labels every new conversation with its intent, urgency, mood and language, writes a one-line summary, suggests who should take it, and marks a returning customer. The list filters by intent and urgency, and a label you change is never overwritten.
section: cloud
order: 195
audience: [user, operator, agent]
sources: [services/nodejs-cloud/lib/support/triage.ts, services/nodejs-cloud/lib/support/triage-pure.ts, services/nodejs-cloud/lib/support/triage-limit.ts, services/nodejs-cloud/lib/support/tools-triage.ts, services/nodejs-cloud/lib/support/mcp-triage.ts, services/nodejs-cloud/components/support/Triage.tsx, services/nodejs-cloud/components/support/TriageSettings.tsx, services/nodejs-cloud/migrations/0541_support_triage.sql]
features: []
---

When a customer writes to [Support](/docs/cloud/support.md), the agent reads the message and puts a few labels on the conversation.
The list shows them, so the person who opens the inbox in the morning sees what is urgent and who is upset before they
open anything.

| Label | What it says |
|---|---|
| Intent | Booking, price, complaint, refund, where is my order, or other. Or one of your own words (see below). |
| Urgency | Low, normal, high or urgent. |
| Mood | Positive, neutral or upset. |
| Language | The customer's language, for example `en` or `es`. |
| Summary | One line: what the customer wants. |
| Who should take it | A team of the inbox, an attached agent, or a person. |

Labels are suggestions. A person can change any of them, and a label that was changed is never written over.

## In the list and in a conversation

The list shows the summary line in place of the message preview, a mark for urgency (high, urgent or low; normal shows
nothing), and **Returning (3 before)** for a customer who wrote before. The count is a plain count of their earlier
conversations. It does not use a model.

The tag button in the search row filters by intent and by urgency. It sits in the same row as the search box, so the list
has no extra row. **Not labelled** shows the conversations nobody labelled.

Above a conversation the labels are chips. Click one to change it. A tick on a chip means a person changed it. Below them
is the summary and who the agent suggests, with an **Assign** button when it names a team and nobody holds the
conversation yet.

## When it labels

- When a customer's message arrives, one short call to the gear the inbox already uses, on its fast model, labels the conversation.
- When the inbox agent's own turn on that message already gave a topic (it does for every conversation it answers or hands
  over), the labels come from that topic and the message with plain rules, and **no model is asked**.
- When the customer writes again, the conversation is read again once for the new message, unless a person changed a
  label. It is never read twice for the same message, and a call that gave nothing usable is not asked again.
- An auto-responder or a bounce is not labelled, and neither is a practice chat.

The customer's text goes to the model between tags it is told are data from a stranger. Whatever it says, such as "ignore
your instructions", is described, not followed.

## No gear, no labels

If the organisation has no gear to run it on, nothing is asked and nothing is labelled. **Settings, Triage by the agent**
says so, with links to [Providers](/docs/cloud/console-providers.md) and [Gears](/docs/cloud/console-gears.md). A reached daily limit does the same until the next UTC day.

## Who should take it

The agent suggests one of three things, in this order.

1. An agent attached to the inbox that takes the channel and answers or drafts.
2. A team attached to the inbox. When several are attached, the one whose name fits the intent (a team called Billing for a
   refund) is named first.
3. A person, when nothing else fits.

Complaints and anything about money back are never suggested to an agent that answers by itself. The inbox's own rules for
those are unchanged: the inbox agent hands them to a person whatever a label says, unless the inbox's rules say otherwise
(an inbox for your own people can relax it). The suggestion only keeps the label from pointing the wrong way.

The suggestion is applied only where you allow it. In **Settings, Triage by the agent** each inbox has a switch, **Assign
the suggested team by itself**, off until an owner or admin turns it on. With it on, the agent assigns the suggested team
to a conversation nobody holds yet and leaves a note on the thread. It never moves a conversation a person or a team
already holds. Turning it on is a person's decision in the app: an agent acting through MCP cannot.

## Your own intents

Under **Settings, Triage by the agent** list the words you want, one per line, for example `booking`, `shipping delay`,
`invoice`. Up to twelve; `other` is always there. The model chooses only from the list, and anything else becomes
`other`. Leave it empty to use the defaults. Changing the list does not relabel old conversations.

## The daily limit

The labels have their own daily limit, **Support triage**, on the [AI spend](/docs/cloud/ai-spend.md) page (default $0.50 a UTC day,
changed by an owner or admin, written to the audit log as `support.triage.limit`). Their calls also count in **Support
drafts**, so both limits apply. The calls show in the spend figures like any other Support call.

## For agents

| Tool | What it does |
|---|---|
| `support_conversation_list` | Takes `intent` and `urgency` (and `intent: "none"` for the unlabelled). Each line shows the labels, the summary and a returning customer. |
| `support_conversation_get` | The labels, the suggestion and which fields a person changed are in the data. |
| `support_conversation_label_set` | Sets intent, urgency, mood, language or summary. What it sets is kept: the agent never writes it again. |
| `support_triage_get` | The intents, whether a gear is set up, the daily limit and today's spend, and assigning per inbox. |
| `support_triage_update` | Owner or admin: set the intents, or turn assigning on or off for an inbox (on is a person's decision, not an agent's). |

The daily limit is `admin_spendlimit_set` with the key `support_triage_ai`.
