> 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

Define a group of end users once as an [audience](/docs/automation/audiences), then use it everywhere. An audience is a named set of variable conditions, such as `customer_type` **Is** `Driver`. Audiences replace availability rules.

## Audiences

Audiences are on the new **Config > AI AGENT > Dynamic data** page, on the **Audiences** tab. The **Variables** tab of the same page holds your variables.

* **Audience of your content:** Articles, Knowledge sources, Playbooks, tools, Custom Instructions, Processes, Handoffs, Coaching, Glossary terms, and other content have an **Audience** setting. Select **Everyone** or an audience. **Audience** replaces **Availability** in the dashboard.
* **Filters:** Filter **Home**, **Conversations**, and the **Analytics** pages that show filter chips by audience, and save the filter in a [saved view](/docs/optimization/saved-views). The filter uses the variable values from the time of each conversation.
* **Test chat:** In **Set test variables**, use **Import from audience** to fill the test variables with a best match for an audience. Check the values, then click **Apply**.
* **Used by:** The audience list shows how many items and saved views use each audience.
* **Safe changes:** If other items use an audience, a change to its conditions asks you to confirm first. To change one item only, duplicate the audience. You can't delete an audience while content uses it. A delete removes the audience from each saved view that uses it.

## Availability rules

Existing availability rules continue to work, and no action is necessary.

* Content with availability rules shows them as **Custom conditions** in the **Audience** setting.
* To change custom conditions, click **Edit** and save them as an audience.
* If the custom conditions of an item are the same as the conditions of exactly one audience, the item switches to that audience when you open it. If more than one audience matches, select the audience yourself.

## Platform API

Platform API reads show the audience of an item in the `availability_rules` field.

* An item with an audience returns an audience reference with the `id`, `name` and `rules` of the audience. This applies to Knowledge articles, Knowledge sources, Glossary terms, Playbooks and tools.
* A write needs only the `id`, so you can send a rule that you read back unchanged.

For the schema, see [Availability rules](/reference/introduction/availability-rules#audiencereference). For the setup steps and the limits, see [Audiences](/docs/automation/audiences).