Skip to content

Routing rules: send chats to a group

Routing rules decide which group a new chat goes to, based on where the customer is and who they are. Admins set them up once; agents then get the chats meant for their group.

Automate -> Routing rules

Routing rules need the permission to change routing, widget and chat settings, which owners, vice owners and admins have (see Roles and permissions).

  1. Routing rules pick the group. The rules are checked from the top of the list down, and the first rule that is on and matches wins. When no rule matches, the chat goes to the fallback group at the bottom of the page.
  2. The group’s members get the chat. Each group has its own members, and each member’s priority (First to get chats, Normal, Backup (last), or Supervisor (no chats)) decides who is asked first.
  3. Chat assignment picks the agent. Chat assignment decides whether chats are given out automatically, to the agent with the fewest chats or to each agent in turn, up to each agent’s chat limit, or whether every agent is told about a waiting customer and the first to pick the chat gets it. When everyone is at their limit, the customer waits in the queue.

Member priorities let a group send chats to its main agents first, and to backup agents only when the main ones are full or not accepting chats.

  1. Click Add new rule.
  2. Under When a customer meets the conditions below, pick a field, how it compares, and the value. The fields are Visited URL, Domain, Referrer, Page title, Country (a code like TH), Language (a code like th), Customer email, Customer name and Custom property (enter its namespace.name). The comparisons are Contains, Does not contain, Is exactly, Is not, Starts with and Ends with.
  3. Click Add another value to match any of several values in one condition, for example two pages.
  4. Click Add condition for more conditions, up to 20, and choose Match all of these conditions or Match any of these conditions.
  5. Under Then do the following action, pick one:
    • Route to group, then pick the Group.
    • Turn chat off - hides the chat widget for these customers and leaves them out of Traffic.
  6. Click Save changes, type a Rule name and click Save.

A new rule sending visitors whose URL contains pricing or plans to the Sales group

New rules are added at the end of the list.

The Routing rules list with one rule and the fallback group below it

The rule at the top is checked first. Use the up and down arrows in the Priority column to move a rule. A more specific rule (one page) belongs above a broader one (a whole domain).

  • Use the switch in the On column to stop a rule without deleting it.
  • Choose Edit in the rule’s menu to change it.
  • Choose Delete to remove it. Chats it matched then go to the next rule that matches, or to the fallback group.

At the bottom of the page, choose the group in If a customer doesn’t match any rule, route them to. It starts on your default group.

  • Groups - who is in each group, and their priority.
  • Chat assignment - how a group’s chats are handed out.
  • Workflows can also route a chat to a group, for example by what the customer writes.