> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ada.cx/llms.txt.

# Audiences

An audience is a named group of end users, such as "Drivers" or "Enterprise customers in Europe". You define the group once, as a set of variable conditions. Then you use the same audience to control who can get your content, to filter your conversations and reports, and to test your AI Agent as that group.

## Overview

Audiences give one definition to each group of end users that your AI Agent serves. Without an audience, each article, Playbook, or tool needs its own copy of the same conditions, and each report filter needs the conditions again.

An audience is a set of conditions on [variables](/docs/automation/variables) that describe the end user. An example is `customer_type` **Is** `Driver` and `region` **Is** `North America`. The AI Agent compares the conditions with the variable values of each conversation.

You use an audience in three places:

* **Audience of your content:** Each article, Playbook, tool, and other item that the AI Agent uses has an **Audience** setting. Select **Everyone**, or select an audience. If you select an audience, the AI Agent uses the item only in conversations where the end user matches the audience.
* **Filters:** Filter **Home**, **Conversations**, and the **Analytics** pages by audience, and save the filter in a [saved view](/docs/optimization/saved-views).
* **Test chat:** Fill the test variables with values that match an audience, then chat with your AI Agent as a member of that audience.

An audience describes the end user, not the conversation. Conversation results such as handoffs, CSAT scores, and resolution aren't part of an audience. To filter on these results, use the other filters on the page and save them in a [saved view](/docs/optimization/saved-views).

