---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/taskrouter/quickstart/python/setup-add-task-queues#article
headline: "Setting up a TaskRouter Workspace: Add and Configure TaskQueues"
description: Create and configure TaskRouter TaskQueues that route Tasks to Workers by attribute, using target Worker expressions to match language skills.
url: https://www.twilio.com/docs/taskrouter/quickstart/python/setup-add-task-queues
inLanguage: en
dateModified: 2026-07-06T16:59:46.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# Setting up a TaskRouter Workspace: Add and Configure TaskQueues

TaskQueues assign Tasks to Workers based on Worker attributes. This example uses two TaskQueues: one for requests in Spanish and one for requests in English.

With your Workspace open in the [TaskRouter console](https://www.twilio.com/console/taskrouter/workspaces), click 'TaskQueues' then 'Create TaskQueue'.

## TaskQueue #1 - Spanish

The first TaskQueue targets Workers like Alice who have Spanish language skills.

Target Workers are described using an SQL-like syntax that matches the JSON attributes of Workers. Use the `HAS` operator to check whether a Worker's languages array *includes* the value "es". The Target Workers Expression is `languages HAS "es"`.

![Create Task Queue form with fields for name, workspace, task order, reservation and assignment activity, and target worker expression.](https://docs-resources.prod.twilio.com/7ca7195a867a47e4c149af7a18db98e59ed3cce30c78a0ad7e77e4b420aa4a9c.png)

## TaskQueue #2 - English

To complete the example of language-based routing, create a second TaskQueue, this time targeting Workers like both Alice and Bob who have English language skills. The Target Workers Expression is `languages HAS "en"`.

![Create Task Queue form with fields for name, workspace, task order, and worker expression.](https://docs-resources.prod.twilio.com/1df3dbdca54e4f84742d8802fa1cb35ba29cae05cfbaaaf18e049b259bb660b5.png)

## Validating TaskQueue Filters

To confirm a TaskQueue matches the right Workers, reopen the 'Customer Care Requests - English' TaskQueue and scroll to the bottom of the page. You should see that both Alice and Bob are eligible to receive Tasks from this TaskQueue:

![Table showing workers Alice and Bob, both unavailable and offline, with language attributes.](https://docs-resources.prod.twilio.com/2fa777d9e77b594231801db4b6b75d4143df6ea84386d60a0e20f9f194d3255e.png)

Reopen the Spanish TaskQueue for comparison - only Alice will show in the list of matching Workers:

![Worker Alice is unavailable, offline, speaks English and Spanish.](https://docs-resources.prod.twilio.com/08a3c6a3ba41740abb7091136e610a4b0340dadbd8ece913c718ba0633f17ddd.png)

You now have two TaskQueues that target your Workers. Before a TaskQueue assigns a Task to a Worker, the Task needs to be created and added to the TaskQueue. That's the role of a Workflow.

[Next: Add a workflow](/docs/taskrouter/quickstart/python/setup-add-workflow)[»](/docs/taskrouter/quickstart/java/setup-add-workflow)
