Contact Centres

Route chats to the right live agent with assignment rules

Workflow purpose

This guide shows how to combine Proto's Chat assignment settings with an AI agent workflow so every chat handed over by the AI agent reaches the right team, in the right language, without overloading any live agent.

The AI agent works out what the person needs and hands the chat to the matching team. Proto then picks a live agent using your assignment method and capacity limit, moves priority people to the front of the queue, and falls back to a ticket when nobody is online.

Who can benefit from this guide:

  • Contact centre managers balancing workload across shifts
  • Banks and mobile operators with separate billing, fraud and technical teams
  • Government services answering in several national languages
  • Hospitals routing patients to the right department
  • Team leads who need to see waiting chats and capacity at a glance

Route chats to live agents

This workflow sends each handoff to the right team and lets your assignment rules choose the live agent. See how to build a chat routing workflow.

Just starting with the platform?
For initial setup of your AI agent – including workspace setup, agent training, and channel deployment – please start here. This workflow guide assumes your AI agent is set up and ready for more advanced configurations.

1. Set up your teams

Create one team for each group of live agents that should receive its own chats.

Navigate to Settings › Teams (under Workspace) and create a team for each queue, e.g. Billing, Fraud and security, Technical support. For each team:

  • Enter the Team name and add the live agents who work in it.
  • Select the Teamspaces it works in.
  • Under Alternative names, list other names people use for the team, one per line (e.g. payments, bills, charges). The Auto team match action uses these.
  • Optionally choose Tags to apply automatically to tickets assigned to the team.

2. Choose an assignment method

Decide how Proto picks a live agent once a chat reaches a team.

Navigate to Settings › Chat assignment and pick one option under Assignment method:

Method How chats are assigned Works well for
Balanced To the live agent with the fewest active conversations; ties are broken at random Most support teams
Round robin One by one in a fixed order, based on who has been online longest, until each reaches capacity Teams with similar, short chats
Balanced round robin Live agents with fewer active chats first, rotating among them Large teams with mixed chat lengths
Random To any available live agent at random Small teams
Voluntary Held in a pending queue until a live agent picks the chat up – nothing is auto-assigned Specialist or back-office teams

The method applies to the whole teamspace, so routing to different teams happens in the workflow (Steps 5–6), not here.

3. Set an assignment limit

Cap how many chats each live agent handles at once.

Under Assignment limit, enter the maximum number of chats that can be assigned to one live agent at the same time – e.g. 4 for complex financial queries, 6–8 for quick enquiries. Once everyone is at the limit, new chats wait in the queue until someone has room. Limits don’t apply to Voluntary.

4. Prioritise the people who can’t wait

Let chats from tagged people jump the queue.

Under Priority assignment:

  • Turn on Allow priority assignment.
  • Under Tags, select the tags or tag groups that mark a priority person, e.g. fraud-victim, vulnerable-customer or key-account. These are tags on the person’s profile in People.
  • Choose a Prioritization type:
    • Skip queue – priority chats go to the front of the queue and are assigned first.
    • Ignore assignment limit – priority chats are assigned even when a live agent is at their limit. Not available with Voluntary; switching to Voluntary changes this to Skip queue.

Priority is checked once, at the moment of handoff. Priority chats appear under Active priority chats, marked with a crown, above Other chats in the Inbox.

5. Create a trigger

Start the flow when a person asks for a live agent.

  • Navigate to the Workflows tab in the AI agent settings.
  • Click New workflow and select Message received as the Workflow type.
  • Name the trigger (e.g. “Speak to a Live Agent”) and add a description (e.g. “Triggers if the person asks to speak to a human, an agent or a member of staff.”).
  • Add training phrases (e.g. “Talk to a person”, “I want an agent”, “Connect me to customer service”, “Can a human help me”).

Then add a Send message with quick replies so the person picks a topic:

“I’ll connect you with the right team. What is it about?”

Quick replies: Billing | Fraud or security | Technical problem | Something else

If people tend to name a team or department in their own words, add an Auto team match action with {_user_input} as its input instead. It compares the text with team names and Alternative names and branches into Match found, No match and Error.

6. Hand over to the right team

Send each topic to its own team, with language routing on top.

Under each quick reply (or a Branch on the Auto team match result), add a Live agent handoff action. A handoff’s team is fixed, so use one handoff per team:

  • Under Assign chat, choose Assign chat to specific live agents or teams and select the team under Assign teams or live agents.
  • Under Assign by language (optional), pick teams or live agents for each of the AI agent’s languages – e.g. French-speaking live agents for French conversations. The chat goes to the list for the language the conversation is in, and to the main selection when that language has no list.
  • Send Something else and No match to a general team, or choose Assign to all live agents in the teamspace.

Before each handoff, add a Send message:

“Thanks – I’m passing you to our billing team. A live agent will join this chat shortly.”

Change the team name in each copy of the message to match its handoff.

7. Handle out-of-hours and returns

Don’t leave people waiting when nobody can pick up.

Turn on Live agent availability check in each handoff. Under its If there is no live agent online branch:

  • Add a Send message: “Our team is offline right now. I’ve logged your request and someone will reply by email.”
  • Add an Ask survey for name and email (Text and Email fields, Enable skip off), then a Create ticket with the Assignee set to the same team, so the request lands in its queue for the next shift.

Under When live agent transfers back to AI agent, add a Send message asking whether there’s anything else, so a returned chat doesn’t stall.

8. Monitor queues and capacity

Check that the rules work once real chats flow through.

In Analytics, open the Live report to watch Unassigned livechats, Handoff wait time and Live agent capacity as they happen. The Chats view shows trends such as Average live agent first response time, and its filters include Teams, so you can compare queues week by week. If one team’s wait time keeps rising, add live agents to that shift or adjust the Assignment limit before changing the method.

9. Test the flow

Validate every path before going live using the AI agent tester side panel.

  • Pick each quick reply and confirm the chat reaches the matching team in the Inbox.
  • Switch the conversation language and confirm the handoff uses the Assign by language (optional) list.
  • Tag a test person with a priority tag and confirm the chat appears under Active priority chats.
  • Set every live agent offline and confirm the ticket path runs and the ticket is assigned to the team.
  • Build and test in an undeployed version – Duplicate the live version first – then Deploy it once every path passes.

Finalise the AI agent deployment by configuring your preferred channels and languages.