# Tag tickets in the Helpdesk > Label tickets with your own keywords, then filter and build saved views around them Tags are short labels you put on tickets, such as `refund-request`, `billing`, `shipping` or `vip`. You decide what they mean. Teammates add them from the ticket, the AI agent can add them when it opens a ticket, and triggers can add or remove them by rule. Tags describe a ticket without changing its status, assignee or routing. Use them for whatever the built-in fields don't capture, so you can answer questions like "how many of this week's tickets were about damaged items?" Teams often tag for: * a reason for contact the subject doesn't make obvious; * a product area, so the right specialist can find the queue; * a one-off situation worth tracking, such as an outage or a delayed shipment batch. Tags belong to one agent. Each agent in your workspace has its own list. ## Tagging a ticket **1. Open the Tags picker** Open a ticket and click the box under **Tags** in the **Details** panel. It reads **No tags** until the ticket has some. **2. Pick a tag** Type to narrow the list, then click a tag. It's added to the ticket straight away. Click more tags to add several. **3. Close the picker** Click outside it, or press **Escape**. ![The tag picker of ticket TKT-3 with the Search or create a tag field and the workspace tags, shipping ticked.](annotated/03-ticket.webp "Add tags from the ticket's Details panel.") If nothing matches what you typed, the picker offers **+ Create** with your text, which creates the tag and adds it in one step. That option is only there for teammates who can manage tags. Everyone else sees that there's no tag with that name and is asked to check with an admin. To take a tag off a ticket, click it again in the picker. The tag stays available for other tickets. ## Tagging tickets automatically ### With the AI agent An **Escalations** Action that opens tickets in QwryAI can tag them. Add up to 5 tags to the Action and, for each one, answer **When should the AI agent use this tag?** in up to 200 characters. The AI agent adds the tags that fit the conversation. See [Escalate to human](/docs/user-guides/chatbot/actions/escalate-to-human). ### With triggers [Triggers](/docs/user-guides/chatbot/help-desk/triggers) tag tickets by rule, with no AI involved. The actions are **Add tags**, **Remove tags**, **Set tags** and **Remove all tags**, and **Tags** can be a trigger condition too. For example, a trigger with the conditions *Ticket is Created* and *Channel is any of WhatsApp*, and the action *Add tags: whatsapp*, tags every new WhatsApp ticket. ## Naming tags Tag names must be unique within the agent, ignoring capitals: if `billing` exists, you can't also create `Billing`. Archived tags keep their names, so if a name looks taken but you can't see the tag, look under **Archived**. > [!TIP] > > Short and predictable beats descriptive. `refund-request` is easier to remember and search for than `customer-asked-for-a-refund`. ## Filtering by tag **Tags** is a field in [filters](/docs/user-guides/chatbot/help-desk/filters), which you use inside [saved views](/docs/user-guides/chatbot/help-desk/saved-views). | Operator | Shows | | - | - | | **is any of** | Tickets with at least one of the tags you picked | | **is none of** | Tickets with none of the tags you picked | Next to your tags, the list offers **Untagged**, which matches tickets without any tag. It's handy for spotting work nobody labelled. You can pick it with other tags: `billing` and **Untagged** together return both groups. > [!NOTE] > > A tag filter means "at least one of these", never "all of these". To find tickets with both `billing` and `vip`, add one filter for each. Filters are combined with AND, so a ticket has to match both. A view like *Tags is any of damaged-item* gives your team a queue they can open every morning. ## Counting tickets by tag * **Tags settings**: **Settings › Helpdesk › Tags** shows how many tickets have each tag. * **Export**: [export the tickets](/docs/user-guides/chatbot/help-desk/exporting-tickets) to CSV. The **Tags** column lists each ticket's tags, separated by `; `. ## Managing the tag list Manage tags under **Settings › Helpdesk › Tags**. The page lists every tag with the number of tickets that have it, so you can see which labels your team uses. ![The Tags page with the Search or create a tag field and the tags damaged-item, refund-request, billing, shipping, returns and vip, each with its ticket count and rename and archive buttons.](annotated/01-settings.webp "Settings › Helpdesk › Tags.") ### Creating a tag Type the name in **Search or create a tag**, then click **+ Create**. The same box searches the list. If the name already exists you see the tag instead, with the note **This tag already exists.** ![The Search or create a tag field with exchange typed in, the + Create button next to it and the note that no active tags match.](annotated/02-create.webp "Type a new name, then click Create.") ### Renaming a tag Click the pencil on the tag's row and type the new name. Press **Enter** to save or **Escape** to cancel. A rename applies to every ticket with the tag and every saved view that filters by it. ### Archiving a tag Tags are archived, not deleted, so your history stays intact and you can undo it at any time. Once a tag is archived: * support agents can no longer add it to tickets, and it leaves the picker and filter suggestions; * tickets that already have it keep it, and saved views that filter by it keep working; * its name stays reserved until you restore the tag. Archived tags sit under **Archived** below the main list, with a count. Click **Restore** on a row to bring one back. **What archiving does** next to the list sums this up. > [!TIP] > > Archive a tag when it has done its job, like a label for an incident that's over. Saved views keep working, and the tag stops appearing in front of your team. ## Who can do what | If you can | You can | | - | - | | See tickets | See tags and filter by them | | Edit tickets | Add and remove tags on a ticket | | Manage tags | Create, rename, archive and restore tags | Most support agents are in the middle row: they tag tickets with the tags that exist, but can't create new names. That keeps the list tidy while everyone can label their work. ## Good to know * Tags are internal: they're for your team's filters, views and triggers. ## Frequently asked questions > [accordion] Can I tag tickets automatically? > > Yes, in two ways. An **Escalations** Action can let the AI agent pick tags when it opens a ticket, and [triggers](/docs/user-guides/chatbot/help-desk/triggers) can add, remove or replace tags by rule. > [accordion] How do I see how many tickets have a tag? > > Check the count next to the tag under **Settings › Helpdesk › Tags**, or export the tickets to CSV. > [accordion] Why can't I create a new tag from a ticket? > > Creating, renaming and archiving tags needs permission to manage tags. Without it you can only use the tags that exist. Ask an admin to add the one you need.