> ## Documentation Index
> Fetch the complete documentation index at: https://calcomhelp-mintlify-oauth-salesforce-updates-1775819624.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-salesforce-updates-1775819624/AeAwgs_ZbyOycTYF/images/routing/team.webp?fit=max&auto=format&n=AeAwgs_ZbyOycTYF&q=85&s=8bc62608358561e66960772d89436a73" 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-salesforce-updates-1775819624/AeAwgs_ZbyOycTYF/images/routing/new-round-robin.webp?fit=max&auto=format&n=AeAwgs_ZbyOycTYF&q=85&s=79518e449e683ebe154c08e635796869" 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-salesforce-updates-1775819624/AeAwgs_ZbyOycTYF/images/routing/all-future-members.webp?fit=max&auto=format&n=AeAwgs_ZbyOycTYF&q=85&s=ef2e4f9bc09c50bf994d60f830e5740f" 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-salesforce-updates-1775819624/AeAwgs_ZbyOycTYF/images/routing/attribute.webp?fit=max&auto=format&n=AeAwgs_ZbyOycTYF&q=85&s=e540a753d8fa3f62a1ae21f6fc7e8f7b" 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-salesforce-updates-1775819624/AeAwgs_ZbyOycTYF/images/routing/assign-member.webp?fit=max&auto=format&n=AeAwgs_ZbyOycTYF&q=85&s=02b1b5b63567f109e362382dc18b84c2" 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-salesforce-updates-1775819624/AeAwgs_ZbyOycTYF/images/routing/create-routing-form.webp?fit=max&auto=format&n=AeAwgs_ZbyOycTYF&q=85&s=342b03dafc56ffaef974c656e54d618d" 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-salesforce-updates-1775819624/AeAwgs_ZbyOycTYF/images/routing/routing-form-fields.webp?fit=max&auto=format&n=AeAwgs_ZbyOycTYF&q=85&s=e6698fa5727b2d744ab59e429890426e" 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-salesforce-updates-1775819624/AeAwgs_ZbyOycTYF/images/routing/routing-attributes.webp?fit=max&auto=format&n=AeAwgs_ZbyOycTYF&q=85&s=8dd05ea118ac1f71dfa154e675e2ebcd" 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-salesforce-updates-1775819624/AeAwgs_ZbyOycTYF/images/routing/test-preview.webp?fit=max&auto=format&n=AeAwgs_ZbyOycTYF&q=85&s=411843af25724a0e1f5d2ae4a96ba471" 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-salesforce-updates-1775819624/AeAwgs_ZbyOycTYF/images/routing/share-url.webp?fit=max&auto=format&n=AeAwgs_ZbyOycTYF&q=85&s=90a441aa2b55ae8db5f8448ea4ef72b8" 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-salesforce-updates-1775819624/AeAwgs_ZbyOycTYF/images/routing/routing-form-id.webp?fit=max&auto=format&n=AeAwgs_ZbyOycTYF&q=85&s=aa4a8575250fae02cb999b5594a7f560" 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.
