Make every conversation reportable with mandatory tagging
Workflow purpose
This guide demonstrates how to make sure every conversation in Proto carries the labels your reports depend on – so a monthly complaints report counts every case, not only the ones someone remembered to tag.
You set up tags and tag groups for the questions your reports answer, then turn on Mandatory tagging, so a live agent can't resolve or close a conversation until it has enough tags. Custom fields hold the structured detail – a complaint category, an incident date. AI agents do their share: Create ticket applies tags automatically and Auto fill field fills the category from the conversation, so live agents only fill the gaps.
The result shows up where it matters: Inbox views that catch anything unlabelled, Analytics breakdowns segmented by tag or field, and exports that need no clean-up.
Who can benefit from this guide:
- Grievance-redress units that report complaint volumes by category to a regulator or board
- Customer support managers whose reports undercount because tagging is optional
- Quality teams who need consistent labels across live agents and AI agents
- Operations leads preparing monthly or quarterly performance reports
Make every conversation reportable
This guide sets up tags, mandatory tagging, custom fields and AI agent tagging, then shows where to report on them. See how to set up mandatory tagging and reporting.
1. Create tags and tag groups
Build a short, fixed list of labels that matches the reports you send.
- Go to Settings › Tags.
- On the Tags tab, create each tag with a Name and a Colour – e.g. complaint, enquiry, escalated, resolved-first-contact, duplicate. Use one colour per family of tags, so live agents can scan them in the Inbox.
- On the Groups tab, create tag groups and choose the Tags in group – e.g. a Complaint group holding complaint and escalated. A live agent can then add the whole group in one step.
Keep the list short. Twenty well-defined tags are reported on consistently; a hundred are not.
2. Turn on mandatory tagging
Stop conversations being resolved without a label.
- On the Enforcement tab of Settings › Tags, turn on Mandatory tagging – “Conversations require tagging to resolve.”
- Set Minimum tags – usually 1 or 2 (for example, one type tag and one outcome tag).
- Choose a Sort order (A to Z or Z to A) and click Save.
The check runs whenever a live agent sets a chat or ticket to resolved or closed, closes it, or transfers a chat back to the AI agent – the change is refused until the conversation has enough tags. Tags inside an applied tag group count towards the minimum. Chats the AI agent finishes on its own are not checked, which is why Steps 4 and 5 label those automatically.
3. Add custom fields for structured detail
Use fields for anything a report needs as a value rather than a label.
Go to Settings › Custom fields and open Conversation fields. For each field, set a Name, Type, Description and, for select types, the Field options and an optional Default value.
| Field | Type | Used for |
|---|---|---|
| Complaint category | Single select (grouped) | Options grouped by theme, e.g. Billing › Overcharge, Refund delay; Service › Outage, Poor advice |
| Date of incident | Date | Time from incident to complaint |
| Resolved at first contact | Toggle switch | First-contact resolution rate |
| Institution | Dropdown | Complaints per provider |
For a Single select (grouped) field, the option groups and options are edited in JSON – use "id": "new" to add a new group or option.
If a ticket must never exist without a field, add it under Settings › Tickets › Mandatory custom fields. Tickets then can’t be created – manually, by API or by an AI agent – until every selected field has a value, so check every Create ticket action supplies them before you turn this on.
4. Tag tickets automatically from the AI agent
Label tickets at the moment they are created.
Open each workflow that creates tickets on the AI agent’s Workflows tab, and in its Create ticket action:
- Set Auto-apply tags (e.g. complaint) and Auto-apply tag groups where a whole group fits.
- Under the assignee Teams, turn on Inherit tags to add every tag linked to the assigned team – useful when routing already tells you the type of case.
- Under Custom fields, set values from the workflow’s variables, e.g. Institution from a survey answer.
5. Fill the category with auto fill field
Let the AI agent set the category from what the person said.
Before Create ticket, add an Auto fill field action and select Complaint category. It reads the last 15 messages of the conversation, chooses the best-matching option and writes it to the conversation’s field, so the category is set even on chats that never become tickets. It fills single-select fields only.
- Success: carry on – the value is already on the conversation.
- Error: carry on without it. The empty field is caught by the Inbox view in Step 6.
For follow-up questions based on the category, see classify complaints automatically with auto fill field.
6. Catch unlabelled conversations with Inbox views
Make the gaps visible before the report is due.
In the Inbox, click Create view for each check, set it as a Teamspace view and pin it:
| View name | Conditions |
|---|---|
| Untagged | Tags is empty |
| No category | Complaint category is empty, and Conversation type is ticket |
| Escalated complaints | Tags contains escalated |
A team lead clears the first two each week, so the month closes with every conversation labelled.
7. Report by tag and field in Analytics
Turn the labels into the numbers you report.
- In Analytics, open Chats or Tickets and go to the breakdown chart.
- Set Group by to Months and Segment by to Tags, Tag groups or a custom field. Only Dropdown, Single select (grouped) and Toggle switch fields appear under Segment by – text, number and date fields don’t.
- Use the filter bar to narrow to a channel, team or AI agent, then use Download data as CSV for the chart’s figures.
A month segmented by Complaint category is the core of most complaints reports; segmenting by Resolved at first contact gives the first-contact resolution rate.
8. Export for detailed reporting
Hand analysts the full record, labels included.
- In the Inbox, filter by a date range (up to 92 days) and click Export filter results, or select conversations and click Export.
- Under Ticket information or Livechat information, tick Tags and Custom fields alongside the fields you need, and choose CSV or Excel.
- Find finished files in Settings › Exports, with a Download link in the activity log.
9. Review the set-up
Confirm every route into a conversation ends with a label.
- As a live agent, try to resolve a chat with fewer tags than the minimum and confirm it is refused, then add a tag group and confirm it goes through.
- In the AI agent tester, run a workflow that creates a ticket and check the ticket carries its auto-applied tags and the filled Complaint category.
- Describe a vague problem and confirm a failed Auto fill field still creates the ticket and the conversation appears in the No category view.
- Check the Segment by breakdown for last month against a manual count of a few tags.
- Make workflow changes in an undeployed version – Duplicate the live version first – then Deploy it once every path passes.
.png)