> For the complete documentation index, see [llms.txt](https://docs.fstrk.io/knowledge_base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fstrk.io/knowledge_base/instructions/old/razdel-nastroiki/gruppa-nastroek-platforma/globalnye-peremennye.md).

# Глобальные переменные

Глобальные переменные — это один из подразделов платформы Fasttrack.

Подраздел «Глобальные переменные» позволяет хранить переменные в JSON представлении, которые будут доступны в контексте любого узла (сценария) в чат-боте.

Путь до подраздела для авторизованного пользователя с доступом к настройкам платформы представлен на скриншоте ниже.

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

Вид экрана Глобальных переменных в новом аккаунте можно посмотреть на скриншоте ниже.

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

Кнопка сохранения изменений имеет 2 состояния. Пока не внесены изменения, она серого цвета и не активна.

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

После внесения изменений и если JSON корректен, кнопка станет темнее и активируется.

<figure><img src="/files/4BeOTLp8FEYjAqd6CNqm" alt=""><figcaption></figcaption></figure>

Если изменения в JSON были не корректны кнопка останется серой (не активируется), а над ней появится сообщение об ошибке (См. скриншот ниже).

<figure><img src="/files/3WQ8aG4xy117u9D8OA8a" alt=""><figcaption></figcaption></figure>

Когда первые изменения сохранены, экран глобальных настроек примет следующий вид как на скриншоте ниже (переменные ниже показаны для примера, ваш код может отличаться).

<figure><img src="/files/43JOfNha2jrgoW4raxZ1" alt=""><figcaption></figcaption></figure>


---

# 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.fstrk.io/knowledge_base/instructions/old/razdel-nastroiki/gruppa-nastroek-platforma/globalnye-peremennye.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.
