# Working with the user

{% hint style="info" %}
With this action you will be able to add and remove users from the lists. Lists can be used in mailing lists, uploads, and script conditions.&#x20;
{% endhint %}

The "Work with user" action includes two steps:&#x20;

* Add user to list
* Remove user from the list&#x20;

Select "Add to list" in the additional menu on the left or by right-clicking in an empty area of ​​the screen:

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FqpQoJyA6Lveq7uHyXdaT%2F1.png?alt=media\&token=4456f64a-788d-4b11-b1e4-b94e16af7782) ![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FJxtXmr1KRworhQ6MV4E8%2F2.png?alt=media\&token=07412125-1b98-4f42-b6ff-0ae741887908)

In the block menu (on the right) you can select an existing list...

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2Fj0eXBQmsxt0DBbgJrTSj%2F3.png?alt=media\&token=24b81062-cd1b-474a-a682-16fb0f88d441)

or create a new one:

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FywaGav18Nw5dAQxOXf2n%2F4.png?alt=media\&token=5697f04e-d1d6-4af4-a428-fd1dd79a361b)

The list with all its members is available in the "Users" section.

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FAnbhKoac514nBVclXVpF%2F5.png?alt=media\&token=e4ac54de-1716-492a-b429-8b5de3bab881)

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FApNqzzNphrFun6vr9kjG%2F6.png?alt=media\&token=cfb0fa21-5453-4976-9fb6-e4d11f3340bc)

There is also a separate subsection in which you can edit and delete lists manually.

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2F8DXLMkucqXu70jrLQjM4%2F7.png?alt=media\&token=d474934e-0fd6-4dbd-918b-797ab92dc44b)

So in Smartbot Pro, you can collect users into lists by interests. With this action, you can give a person the opportunity to subscribe to the newsletter of interest (or, conversely, unsubscribe).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.smartbotpro.io/scripts/actions/working-with-the-user.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
