# Выполнить SmartQuery

Действие создается щелчком правой кнопкой мыши на свободной области экрана или выбором действия в дополнительном меню (слева)

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

Вам станет доступно поле для ввода выражений на специально разработанном в Smarbot языке SmartQuery

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

Кроме того, в данном поле можно объявлять (создавать) переменные и проводить с ними арифметические операции.

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

Указанный выше пример можно было бы сделать и при помощи шага  «Установить переменные», однако шаг «Выполнить SmartQuery» позволяет выполнять гораздо более сложные преобразования.&#x20;

Синтаксису и возможностям языка SmartQuery посвящён [отдельный раздел](https://docs.smartbot-vk.ru/smartquery/vvedenie) нашей документации.


---

# 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.ru/scenarii/deistviya/vypolnit-smartquery.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.
