# Шаги

В статье [Как работает бот](/sozdanie-scenariev/kak-rabotaet-bot.md) мы уже познакомились с понятием шага.&#x20;

{% hint style="info" %}
**Шаг** - это действие, которое совершает бот и которое вы настраиваете в интерфейсе приложения. Упрощенно - бот выполняет последовательность шагов при общении с пользователем.
{% endhint %}

В этом разделе мы рассмотрим основные типы шагов. Большинство вы будете использовать в ботах постоянно, некоторые позволяют добавить очень специфичный, но крутой функционал, например, извлечь телефон из сообщения пользователя и переслать его администратору в ЛС :star\_struck:&#x20;

Создавайте любой вопрос или цепочку, чтобы добавлять туда шаги и переходим к следующей статье! :stuck\_out\_tongue\_winking\_eye:&#x20;


---

# 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.smartbot-vk.ru/sozdanie-scenariev/shagi.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.
