> For the complete documentation index, see [llms.txt](https://doc.nextbot.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.nextbot.ru/functional/functions/sending-result/altegio/etapy-nastroiki-funkcii-s-deistviem-altegio.md).

# Этапы настройки функций с действием ALTEGIO

## ШАГ 1 - Подключение интеграции с **ALTEGIO**

Перед созданием функций убедитесь, что интеграция с **ALTEGIO** подключена в разделе Интеграции → **ALTEGIO**.

[Как подключить ALTEGIO](https://doc.nextbot.ru/functional/integrations/altegio/podklyuchenie-integracii-s-altegio.md)

## ШАГ 2 - Создание функций с действием **ALTEGIO**

Функции можно создать двумя способами:

1. [Через **Мастер создания функций**](https://doc.nextbot.ru/functional/integrations/altegio/master-sozdaniya-funkcii-altegio.md) (рекомендуется)
2. Вручную — в разделе Действия в функции.

### Создание функции вручную

Для **каждого** необходимого действия с **ALTEGIO** нужно создать **отдельную** функцию.

1. Перейдите в созданную функцию;
2. В секции **«Действие»** нажмите **«Добавить действие»**;
3. Выберите **ALTEGIO**;
4. Перейдите в созданное действие **ALTEGIO** и выберите в секции **«Выбор действия»** одно из 6 доступных действий:

* **Получить события**
* **Создать событие**
* **Удалить событие**
* **Получить информацию о услуге**
* **Получить информацию о специалисте**
* **Получить информацию о записях клиента**

{% hint style="info" %}
После выбора действия автоматически изменится список параметров, доступных для настройки.
{% endhint %}

### Рекомендуемые названия функций

Если функции создаются вручную, рекомендуется использовать стандартные названия.\
С этими названиями корректность работы ИИ-агента протестирована и подтверждена.

| **Действие ALTEGIO**                  | **Рекомендуемое имя функции** |
| ------------------------------------- | ----------------------------- |
| Получить события                      | get\_booking\_status          |
| Создать событие                       | book\_appointment             |
| Удалить событие                       | cancel\_booking               |
| Получить информацию о услуге          | get\_services\_info           |
| Получить информацию о специалисте     | get\_specialist\_info         |
| Получить информацию о записях клиента | get\_client\_records          |

Использование других названий допустимо, но может повлиять на корректность вызова функций ИИ-агентом.

## Шаг 3. Настройка параметров функций

Дальнейшая настройка зависит от способа создания функции:

* Если функция создана [**через Мастер создания функций**](https://doc.nextbot.ru/functional/integrations/altegio/master-sozdaniya-funkcii-altegio.md) — все основные параметры уже настроены автоматически.\
  При необходимости вы можете изменить их вручную в разделе **Действия функции**.
* Если функция создаётся **вручную** — все параметры необходимо настроить самостоятельно в зависимости от выбранного действия **ALTEGIO**.

Ниже приведено подробное описание настройки каждого действия:

* [Действие ALTEGIO: Получить события](https://doc.nextbot.ru/functional/functions/sending-result/altegio/deistvie-altegio-poluchit-sobytiya.md)
* [Действие ALTEGIO: Создать событие](https://doc.nextbot.ru/functional/functions/sending-result/altegio/deistvie-altegio-sozdat-sobytie.md)
* [Действие ALTEGIO: Удалить событие](https://doc.nextbot.ru/functional/functions/sending-result/altegio/deistvie-altegio-udalit-sobytie.md)
* [Действие ALTEGIO: Получить информацию о услуге](https://doc.nextbot.ru/functional/functions/sending-result/altegio/deistvie-altegio-poluchit-informaciyu-o-usluge.md)
* [Действие ALTEGIO: Получить информацию о специалисте](https://doc.nextbot.ru/functional/functions/sending-result/altegio/deistvie-altegio-poluchit-informaciyu-o-specialiste.md)
* [Действие ALTEGIO: Получить информацию о записях клиента](https://doc.nextbot.ru/functional/functions/sending-result/altegio/deistvie-altegio-poluchit-informaciyu-o-zapisyakh-klienta.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.nextbot.ru/functional/functions/sending-result/altegio/etapy-nastroiki-funkcii-s-deistviem-altegio.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
