Rule-based ticket routing

Rule-based ticket routing

Understanding rules

Round Robin enables you to assign tickets according to rules sets. You have two options for defining a rule: based on tags or/and based on queues.

Examples: you can create a rule that tickets with the "Software" tag should be assigned to agents 1,2 and 3 and that the tickets with "Hardware" should be assigned to agents 2,3 and 4.

You can also establish the rule that the tickets from the queue "Level1" should be assigned to agents 2 and 3 and that the tickets from the queue "Level2" should be assigned to agents 1 and 4.

Tags

Round Robin takes tags into account when it assigns tickets. Any tags you want to use need to be listed in the Tags table with the "Selected in rules" option set.

1. Click Tags

Tags_page.png

2. Create the required number of tags, set the Active field for the tag to "Yes", and Assign to agents field to "Selected in rules".

Important! Tag names must match their spelling in Zendesk exactly.

Tags_table.png

3. Click Save 

If you want to suspend using one or more tags, set the Active field to "No" for these tags.

Queues

To use a queue in rules you need to set the "Selected in rules" option for the queue.

1. Click Queues

Queues_page.png

2. Set the Assign to agents field to "Selected in rules".

Queues_table.png

3. Click Save 

Rules

Specify ticket assignment rules in the Rules table.

1. Click Rules

Rules_page.png

2. If you have set either tags or queues to "Selected in rules", you will see row headers in the table, which will contain active agent names. Column headers contain queue names and tag names for which "Selected in rules" is set. Non-zero values in the table cells indicate that the agent can receive tickets with the tag or from the queue.

3. Click Save 

Look at the example above. Agents 2 and 3 can receive tickets from the queue "Level 1"; Agent 2 can receive tickets with tag "TagA", and Agent 3 can receive tickets with tag "TagB".

Agents 4 and 5 can receive tickets from the queue "Level 2"; Agent 4 can receive tickets with tag "TagA", and Agent 5 can receive tickets with tag "TagB".

To make your work with the list of rules more comfortable you can filter agents by agent name, group or tag separately. Just type n:<agent name>, g:<group name> or t:<tag name>. To update the data in these columns please reimport agents. 

Alternate agents

The "Alternate agent" functionality enables you to configure effective agent reservation and ticket escalation schemes. You can determine how tickets are assigned by using sequence values in the Rules table cells. The math of rules is determined by Min() function for all agent's columns.

For example, consider Agent1 who should receive the tickets from Level1 queue with the tag "TagA" first:

1) set 10 for the queue "Level1"

2) set 1 for the tag "TagA"

The Min() function will be Min(10,1)=1.

Then consider Agent2:

1) set 10 for the queue "Level1"

2) set 2 for the tag "TagA"

The Min() function will be Min(10,2)=2

Note: the min() function doesn't indicate the number of assigned tickets. It just takes into account the escalation values for the grouping of agents who should receive tickets first.

As a result, the app will assign the tickets to Agent1 first until it reaches its limit or become unavailable. Another conclusion: the queues and tags are functionally identical and equal in priority (you may adjust a focus to one of two tags or queues).

You can create as many tiers as you need to for this. You could even have your CEO assigned the highest number so your customers will never be without attention.

Have more questions? Submit a request

8 Comments

  • 7
    Avatar
    Declan

    Is there any way to re-arrange the columns on the Rules screen? We have several rules, some for tags, and some for queues. Currently they're in an inconvenient order—reading the columns across we have a queue, then five different columns for tags, six columns for queues, and one more tag. It makes it inconvenient to do any mass editing. I don't see any way either on the Rules screen or on the Queues/Tags screens to reorder the columns.

  • 0
    Avatar
    Antoine Baudoin

    I have the same question than Declan

  • 0
    Avatar
    Mike

    No, the Rules table is static. You can filter only rows by agents.

  • 0
    Avatar
    Myra Lee

    This feature is only available on the plus or enterprise plan? 

  • 0
    Avatar
    Mike

    This feature is available on both subscription plans: Plus and Enterprise.

  • 0
    Avatar
    Faiz

    What happens if there is a tie between 2 agents?  Let's assume that the Min() function returns the same value.

    In that case would it be assigned to the person who is higher up in the table?  Or would I expect to see a randomized / load balancing approach to ticket assignment (I'm really hoping this is the case!) 

  • 0
    Avatar
    Mike

    Hi, Faiz!

    The app will take the agent who has the oldest time of the last assigned ticket (in a Round Robin fashion)

  • 0
    Avatar
    Faiz

    Awesome - thanks Mike!

Please sign in to leave a comment.
Powered by Zendesk