Queue Query Tutorial

This tutorial guides you through building a basic queue query that contains escalation queries using the Basic Query Builder in CxEngage. After completing this tutorial, you will know how to:

  • Use the basic query builder
  • Add filters to queries
  • Set the amount of time that passes before an escalation query begins
  • Add multiple levels to escalation queries

You will create a queue query that will:

  • Route calls to resources that are part of the Tier 1 group with a Technical Support skill proficiency of at least 8
  • Broaden after a caller waits unanswered in the queue for 30 seconds to search for resources that are part of the Tier 1 group with a Technical Support skill proficiency of at least 5
  • Broaden after a caller waits unanswered in the queue for one minute to search for a resource that is either part of the Tier 1 group or the Tier 2 group.

Here's what the completed queue query will look like:

CxEngage queue query and escalation query

Prerequisites

This tutorial assumes that your tenant has the following skills and groups. If your tenant doesn't include these skills and groups, you can substitute them with those that apply to your tenant.

  • A skill called "Technical Support" that has proficiency enabled
  • A group called "Tier 1"
  • A group called "Tier 2"

Creating a Queue

To begin, create a new queue in your tenant:

  1. Go to Flows > Queues.
  2. Click Create.
  3. Add a Name and Description.
  4. Ensure that you are in the basic queue query builder view. If you see Show advanced query, you are in the basic view.

    CxEngage Show advanced query in a queue query

    If you are in the advanced view, click Show basic query to return to the basic query builder.

Part 1: Creating a queue query using the Basic Query Builder

In the first part of this tutorial, we'll create a queue query that searches for an available resource that is both a member of the Tier 1 group and also has a Technical Support skill proficiency of 8 or higher.

Step Instructions
1 Under Query, select Group from the Add a filter drop-down menu. Select a group filter to a CxEngage queue query
2 Click the plus sign () to add the filter. Add a group filter to a CxEngage queue query
3 In All of these groups under Group Filters, select Tier 1. Selecting All of these groups in a CxEngage queue query
4 Click the plus sign () next to the group you selected. Adding All of these groups filter in a CxEngage queue filter
5 Under Query, select Skill from the Add a filter drop-down menu. Selecting a skill filter in a CxEngage queue query
6 Click the plus sign () to add the filter. Adding a skill filter to a CxEngagequeue query
7 In All of these skills under Skill Filters, select Technical Support. Select a skill for an All of these skills filter in a CxEngagequeue query
8 Under the skill, select Proficiency at Least. Selecting Proficiency at Least in a skill filter for a CxEngage queue query
9 For the number value, enter 8. Selecting a skill proficiency for a skill filter in a CxEngage queue query
10 Click the plus sign () to add the skill. Adding a skill filter with proficiency requirements to a CxEngage queue query
Checkpoint: Your query should currently look like this: A CxEngage query query without an escalation query

Part 2: Create a First Level Escalation Query

In this section, we'll create an escalation query that broadens the queue query after a caller waits unanswered in the queue. We'll make the query less restrictive by lowering the skill proficiency requirements when the caller waits in the queue for 30 seconds. After 30 seconds, the query will search for an available resource that is part of the Tier 1 group and also has a skill proficiency of at least 5 for the Technical Support skill. Because we are lowering the skill proficiency requirement from 8 to 5, more resources are eligible to handle the call to ensure that it is answered more quickly.

Step Instructions
1 Under Escalation Query, click the plus sign () next to Add level 1 search query. Add a level 1 search query to an escalation query in a CxEngage queue query
2 In If a call is not answered within add 30 as the time value. Select the amount of time for "If a call is not answered within" in a CxEngage escalation query
3 In If a call is not answered within select seconds as the unit of time. Selecting the time unit "seconds" in a CxEngage escalation query
4 In Add a filter, select Groups. Selecting a Group filter in a CxEngage escalation query
5 Click the plus sign () to add the group. Adding a group filter to a CxEngage escalation query
6 In All of these groups, select Tier 1. Selecting a group for an "All of these groups" filter to a CxEngage escalation query
7 Click the plus sign () to add the Tier 1 group. Add an "All of these groups" filter to a CxEngage escalation query
8 In Add a filter, select Skills. Select the Skills filter in a CxEngage escalation query
9 Click the plus sign () to add the skill filter. Adding a Skills filter in a CxEngage escalation query
10 In All of these skills, select Technical Support. Selecting a specific skill in a CxEngage escalation query
11 Under the skill, select Proficiency at Least. Selecting "Proficiency at Least" in a skill filter in a CxEngage escalation query
12 For the proficiency level, enter 5. Select a skill proficiency for the skill filter in a CxEngage escalation query
13 Click the plus sign to add the skill and proficiency. Add a skill filter to a CxEngage escalation query
Checkpoint: Your first level escalation query should look like this: Level one escalation query in CxEngage

Part 3: Create a Second Level Escalation Query

In this last section, we'll create a second level escalation query to broaden the queue query further when a caller waits unanswered in the queue for one minute. Here, we will no longer require that a resource has the Technical Support skill. Instead, we'll broaden the query so that it searches for any resource that is either a member of the Tier 1 group or the Tier 2 group. Because more resources are eligible to handle the call, the caller won't have to wait as long in the queue.

Step Instructions
1 Click the plus sign () next to Add level 2 search query. Add a level 2 search query in CxEngage
2

In If a call is not answered within add 1 as the time value.

Note: You will receive the message "Time in queue must be greater than the previous value" because the time entered for each escalation query must be greater than the previous escalation query. This message will go away when you select the unit of time in the next step.

Time selection for the level 2 escalation query in CxEngage
3 In If a call is not answered within select minutes as the unit of time. Time unit selection for level 2 escalation query in CxEngage
4 In Add a filter, select Groups. Selecting a group filter to a level 2 escalation query in CxEngage
5 Click the plus sign () to add the group filter. Add a group filter to a level 2 escalation query in CxEngage
6 In Any of these groups under Group Filters, select Tier 1. Selecting a group from the "Any of these groups" filters in a CxEngage level 2 escalation query.
7 Click the plus sign () to add the group. Adding a group to the "Any of this groups" filter in a level 2 CxEngage escalation query
8 In Any of these groups under Group Filters, select Tier 2. Selecting a second group to the "Any of these groups" filter in a level 2 CxEngage escalation query.
9 Click the plus sign () to add the group. Adding a second group to an "Any of these groups" in a level 2 CxEngage escalation query
Checkpoint: Your second level escalation query should look like this: Level 2 escalation query in CxEngage

Completing Your Queue

Congratulations! You've built a queue query that includes escalation queries. This completes the tutorial for creating a query for your queue. You're ready to fill out your queue's priority values and then click Submit to save your queue configuration.

Complete queue query with two levels of escalation queries in CxEngage