> For the complete documentation index, see [llms.txt](https://docs.smartbotpro.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.smartbotpro.io/scripts/actions/run-smartquery.md).

# Run SmartQuery

An action is created by right-clicking on a free area of ​​the screen or by selecting an action from the additional menu (on the left):

![](/files/Khubpw6tJayOoN14eXqt)

You will have access to a field for entering expressions in the SmartQuery language specially developed in Smarbot:

![](/files/AOJvHF1IouwOjcLcgj0V)

In addition, in this field you can declare (create) variables and perform arithmetic operations with them.

![%Баллы% = %Баллы%+1 Простейшая операция по увеличению числовой переменной на 1](/files/OPDcqulaxOLekKt4znW0)

The above example could have been done with the Set Variables step, but the Run SmartQuery step allows for much more complex transformations.&#x20;

A [separate section](https://docs.smartbot-vk.ru/smartquery/vvedenie) of our documentation is devoted to the syntax and capabilities of the SmartQuery language.
