When a new chat request enters the queue, the queue processor calls the routing API, which routes the request that is present in the queue to a qualified customer service representative (CSR). You can prioritize routing by workload or skill level. The routing engine prioritizes the work based on your specification.
- In the navigation pane of App Studio, click .
- In the list of chat and messaging settings, click Routing.
- Perform the following actions in the Routing section:
- Click Save.
Enabling third-party routing
- Select the Delegate Routing to non-pega routing services check box.
- In the Callback URL for incoming Chat requests field, enter the URL of the external routing system to send the metadata of the new chat and messaging requests that the routing system needs.
- In the Callback URL for CSR-presence updates field,
enter the URL of the external routing system to send the updates on CSR
availability and CSR or customer actions to route pending and transfer requests. Pega Customer Service uses the third-party routing API to exchange data with the external routing system.
- To prevent the next CSR from declining a conversation assignment request after the first CSR declines it, select the A new interaction can only be declined once check box.
- To make the CSR unavailable in all the queues they are logged into after an assignment screenpop expires for them, select the If a CSR misses a screenpop, make them unavailable check box.
- In the Intelligent routing section, configure a few conditions to route the customer to a specific queue. For more information, refer to Configuring intelligent routing.
- Click Save.
Routing to CSRs
- To route the incoming conversation to the CSR who is least occupied, select Prioritize routing by CSR workload (route conversations to least active CSR). Selecting the option routes new requests to CSRs who have fewer active chats, for example, a CSR who has one active chat receives the request before a CSR who has two chats.
- To route the incoming conversation to the CSR who is highly skilled to work on the request, select Prioritize routing by CSR skill level (route conversations to most skilled CSR). Selecting this option routes the new requests to CSRs who have a higher skill level over a CSR who has a lower skill level. The routing engine combines the skill values of the CSRs for each required skill and prioritizes the CSR with the highest score.
- To define the frequency for assigning a conversation to each CSR, enter the
time in the Staggering interval in seconds field.
Configuring global concurrency limit and conditional screenpop behaviors
- In the Max number of concurrent conversations allowed per
CSR field, enter the maximum number of conversations that a CSR
is allowed to accept at one time.
- To prevent the next CSR from declining an conversation assignment request
after the first CSR declines it, select the A new interaction can
only be declined once check box. The Decline button on the new assignment screenpop becomes inactive after the first CSR declines the request. If there are no other CSRs in the queue except CSR1, the request is routed to CSR1 again, but with an inactive Decline button.
- To prevent the CSRs from declining the invite when a queue’s occupancy level is
red or reaches 80%, select the Remove the ability to decline when the
queue is busy check box. The Decline button on the assignment request screenpop becomes inactive after the queue occupancy reaches 80% and the tooltip on the button indicates why the button is inactive.
- To make the CSR unavailable in all the queues they are logged into after an
assignment screenpop expires for them, select the If a CSR misses a
screenpop, make them unavailable check box.After becoming unavailable, the CSR then receives the following notification: You have been made unavailable due to the expiry of an assignment screen pop.
Configuring intelligent routing
Intelligent routing routes customers to a specific queue based on the configured conditions.
- In the Intelligent routing section, perform the following
- Add a routing conditions for the queue by clicking Add routing condition, and then configure the condition.
- In the Action list, the system displays the Route to work queue as the default selection to route the incoming requests to the work queues.
- In the Value field, route the service request to a particular queue by entering a queue name or selecting a queue from the list of available queues.
- In the When section, define the criteria for the routing action.
- In the Select routing action list, select one of
the following options:
- Selected queue
- Select a queue.
- Select a language.
- Source channel
- Select a channel of your choice:
- Android SDK
- Apple Business Chat
- Channel API
- Facebook Messenger
- Facebook Public Posts
- iOS SDK
- Legacy Webchat
- Web Messaging
- Message type
- Classify the message type as Private or Public.
- Select the connection that you configured in the Digital Messaging or Legacy Webchat interface.
- In the Select routing comparison list, select a comparator of your choice.
- In the last field, select a routing action.
- To add more conditions, click Add a condition.