Audiences replace availability rules. Content that has availability rules from before audiences keeps them, and the AI Agent continues to apply them. For more information, see [Content with custom conditions](#content-with-custom-conditions).

## Limitations

Audiences have these limits:

* An audience name can have at most 100 characters. Each name must be unique. The check doesn't use case, so "Drivers" and "drivers" are the same name.
* Two audiences can't have the same conditions. The check compares the logic of the conditions, not their order.
* You can't delete an audience while content uses it. Remove the audience from the content first.
* A snapshot doesn't include audiences. Content that uses an audience keeps only its id. For more information, see [Snapshot scope](/reference/snapshot-api/what-a-snapshot-includes).
* Some variables aren't available in conditions, for example Autocapture variables and variables that you collect only in a block for local use.
* An audience can check only whether a list variable is set. It can't compare the items of a list or count them.
* Reports don't store the values of redacted sensitive variables. In the **Audience** filter, you can't select an audience that compares the value of such a variable. A saved filter that already has one treats it as an audience with no members. With **Is**, it selects no conversation for that audience. With **Is not**, it excludes no conversation for that audience. Other audiences in the same filter still apply. A condition that checks only whether the variable is set works.
* In the test chat, an audience can fill text, number, and Yes/No variables only. It can't fill a list variable, a variable that the test panel can't set, such as `channel`, or set a variable to empty.

## Use cases

Create an audience for each group of end users that gets different content or that you report on:

* **Customer type:** Drivers and riders in a ride-share app get different policies and different Handoffs.
* **Plan or tier:** Enterprise customers get a dedicated Handoff and a Playbook for account changes.
* **Region or language:** End users in one country get the articles for their local terms and conditions.
* **Test sessions:** An audience on `test_user` limits new content to test chats until you are ready to publish it. For more information, see [Test changes before they go live](/docs/optimization/testing/interactive-testing#test-changes-before-they-go-live).

## Capabilities & configuration

Audiences are on the **Audiences** tab of the **Dynamic data** page. The **Variables** tab of the same page holds your variables.

### Audience list

The **Audiences** tab shows each audience in a table:

| Column         | Description                                                                                                                                      |
| :------------- | :----------------------------------------------------------------------------------------------------------------------------------------------- |
| **Audience**   | The name of the audience.                                                                                                                        |
| **Conditions** | The conditions of the audience in plain text.                                                                                                    |
| **Used by**    | How many items of each type use the audience, for example **Playbooks (2), Saved views (1)**. **Not used** shows when no item uses the audience. |

Search the list by audience name. To show only the audiences that items use, or only the audiences that no item uses, set the **Usage** filter to **Used** or **Not used**.

### Content that can have an audience

These items have an **Audience** setting:

* Knowledge articles and Knowledge sources
* Playbooks
* Tools: API tools, Code tools, and MCP tools
* Custom Instructions
* Processes
* Handoffs
* Coaching
* Glossary terms
* CSAT survey suppression rules
* Collaboration teams
* App connections, in the connection settings on the **Apps** page

### Conditions

Each condition compares one variable with a value. Group the conditions with **And** or **Or**, and put conditions in groups for more complex logic. The operators that you can use depend on the type of the variable.

#### Understand comparison operators

The operators available depend on the type of the variable:

| **Operator**         | **Variable types**         | **Description**                                                                          |
| :------------------- | :------------------------- | :--------------------------------------------------------------------------------------- |
| **Is**               | Text, Number, Yes/No       | Match a value exactly. For a Yes/No variable, select **True** or **False** as the value. |
| **Is not**           | Text, Number, Yes/No       | Match any value except this one.                                                         |
| **Begins with**      | Text                       | Match a value that begins with certain text.                                             |
| **Ends with**        | Text                       | Match a value that ends with certain text.                                               |
| **Contains**         | Text                       | Match a value that contains certain text in any position.                                |
| **Does not contain** | Text                       | Match a value that doesn't contain certain text.                                         |
| **Greater than**     | Number                     | Match a value that is greater than a number.                                             |
| **Less than**        | Number                     | Match a value that is less than a number.                                                |
| **Is set**           | Text, Number, Yes/No, List | Match if the variable has a value.                                                       |
| **Is not set**       | Text, Number, Yes/No, List | Match if the variable has no value.                                                      |

For a list variable, an audience can use only **Is set** and **Is not set**. Custom conditions from before audiences that compare the items of a list keep working. To save them as an audience, replace that comparison first.

## Quick start

Create an audience and give it to an item in a few steps. For more information, see [Implementation & usage](#implementation--usage).

#### Create the audience

On the Ada dashboard, go to **Config > AI AGENT > Dynamic data**, then click **New**. Enter a **Name**, add the conditions, and click **Save**.

#### Give the audience to an item

Open an item, such as a Playbook. In the **Audience** dropdown, select the audience, and save the item.

#### Test as the audience

Open the test chat and click the **User** icon. Under **Import from audience**, select the audience and click **Import**. Check the values, click **Apply**, and start chatting.

## Implementation & usage

Create and change audiences on the **Dynamic data** page or from the **Audience** setting of an item. Then use them in filters and in the test chat.

### Create an audience

Each new audience gets a name and at least one condition.

**To create an audience:**

1. On the Ada dashboard, go to **Config > AI AGENT > Dynamic data**.
   The **Audiences** tab opens.
2. Click **New**.
   The **New audience** window opens.
3. In the **Name** field, enter a name for the audience, for example "Enterprise customers".
4. Under **Where**, add the conditions:
   1. In the **Choose a variable** list, select a variable.
   2. Select an operator. For more information, see [Conditions](#conditions).
   3. If the operator takes a value, enter or select it in the **Value** field.
   4. To add a condition to the same group, click the **Add** icon beside a condition. To add a new group of conditions, click the **Add** button below the conditions. Then select **And** or **Or** for each group and for the groups together.
5. Click **Save**.
   The audience shows in the list. You can now select it in the **Audience** setting of your items.

You can also create an audience where you use it:

* In the **Audience** dropdown of an item, select **New audience**. After you save the audience, the item uses it. Save the item to keep the change.
* In the **Audience** filter on **Conversations**, click **New audience**. After you save the audience, the filter uses it.

### Give an audience to content

The **Audience** setting of an item controls which end users the AI Agent can use the item for.

**To give an audience to an item:**

1. Open the item, for example a Playbook, a Process, or a Handoff.
2. In the **Audience** dropdown, select one of these options:
   * **Everyone**: The AI Agent can use the item in every conversation.
   * An audience: The AI Agent can use the item only in conversations where the end user matches the audience. The conditions of the audience show under the dropdown.
3. Save the item.

To give one audience to many items at the same time, select the items on the list page and click **Set audience**. This is available on **Knowledge**, **Tools**, **Custom Instructions**, and **Glossary**. The new audience replaces the existing audience of each selected item.

To find the items that use an audience, filter the list page by **Audience**. This filter is on **Knowledge**, **Playbooks**, **Tools**, **Processes**, **Handoffs**, and **Glossary**.

### Content with custom conditions

Content that had availability rules before audiences keeps its conditions. The AI Agent continues to apply them. In the **Audience** dropdown of the item, these conditions show as **Custom conditions**. You can read them, but you can't change them as custom conditions.

To change the conditions, save them as an audience:

1. In the **Audience** dropdown, keep **Custom conditions** selected and click **Edit**.
   The **Edit audience** window opens with the conditions of the item.
2. Enter a **Name**, change the conditions if necessary, and click **Save**.
   The item uses the new audience.
3. Save the item.

If the custom conditions of an item are the same as the conditions of one audience, the item switches to that audience when you open it. Save the item to keep the change. Other items with the same custom conditions switch to the audience the next time someone opens them. If more than one audience has the same conditions, the item stays on **Custom conditions**. Select the audience yourself.

To replace the custom conditions, select **Everyone** or an audience, then save the item. Before you save, you can select **Custom conditions** again to undo the change.

### Edit an audience

A change to an audience applies to every item and saved view that uses it.

**To edit an audience:**

1. On the **Audiences** tab, click the **Options** icon of the audience, then click **Edit**. Or, in the **Audience** dropdown of an item, select the audience and click **Edit**.
   The **Edit audience** window opens.
2. Change the **Name** or the conditions.
3. Click **Save**.
   If other items use the audience and you changed the conditions, the **Save for all uses?** window opens. It names the items that use the audience.
4. To apply the change to all of these items, click **Save for all uses**. To stop, click **Cancel**.

A change to the name only doesn't change who the AI Agent serves, so it saves without the confirmation.

To change the conditions for one item only, click **Duplicate** in the **Edit audience** window. The window makes a copy, and adds "Copy" to the end of the name. Change the name and the conditions, then click **Save**. The copy is a new audience, and only the current item uses it. Save the item to keep the change.

### Delete an audience

You can delete an audience only when no content uses it. Saved views don't stop a delete.

**To delete an audience:**

1. On the **Audiences** tab, click the **Options** icon of the audience, then click **Delete**.
   * If content uses the audience, the **Can't delete audience** window lists the content. Give the content a different audience, then try again.
   * If no content uses the audience, a confirmation window opens. If saved views use the audience, the window shows how many.
2. Click **Delete**.
   The audience is deleted, and each saved view that used it no longer filters by it. If the **Audience** filter of a view has other audiences, the filter keeps them. If it has no other audiences, the view loses the filter. The other filters of the view don't change.

### Filter by audience

The **Audience** filter shows only the conversations where the end user matched an audience. The filter uses the latest value of each variable that the report's date range recorded for each conversation. A later change to an end user's variables doesn't move a past conversation in or out of the filter. You can't select an audience that compares the value of a redacted sensitive variable, because reports don't store those values.

**To filter conversations by audience:**

1. Go to **Home**, **Conversations**, or an **Analytics** page that shows filter chips and the saved view menu.
2. Click the add-filter menu, then under **Conversation**, select **Audience**.
3. Select **Is** or **Is not**, then select one or more audiences.
   The page shows only the matching conversations.

To keep the filter, save it in a view. For more information, see [Saved views](/docs/optimization/saved-views).

### Test as an audience

Fill the test variables from an audience to chat with your AI Agent as a member of that audience.

**To test as an audience:**

1. Open the test chat and click the **User** icon.
   The **Set test variables** window opens.
2. Under **Import from audience**, select an audience, then click **Import**.
   The window replaces the current test variables with a row for each variable that it can fill.
3. Check the rows against the conditions of the audience, and change the values if necessary.
4. Click **Apply**.
   The test chat uses the new values.
5. Start chatting with your AI Agent.

The imported values are a best match, not a guarantee. If an audience has **Or** conditions, the import uses the first one. The import skips list variables, variables that the test panel can't set, such as `channel`, and conditions that need a variable to be empty. To test an audience on `channel`, test on that channel. For more information about the test chat, see [Interactive Testing](/docs/optimization/testing/interactive-testing).

## Best practices

Follow these practices to keep your audiences clear and easy to reuse:

* **Name the group, not the conditions.** "Enterprise customers" is easier to understand in a report filter than "plan is enterprise".
* **Make one audience for each group.** Give the same audience to every item for that group, so a change to the group needs one edit.
* **Save custom conditions as audiences.** When you edit an item with **Custom conditions**, save them as an audience. Then other items with the same conditions can use it.
* **Check Used by before you edit.** A change to the conditions changes every item that uses the audience. To change one item only, use **Duplicate**.
* **Test each audience.** Import the audience in the test chat and confirm that the AI Agent uses the content for that group.

## Related features

* [Variables](/docs/automation/variables)
* [Saved views](/docs/optimization/saved-views)
* [Interactive Testing](/docs/optimization/testing/interactive-testing)
* [Knowledge](/docs/knowledge)
* [Playbooks](/docs/automation/playbooks)

---

Have any questions? Contact your Ada team, or email us at [](mailto:help@ada.cx?subject=Help%20Docs%20inquiry).