# 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):

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FNjTtuTq1HhNnOksz1SZA%2F2.png?alt=media\&token=5a4807b7-c1d9-4008-baa5-a6454b5f3f9d)

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

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2Fdj8CUjER023pIRI0UlYX%2F3.png?alt=media\&token=dbe865dd-e035-4ad5-9cea-5e4dd607e60d)

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

![%Баллы% = %Баллы%+1 Простейшая операция по увеличению числовой переменной на 1](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FhO7ATYkOGzWAFa7G2vGa%2F4.png?alt=media\&token=d3e290a4-5e81-42c4-900e-2fb66f9dc83d)

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.
