> For the complete documentation index, see [llms.txt](https://docs.smartbotpro.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.smartbotpro.io/mini-course/applications-variables-and-managers.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.smartbotpro.io/mini-course/applications-variables-and-managers.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
