> For the complete documentation index, see [llms.txt](https://manual.selarti.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.selarti.com/manual-en/main-sections-of-the-service/lists.md).

# Lists

In the «Lists» section, you can add users to a white or black list to control the interaction of the AI agent with clients.

## General view of the section

In the Selarti personal account go to the «[*Lists*](https://selarti.com/panel?menu=lists)».

<figure><img src="https://271796707-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsBua8zDbkZPvmgjidnwA%2Fuploads%2F6Xnx2um23njWNUJJhykZ%2Flist_1.png?alt=media&amp;token=0662587b-6112-4c75-b7b2-805bd17da116" alt=""><figcaption></figcaption></figure>

## Main elements

The table displays all created lists:

* **Name** — the name of the list that you set when creating it;
* **List type** — the specified list type: «White list» or «Black list»;
* **Used in** — the list of tasks where this list is used;
* **Сontrol** — icon to delete the list.

## How to use lists

**Black list** is needed to add users who unsubscribed from mailings or asked not to be contacted.

**White list** is suitable for organizing work as follows — all new clients are first consulted by employees of the sales department, and then the contact is added to the white list and then the AI agent communicates with him.

## Creating a list

To create a list go to the «[*Lists*](https://selarti.com/panel?menu=lists)», click on «*Create list*».

<figure><img src="https://271796707-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsBua8zDbkZPvmgjidnwA%2Fuploads%2FSYphceEnvgucablgcu8u%2Flist_2.png?alt=media&amp;token=380c82ae-b0b7-48c1-8c48-846d8cdd30e5" alt=""><figcaption></figcaption></figure>

The list creation form will open, which you need to fill out:

* **Name** — specify the list name for convenience;
* **List type** — choose one of two options:
  * **White list** — the AI agent will work only with clients from this list;
  * **Black list** — the AI agent will not work with clients from this list, but will process requests from all others.
* **Used in all tasks** — check the checkbox if the list should apply to all tasks. If the checkbox is not checked — you can select one or several tasks;
* **Enter your list** — list the clients.

{% hint style="info" %}
**Input format**: each ID/username/phone number on a new line.
{% endhint %}

After filling in all the form fields click «*Create list*».

<figure><img src="https://271796707-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsBua8zDbkZPvmgjidnwA%2Fuploads%2FTHqMSznW4hq36sJrpAgg%2Flist_3.png?alt=media&amp;token=84857317-2d67-4a3e-9ede-da6d376df449" alt="" width="395"><figcaption></figcaption></figure>

## Editing a created list

To edit an existing list — for example to add users to it, click on the list. An edit field will open, make the necessary changes there, then click «*Save*».

<figure><img src="https://271796707-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsBua8zDbkZPvmgjidnwA%2Fuploads%2FHVRvIMbF3VXoFohK7f3W%2Flist_4.png?alt=media&amp;token=80fb98e8-4885-4ca0-ad26-7451db014b53" alt=""><figcaption></figcaption></figure>
