# User variables

User variables are anything you can create and assign to your clients, for example:&#x20;

* %Bonuses% (counter replenished with each target action)&#x20;
* %Status% ("buyer", "interested", "regular customer")&#x20;
* %Test passed% (current user status with yes-no values)&#x20;

These variables are created by you depending on your needs.&#x20;

{% hint style="info" %}
You can use variables in conditions by branching script logic&#x20;
{% endhint %}

To create a variable, go to the section of the same name and click "Add Variable"

<figure><img src="/files/0SLV54bP05RAN7Ya7I7s" alt=""><figcaption></figcaption></figure>

Select the desired type of variable, enter the name and make sure that the access level (lower window) is "User variable"

<figure><img src="/files/tmzfiXKnAoc4Q2B5Ij6G" alt=""><figcaption></figcaption></figure>

You can find out [what types of variables are in Smartbot Pro here](https://app.gitbook.com/o/-M0DMiuC0q5onO-ID_le/s/uRfd5lEYYH6D50QjzeAX/~/changes/pA05wngT4WvDNVoE80bp/scripts/variables#vidy-peremennykh).

Now the created variable will be individual for each user of the bot.


---

# 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/variables/user-variables.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.
