Use classification models with routing
Last Update: Oct 2024 • Est. Read Time: 2 MINIf your organization has queues and routing turned on, you can use Conversation Classification to predict an attribute, such as contact reason, and automatically route a conversation to a specific queue based on that classification model. This helps your agents save time they usually spend when manually classifying and routing conversations.
August 2023 update: Conversation Classification is no longer available to new customers.
Important: If you have queues and routing set up in your organization for smarter routing, you must create two business rules to ensure that conversations are routed to the correct queue.
The first step is to create a business rule that performs three actions: adds a tag to a queue, unsets the queue, and predicts data for the incoming conversation. In this example, we will predict tags.
- Go to Settings > Platform > Business Rules.
- Select Add Business Rule.
- Enter a name for the business rule and then select First Inbound Interaction as the Trigger.
- Set the Conditions criteria to Conversation Channel Is Equal To Email.
- Select the following options from the Select Action Type menu:
- Change Data
- Queue Updates
- Predict Data
- Next, set the Update Data criteria to add a tag to the conversation. Any new or existing tag can be used and will be removed in the next procedure. For this example, we will set it to Conversation Tags Append predicted.
Tip: You can create a new tag directly while creating the rule by selecting Add tag and entering predicted. - Set the Make Queue Updates criteria to Queue Unset Queue & Unassign User.
- Select Tags from tags from the Predict Data drop-down menu. The following image shows all of the actions that we set.
- Select Save Changes.
Next, create a second business rule that removes the predicted tag that we just added.
- Select Add Business Rule in the Business Rules page.
- Enter a name for the business rule and then select All Updates as the Trigger.
- Set the Conditions criteria to:
- Message Direction Type Is Equal To Initial In
- Conversation Tags Contains predicted
- Select Select Action Type > Change Data.
- Set the Update Data criteria to Conversation Tags Remove predicted.
- Select Save Changes.
Now, whenever you receive an inbound email, Conversation Classification will predict an attribute such as, Contact Reason, and the conversation will automatically be assigned to the correct queue through queues & routing based on the predicted value.