> ## Documentation Index
> Fetch the complete documentation index at: https://coss-mintlify-0e24fcb1.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Routing with Round Robin and Attribute Matching

This guide walks you through how to set up a Round Robin Team Event that routes bookings to team members based on attributes using Cal.com's Routing Forms.

<Note>Attributes are only available in Organizations Plan and Enterprise Plan</Note>

***

## Setting Up a Round Robin Team Event

1. **Ensure a Team exists**
   If not already created, go to your organization and create a Team. For example, a team named `Sales` with the slug `sales`.
   <img src="https://mintcdn.com/coss-mintlify-0e24fcb1/WblUoXeg3CNus9CZ/images/routing/team.webp?fit=max&auto=format&n=WblUoXeg3CNus9CZ&q=85&s=aaf5656173cd5b63a4739bc140259ea6" alt="Team" width="2400" height="1350" data-path="images/routing/team.webp" />

2. **Create a Round Robin Event Type**
   * Create this event under the team you just set up.
     <img src="https://mintcdn.com/coss-mintlify-0e24fcb1/0nroDa6UH_pzQXSt/images/routing/new-round-robin.webp?fit=max&auto=format&n=0nroDa6UH_pzQXSt&q=85&s=40ab7743823a5fe9cb5c3bc81a72a028" alt="Create Round Robin Event" width="2400" height="1350" data-path="images/routing/new-round-robin.webp" />
   * **Important**: Enable the setting `Add all team members, including future members`. This ensures team members are selected dynamically based on attributes.
     <img src="https://mintcdn.com/coss-mintlify-0e24fcb1/0nroDa6UH_pzQXSt/images/routing/all-future-members.webp?fit=max&auto=format&n=0nroDa6UH_pzQXSt&q=85&s=03b4a25ad378cf053c26803a1da4efb9" alt="" width="2400" height="1350" data-path="images/routing/all-future-members.webp" />

***

## Creating an Attribute

Attributes let you define filters that team members can be matched against.

1. Go to [Organization Attributes](https://app.cal.com/settings/organizations/attributes)
2. Create one or more attributes.
   * For matching use cases, **Multi Select** is a great option—especially when team members might belong to multiple attribute values.
   * Example: Create an attribute with the name `Service (Attribute)` to clearly indicate it's used in attribute-based routing.
     <img src="https://mintcdn.com/coss-mintlify-0e24fcb1/0nroDa6UH_pzQXSt/images/routing/attribute.webp?fit=max&auto=format&n=0nroDa6UH_pzQXSt&q=85&s=adb42d485c00de7de754bb18b1d02ce8" alt="" width="2400" height="1350" data-path="images/routing/attribute.webp" />
3. **Assign the attribute** to one or more team members. **This step is critical**.
   <img src="https://mintcdn.com/coss-mintlify-0e24fcb1/0nroDa6UH_pzQXSt/images/routing/assign-member.webp?fit=max&auto=format&n=0nroDa6UH_pzQXSt&q=85&s=5c424a5de918c337f4b34cdd01a73ffd" alt="" width="2400" height="1350" data-path="images/routing/assign-member.webp" />

***

## Setting Up a Routing Form

1. Navigate to [Routing Forms](https://app.cal.com/routing)
2. Create a new Routing Form **under the same team** as your event type.
   <img src="https://mintcdn.com/coss-mintlify-0e24fcb1/0nroDa6UH_pzQXSt/images/routing/create-routing-form.webp?fit=max&auto=format&n=0nroDa6UH_pzQXSt&q=85&s=52f9456fb38aa3e4a79f7c20e09432e9" alt="" width="2400" height="1350" data-path="images/routing/create-routing-form.webp" />
3. Add fields that you want bookers to fill out.
   * It's recommended to include an `Email` field with the identifier `email` to enable integrations with CRMs and contact lookup tools.
   * Refer to [this guide](https://cal.com/help/apps-and-integrations/assign-people#option-2-based-on-emails) for more.
4. Create another field that matches the **options** from the attribute you set up.
   * The **name and identifier don't have to match** the attribute name.
   * Example: A `Service` field with identifier `service`, where the options are identical to those in `Service (Attribute)`.
     <img src="https://mintcdn.com/coss-mintlify-0e24fcb1/WblUoXeg3CNus9CZ/images/routing/routing-form-fields.webp?fit=max&auto=format&n=WblUoXeg3CNus9CZ&q=85&s=2e7dfde1feccae6897049a24255bc46d" alt="" width="2400" height="1350" data-path="images/routing/routing-form-fields.webp" />

***

## Connecting the RR Team Event, Attributes, and Routing Form

1. In your Routing Form, go to the **Routing** tab

2. Click `Add a new Route`

3. Link the Routing Form field to the corresponding Attribute
   * For example, connect the `Service (Attribute)` to the `Service` field in your Routing Form
     <img src="https://mintcdn.com/coss-mintlify-0e24fcb1/0nroDa6UH_pzQXSt/images/routing/routing-attributes.webp?fit=max&auto=format&n=0nroDa6UH_pzQXSt&q=85&s=1101cbc4762de6792af56d1b92918d3f" alt="" width="2400" height="1350" data-path="images/routing/routing-attributes.webp" />

4. Click **Test Preview** on the left
   * Input a value that exists in both the Routing Form field and the Attribute
   * The system should now route the booking to a team member with that value assigned in their attributes
     <img src="https://mintcdn.com/coss-mintlify-0e24fcb1/WblUoXeg3CNus9CZ/images/routing/test-preview.webp?fit=max&auto=format&n=WblUoXeg3CNus9CZ&q=85&s=385be6d6dac5790dd4844f59aaff6789" alt="" width="2400" height="1350" data-path="images/routing/test-preview.webp" />

***

## Sending Leads or Visitors to the Router

There are two ways to use the Routing setup for collecting bookings:

### 1. Using the Cal.com Routing Form Public Page

* You can find the public link for your Routing Form in the UI
  <img src="https://mintcdn.com/coss-mintlify-0e24fcb1/WblUoXeg3CNus9CZ/images/routing/share-url.webp?fit=max&auto=format&n=WblUoXeg3CNus9CZ&q=85&s=c9a201c8743f630b593eccb88460e3c1" alt="" width="2400" height="1350" data-path="images/routing/share-url.webp" />
* The URL will look like:

```
app.cal.com/forms/{FORM_ID}
```

Share this link with your leads or embed it in your site.

<img src="https://mintcdn.com/coss-mintlify-0e24fcb1/WblUoXeg3CNus9CZ/images/routing/routing-form-id.webp?fit=max&auto=format&n=WblUoXeg3CNus9CZ&q=85&s=ba5d5958d316dd8e054a19b9be435dd6" alt="" width="2400" height="1350" data-path="images/routing/routing-form-id.webp" />

### 2. Using Your Own Form with Headless Router (Embed Mode)

If you prefer to design your own form UI but still leverage Cal.com routing:

* Use the Headless Router endpoint:

```
/router?form={FORM_ID}&service=Service%20Type%201&email=jane@example.com
```

* The field identifiers become query params in the URL
* Cal.com will handle the routing and direct the user to the appropriate booking page

This gives you full control over your form UI while keeping Cal.com as the routing engine.

**[Learn more about implementing Headless Routing →](/routing/headless-routing)**

***

You’ve now set up a powerful attribute-based Round Robin routing system that integrates seamlessly with your team structure and forms.
