Omnichannel Routing to preferred agent

Imagine you have a customer, and they say to you, it turns out we have a problem with Omnichannel routing. Our business needs a contact to always be routed to the same agent, and this is because it’s their bank manager and they always need to talk to them. For this, Microsoft has come out with a solution which is “Routing to Preferred Agents”. This is found under Routing and Routing to preferred agents. Here you can enable a check that allows such routing, and you can choose “Who should do the work if the preferred agent cannot be assigned?“.

Below this, a matrix appears, in which for each contact you have in your environment, you can assign an agent to it.

Matrix for preferred agent, image 1
Matrix for preferred agent, image 2
Matrix for preferred agent, image 3

But this can be very costly in case you have 1 million contacts within your environment.

And what solution do we have for this?

Now you may ask, OK, but how can we make this simple to do?

I’m going to give you a trick in a few steps so that you can perform this configuration. For this, we’re going to have to make a “preconfiguration inside Dataverse”. This preconfiguration is that inside the contact itself, we would have to create a lookup field or use one already predefined with the preferred agent.

Create new lookup field between contact and systemuser

Once we have all the contacts with the preferred agent filled in as a field we will do the following within Omnichannel:

  1. We go to the queue where we will have all the necessary agents to whom the conversations have to be routed.
  2. Within the assignment method, click on “See more”.
  3. Create a new assignment method with the name you need.
  4. Within the assignment rules, let’s create a new set of rules with the name you need.
  5. We create a new rule with the required name.
  6. Within the conditions, we will see different attributes that we can select.
  7. The first field to select will be the user PUID.
  8. We must change instead of “Static value” to “Dynamic match”.
  9. In the attribute we select “Contact (customer)” -> These are the fields of the conversation
  10. We select the new attribute “Related agent”.
  11. Save and close
  12. We can select some order attribute like Round Robin or Competence or whatever we need.

I enclose the steps in pictures:

Create new queue for assignment 1
Create new queue for assignment 2
Create new queue for assignment 3
Create new queue for assignment 4
Create new queue for assignment 5
Create new queue for assignment 6

Summary

Once the above mentioned steps are done, the contacts that have been assigned a preferred agent will be routed, those that don’t, will be entered by the assignment rules that are in the workstream.

This allows us to have much more agility, until Microsoft introduces something more dynamic than what we have now.

As always, if you have any questions or whatever, contact me at me@victorsolaya.com or on twitter @victorsolaya.


Join the newsletter