Intelligent email routing
Pega Intelligent Virtual Assistant for Email uses routing conditions that you define to assign a customer email to an operator, route it to a work queue, create a top-level regular case of case type, or send an automatic email reply. For example, a customer email about a problem with a credit card transaction can be automatically routed to an operator, and a regular case created to help track the issue.
Routing conditions
You can define routing conditions that are based on the following criteria:
- Email from (both email and name) header
- Email to header
- Email subject header
- A natural language processing (NLP) entity that is extracted from the content of the email using text analysis
- A topic that is guessed for the content of the email using NLP text analysis
- A sentiment value between 0 and 1 that is calculated based on the content of the email using NLP text analysis
- A localized language that is detected using NLP text analysis
- A when rule
If a routing condition holds true, then its action is automatically triggered in the application, for example, a top-level regular case is opened with the received email content.
You can set up any number of routing conditions for intelligent email routing. However, in the Otherwise area in the Behavior tab you must specify what to do when:
- By default, no routing conditions were defined.
- None of the defined routing conditions hold true.
If more than one routing conditions defined holds true, the action defined in the first routing rule from the top of the list is triggered by the application. If none of the routing conditions hold true, then the rule specified in the Otherwise area is applied.
Email content text analysis
The text analysis settings for an Email channel interface consist of entities, topics, sentiment, and language. These settings provide sentiment analysis, text (topic) classification, intent detection, and entity extraction of text-based content for the received email. The settings are used in routing conditions. These routing conditions help you determine whether to assign the received email content to a user, add it to a work queue, or whether a top-level case is created with the information. For example, the location entity that is defined in a routing condition helps the Email channel determine where to route the email based on the value extracted for location from its content.
Default settings from a text analyzer rule are used for each Email channel interface. You can configure the text analyzer topics directly from the Text analysis tab so that the Email channel can correctly recognize responses in received emails. You can also edit the text analyzer rule that defines the natural language processing (NLP) model for the Email channel - the sentiment analysis, text (topic) classification, intent detection, and entity extraction settings.
Topic confidence threshold
When you define a routing condition with a topic, you can also specify the confidence score threshold with which to decide whether a topic matches the input text, the content of the received email. The confidence threshold is used in text analyzer classification analysis and gives you more control over which text content is assigned to a topic. For example, in a routing condition you can define that a topic is determined to be a greeting message only with a confidence score of 0.8 or higher.