Skip to contentSkip to navigationSkip to topbar
On this page

Attribute-Based Routing


Attribute-Based Routing is a process used by contact center applications to distribute tasks according to a set of defined characteristics.


Attribute-Based Routing in the contact center

attribute-based-routing-in-the-contact-center page anchor

Attribute-Based Routing intelligently steers contact center tasks. For example, you can specify in the workflow how you want to route calls and then send voice callers to the most qualified agent based on the attributes you defined. Some examples of attributes include:

  • Priority and order — Select the routing priority for each task, such as a First In First Out (FIFO) or Last In First Out (LIFO) algorithm.
  • Time of day routing — Redefined attributes allow you to route tasks based on time of day or day of the week.
  • Agent skills — Specify what skills are required for an agent to take work from each queue.

Attribute-Based Routing at Twilio

attribute-based-routing-at-twilio page anchor

TaskRouter is Twilio's Attribute-Based Routing engine. TaskRouter can route any interaction, whether it originates from Twilio or another system.

When a call, lead, chat, SMS, support ticket, messaging app request, or even machine data comes in, TaskRouter dynamically assigns the incoming task to the person and process that can best handle it. TaskRouter does so using the attributes you apply, such as the skills required by the agent and the task priority.

With TaskRouter, you can define the characteristics of each task using any number of attributes. You can also write syntax to route those tasks based on combinations of attributes, including escalation and fallback rules, so you don't have to write custom code.


How TaskRouter works.

Example applications for TaskRouter include:

  • Distributing calls to call center agents. TaskRouter supports common features required in call center environments, such as skills-based routing and task prioritization.
  • Prioritizing and assigning CRM cases to agents. Custom rules can vary the assignment based on time spent in queue and case content.
  • Distributing leads to sales teams. TaskRouter's business rules provide control over prioritization so that teams are always working on the most critical opportunity.

Empower agents to use their skills

empower-agents-to-use-their-skills page anchor

With an attribute-based routing system like TaskRouter, customer support agents and other workers are matched to tasks based on their skills. As an admin, you can specify what agent skills are required to take work from each queue and also update worker skills at any time. TaskRouter will immediately update the state and routing logic with no code changes required.

Attribute-based routing engines let teams get away from the administrative work of manually routing tasks and back to what's most important — creating great customer experiences. And of course, it's easier for them to create great customer experiences when they are given tasks that match their skill set.

Attribute-based routing also makes it easier for workers to multitask, since you can specify how many different tasks each agent can handle concurrently, with different limits per channel. For example, a worker might be able to handle three simultaneous chats, a voice call and a chat, or only one voice call at a time. The engine notes a worker's capacity and their activity to determine if they are available for a new task. By using incremental escalation to constantly keep track of every task in the system, wherever it is in the queue, you can define escalation logic to incrementally expand the set of agents who can be assigned to each task.


Example: Attribute-Based Routing at LendUp

example-attribute-based-routing-at-lendup page anchor

Lending platform LendUp(link takes you to an external page) implemented TaskRouter to intelligently route customers' calls to different specialists. For example:

  • If a customer needs to fill out an application over the phone, that call should go to an agent with experience in sales and onboarding new customers.
  • A service queue should go to an agent with support and product expertise.
  • Prioritized customer calls should go to a manager with decision-making power and experience with high-pressure situations and customer retention.

Using TaskRouter, LendUp can write its own call-routing logic, and let TaskRouter do the heavy lifting.


Need some help?

Terms of service

Copyright © 2024 Twilio Inc.