Updated on 2023-10-12 GMT+08:00

Information Query

Currently, you can query the queuing position, the number of all online agents in a skill queue, and the estimated time required for accessing an agent.

This diagram element is used to query details about agents in configured skill queues.

This diagram element is used to query whether the user is in the special list.

Appearance

Parameter Description

  • Querying queuing information
    • Query Type: information type that can be queried using this diagram element. Currently, queuing information can be queried.

      The queuing information is queried using an IVR flow when a call is transferred to a skill queue.

    • Query Result
      • Queue Position: position of a user in the current skill queue, that is, the number of queuing users in front of the user. Use the global variable (GLOBAL.*) or flow variable (FLOW.*) for subsequent operations.
      • Number of online agents: total number of online agents in the skill queue to which a user belongs. Use the global variable (GLOBAL.*) or flow variable (FLOW.*) for subsequent operations.
      • Estimated waiting time: estimated duration for connecting a call to an agent during queuing. This parameter is affected by Queue Position and Number of online agents. Use the global variable (GLOBAL.*) or flow variable (FLOW.*) for subsequent operations. The estimated waiting time depends on the queue model. The result may be inaccurate. Therefore, use this parameter properly.
  • Querying queue information
    • Query Type

      Queue Information: Query queue information before a call is transferred to a skill queue.

    • Request Parameter

      Skill Queue: skill queue to which a call is transferred.

    • Query Result
      • Number of queues: number of users in the current skill queue before a call is transferred to another skill queue. Use the global variable (GLOBAL.*) or flow variable (FLOW.*) for subsequent operations.
      • Number of online agents: total number of online agents in the skill queue to which a call is transferred. Use the global variable (GLOBAL.*) or flow variable (FLOW.*) for subsequent operations.
      • Number of idle agents: total number of online and idle agents in the skill queue to which a call is transferred. Use the global variable (GLOBAL.*) or flow variable (FLOW.*) for subsequent operations.
      • Estimated waiting time: estimated time for connecting a call to an agent after the call is transferred to a skill queue. Use the global variable (GLOBAL.*) or flow variable (FLOW.*) for subsequent operations. The estimated waiting time depends on the queue model. The result may be inaccurate. Therefore, use this parameter properly.
  • Querying the queue name
    • Query Type

      Queue Name: The name of a skill queue to which an agent belongs can be queried based on the agent ID.

      The scenario is to query the skill queue name based on the agent ID before the call is transferred to the skill queue to which the agent belongs.

    • Request Parameter

      Agent ID: agent ID. Flow variables or constants are supported.

    • Query Result

      Queue Name: name of the voice skill queue with the highest weight in the skill queue to which the agent ID belongs. Use the global variable (GLOBAL.*) or flow variable (FLOW.*) for subsequent operations.

      You can choose Configuration Center > Employee Center > Agent Management to configure the skill queue weight.

  • Querying special list information
    • Query Type

      Special List Information: Currently, the system can check whether a user is in the special list based on the user number. The next process varies depending on the special list query result.

      The special list refers to the blocklist.

    • Query Result

      Identifier in the special list: whether the calling number exists in the special list. Use the global variable (GLOBAL.*) or flow variable (FLOW.*) for subsequent operations.

      The values of Identifier in the special list are as follows: 0 indicates that the calling number does not exist in the special list, and 1 indicates that the calling number exists in the special list.

If the preceding parameters support only flow variables (FLOW.XX) and global variables (GLOBAL.XX), a verification error message is displayed when the flow is saved. You need to return to the Flow Orchestration page, click Modify, and set Set Validation Mode to Disable to save the flow.

Using the Diagram Element

The Information query diagram element can be used to query information such as the queuing status and special list information of the current user.

Click the diagram element or drag it to the canvas, and set parameters based on the parameter description.

Typical Application Scenario

A user makes a call to the AICC, and the call is routed to a skill queue. When all agents in the skill queue are busy, if the waiting tone played with an intelligent IVR flow is configured for the skill queue, the intelligent IVR flow can use this diagram element to obtain the current queuing status of the user and play the waiting tone to the user. Therefore, the user can determine whether to continue waiting based on the queuing status.

Scenario 1: Query queuing information.

  1. Choose Configuration Center > Employee Center > Skill Queue, click Edit corresponding to the skill queue, and set Queuing Method in the Queuing and waiting configuration area.

    Figure 1 Page for editing skill queue parameters

  2. Orchestrate a flow. In the flow, use the Information query diagram element to query data, including the number of online agents, queuing position, and estimated waiting time.

    1. Create three flow variables to receive the query result.
      Figure 2 Flow variables to be added
    2. Configuring an IVR voice. Use the created flow variables in the IVR voice content.
      Figure 3 Added IVR voice
    3. Configure a resource template.
      Figure 4 Page for configuring a resource template
    4. Create a flow, use the Information query diagram element to assign values to the three flow variables, and use the Response diagram element to select the configured resource template.
      Figure 5 Flow orchestration example
    5. Configure an intelligent chatbot and set Dialog Type to IVR flow.

  3. Choose Configuration Center > Access Configuration > Called Route and add a called route. Set the IVR to the intelligent IVR added in 2.
  4. Log in to the OpenEye using a softphone number to simulate a customer, and dial the access code added on the Called Route page. If the current queuing information is heard, the configuration is successful.

Scenario 2: Query queue information.

  1. Orchestrate a flow.

    1. Create four flow variables to receive the query result.
      Figure 6 Flow variables to be added
    2. When using the diagram element to create a flow, if you want to transfer a call to a skill queue in the flow, you can query the information about the skill queue and then determine whether to transfer the call to the skill queue. The subsequent businesses are determined based on site requirements.
      The flow is shown in the following figure. You need to select a skill queue to be queried.
      Figure 7 Flow orchestration example
    3. Configure an intelligent chatbot and set Dialog Type to IVR flow.

  2. Choose Configuration Center > Access Configuration > Called Route and add a called route. Set the IVR to the added intelligent IVR.
  3. Log in to the OpenEye using a softphone number to simulate a customer, and dial the access code added on the Called Route page. If the current queue information is heard, the configuration is successful.

Scenario 3: Query special list information.

  1. Orchestrate a flow.

    1. Create a flow variable to receive the query result.
    2. Configure a flow by referring to the following figure. When the flow runs to the special list information query node, the flow invokes an interface to query special list information, obtains the query result, and enters different flows based on the query result.
      Figure 8 Flow orchestration example
    3. Configure an intelligent chatbot and set Dialog Type to IVR flow.

  2. Choose Configuration Center > Access Configuration > Called Route and add a called route. Set the IVR to the added intelligent IVR.
  3. Log in to the OpenEye using a softphone number to simulate a customer, and dial the access code added on the Called Route page. If the current special list information is heard, the configuration is successful.