# Setting up a TaskRouter Workspace: Add and Configure TaskQueues

TaskQueues assign Tasks to Workers based on Worker attributes. For our example, we will use 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

Our first TaskQueue will target Workers like Alice who possess Spanish language skills.

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

*Be sure to set the Reservation Activity to 'Reserved' and the Assignment Activity to 'Busy'.*

**Target Workers Expression:** `languages HAS "es"`

![Create TaskQueue form with Spanish customer care settings and queue expression 'languages HAS es'.](https://docs-resources.prod.twilio.com/bbd8f31fb2f6026d9a2349011e40cc75c022bfab3afd281fc473a2ae6194c314.png)

## TaskQueue #2 - English

To complete our example of language-based routing, create a second TaskQueue, this time targeting Workers like both Alice and Bob who possess English language skills:

**Target Workers Expression:** `languages HAS "en"`

![TaskQueue setup with name, workspace, task order, and queue expression for English language.](https://docs-resources.prod.twilio.com/d99cab40119bab809d68b0de09be9a62f0207475abad35be7365df7ad710c7d8.png)

## Validating TaskQueue Filters

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)

Wonderful. We have created two TaskQueues to target our Workers. But 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/java/setup-add-workflow)
