Run SmartQuery

This step allows you to process data from users directly in the bot, even if you have complex mathematical calculations, as well as perform complex operations with variables.

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

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

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

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

A separate section of our documentation is devoted to the syntax and capabilities of the SmartQuery language.

Last updated