> ## Documentation Index
> Fetch the complete documentation index at: https://calcomhelp-mintlify-oauth-scopes-1775818270.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/calcomhelp-mintlify-oauth-scopes-1775818270/MrOa8VesEAZDe26j/images/routing/team.webp?fit=max&auto=format&n=MrOa8VesEAZDe26j&q=85&s=ea89ea95c2161a169baa0d70aa0371c5" 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/calcomhelp-mintlify-oauth-scopes-1775818270/MrOa8VesEAZDe26j/images/routing/new-round-robin.webp?fit=max&auto=format&n=MrOa8VesEAZDe26j&q=85&s=f5c39b5c72f9204f15f177dedd685d19" 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/calcomhelp-mintlify-oauth-scopes-1775818270/MrOa8VesEAZDe26j/images/routing/all-future-members.webp?fit=max&auto=format&n=MrOa8VesEAZDe26j&q=85&s=9e3cdf32d7bdb797e205e788d5270a88" 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/calcomhelp-mintlify-oauth-scopes-1775818270/MrOa8VesEAZDe26j/images/routing/attribute.webp?fit=max&auto=format&n=MrOa8VesEAZDe26j&q=85&s=cb2bd30b6a930d4face5ca159c859c56" 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/calcomhelp-mintlify-oauth-scopes-1775818270/MrOa8VesEAZDe26j/images/routing/assign-member.webp?fit=max&auto=format&n=MrOa8VesEAZDe26j&q=85&s=5c4103d32efe89e9a41a2eb876b4358c" 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/calcomhelp-mintlify-oauth-scopes-1775818270/MrOa8VesEAZDe26j/images/routing/create-routing-form.webp?fit=max&auto=format&n=MrOa8VesEAZDe26j&q=85&s=b8b837d345ae7ddd0650e5260f2465e2" 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/calcomhelp-mintlify-oauth-scopes-1775818270/MrOa8VesEAZDe26j/images/routing/routing-form-fields.webp?fit=max&auto=format&n=MrOa8VesEAZDe26j&q=85&s=8edc31e7bf9143f441696fc007f93c4c" 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/calcomhelp-mintlify-oauth-scopes-1775818270/MrOa8VesEAZDe26j/images/routing/routing-attributes.webp?fit=max&auto=format&n=MrOa8VesEAZDe26j&q=85&s=9ae3b4689cc013fb1c13196990c9800e" 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/calcomhelp-mintlify-oauth-scopes-1775818270/MrOa8VesEAZDe26j/images/routing/test-preview.webp?fit=max&auto=format&n=MrOa8VesEAZDe26j&q=85&s=2c91208da1d3c40fce7e1727026ad1d4" 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/calcomhelp-mintlify-oauth-scopes-1775818270/MrOa8VesEAZDe26j/images/routing/share-url.webp?fit=max&auto=format&n=MrOa8VesEAZDe26j&q=85&s=c90d7e9dbab17c98a676c2fdea63f28a" 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/calcomhelp-mintlify-oauth-scopes-1775818270/MrOa8VesEAZDe26j/images/routing/routing-form-id.webp?fit=max&auto=format&n=MrOa8VesEAZDe26j&q=85&s=04a46f556106efedb52b60f2ca9053c1" 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.
