# Applications, variables and managers

In the previous lesson, we asked the user for a phone number and saved it to a variable. The variable can be immediately transferred to the administrator.&#x20;

In the script, add the "Write to manager" block and link it to the previous one. Then the bot will send you or the selected manager the specified message. You can also forward a message from a user.&#x20;

We tell the manager that a new application with a phone number has arrived and we remind you what needs to be done:

![](/files/qqkf0mtdypfBZ4Yun5Oz)

Here I also select the managers to whom I need to send a message, and channels. I can choose a channel with another bot, and then a message about a new application will come from him.&#x20;

To do this, select a channel:

![](/files/UdZvb6pZg76E1BOujzEM)

And now, if we register a phone in the first bot, the second one will write to us:

![](/files/Vpe3LtS68CMmMhB7ucYW)

![](/files/9iGwpHSITp6HYI7kOZuq)

Please note that the bot can work in Telegram, but send messages to VK or other channels - for example, Viber.


---

# 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.io/mini-course/applications-variables-and-managers.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.
