> For the complete documentation index, see [llms.txt](https://docs.suvvy.ai/ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.suvvy.ai/ru/kanaly/messendzhery/whatsapp.md).

# WhatsApp

WhatsApp – бесплатный онлайн-мессенджер, одно из самых популярных мобильных приложений в мире.

## Что позволяет ?

Данный канал позволяет полностью автоматизировать общение с клиентами.

## Подключение и базовая настройка

{% stepper %}
{% step %}
Чтобы подключить Савви к WhatsApp необходимо перейти в раздел **Каналы** внутри бота и зайти в канал WhatsApp.

<figure><img src="https://1280958077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCfQs1g1wTlkieX5CuhTI%2Fuploads%2FuV8tLAKkBwScoIfo4TIx%2Fimage.png?alt=media&amp;token=661222bc-effa-4ced-bf3c-89cf94bf8387" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
В открывшемся окне нажимаем на кнопку **Подключить.**

<figure><img src="https://1280958077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCfQs1g1wTlkieX5CuhTI%2Fuploads%2FEJ0uF0PfCB8bKSV4oMex%2Fimage.png?alt=media&amp;token=6110a05e-ac86-4aa9-95f2-5c3b79327618" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
{% hint style="warning" %}
**Важно!**\
Подключение платное. Со счета будут списываться средства в соответствии с действующим тарифом. Актуальная информация по размеру списания и периодичности оплаты отображается в интерфейсе при подключении.
{% endhint %}

Далее нажимаете **"Да"**, если согласны с условиями тарификации.

<figure><img src="https://1280958077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCfQs1g1wTlkieX5CuhTI%2Fuploads%2FKy4OepGK8PXeahT0iYbM%2Fimage.png?alt=media&amp;token=896e743c-cb2b-4839-9fb6-ed6e7089c7f8" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Далее необходимо отсканировать QR-код, либо ввести номер телефона в указанном формате. И следовать инструкциям.

<figure><img src="https://1280958077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCfQs1g1wTlkieX5CuhTI%2Fuploads%2FjLPdX5gucVBV3ipdtacL%2Fimage.png?alt=media&amp;token=c8538307-ca5f-4906-8c23-d1f0beadda38" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Информация о подписке отображается под настройками.

<figure><img src="https://1280958077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCfQs1g1wTlkieX5CuhTI%2Fuploads%2FiadVdQLMF1nFUc560uYQ%2Fimage.png?alt=media&amp;token=dc4f977c-6f25-4b39-a8b5-736ca25c7ae6" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Чтобы агент автоматически определял номер телефона собеседника, разрешите **передавать номер собеседника агенту.**

<figure><img src="https://1280958077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCfQs1g1wTlkieX5CuhTI%2Fuploads%2F0PzGOSaEILFHQaIFY2yR%2Fimage.png?alt=media&amp;token=c7f7d1bc-7d49-48c4-aff8-8ca32cb6ceaa" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Активируйте данный флаг, если есть необходимость ответов только в новые чаты.

<figure><img src="https://1280958077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCfQs1g1wTlkieX5CuhTI%2Fuploads%2F8nw5zcr6Je6Mc8ImDb9v%2Fimage.png?alt=media&amp;token=0bf2eb69-5fa6-409a-ab86-7cc31435696b" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Вы можете создать список номеров, которым агент отвечать не будет, введите номера телефонов в соответствии с указанным форматом в обозначенное поле.

<figure><img src="https://1280958077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCfQs1g1wTlkieX5CuhTI%2Fuploads%2FZllcOWFN1OQBE9WWyz20%2Fimage.png?alt=media&amp;token=97632353-4b1c-4283-9676-fd21b8d9eae6" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Убедитесь, что **"Ответы агента"** активированы. При необходимости временно отключить ответы агента, не отключая сам канал, достаточно выключить флаг.

<figure><img src="https://1280958077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCfQs1g1wTlkieX5CuhTI%2Fuploads%2F4koOXT94JWr1m0q07tTO%2Fimage.png?alt=media&amp;token=2a7dff7c-7aac-449b-a3aa-e98b56bcbd24" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## Работа с группами

На вкладке "Группы" Вы можете гибко настроить работу агента с группами.

Для ответов в группы активируйте флаг "Ответы в группу". После этого откроются дополнительные параметры.

<figure><img src="https://1280958077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCfQs1g1wTlkieX5CuhTI%2Fuploads%2Fun6Ev8w8jfutRkY5ChrH%2Fimage.png?alt=media&amp;token=305542eb-1476-49f6-92d5-99ce0c711e6f" alt=""><figcaption></figcaption></figure>

Флаг **"Отвечать только на те сообщения, где его вызовут"** позволяет выбрать сценарий при котором агент не будет отвечать на сообщения в переписке до момента прямого обращения к нему.

В поле **"Ключевые слова для ответа на сообщение"** Вы можете указать слова, которые будут играть роль триггеров для агента, он будет отвечать на сообщения, содержащие указанные слова.

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

<figure><img src="https://1280958077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCfQs1g1wTlkieX5CuhTI%2Fuploads%2FZb7N2mFfqjE9YDTjw8eS%2Fimage.png?alt=media&amp;token=55c56b6f-a1b8-49b5-9dd0-08cd7af30b77" alt=""><figcaption></figcaption></figure>

Можно выбрать группы, только в которых агент будет отвечать, необходимо активировать флаги интересующих Вас групп.

<figure><img src="https://1280958077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCfQs1g1wTlkieX5CuhTI%2Fuploads%2FraYn0BiSiED76DRMHcEh%2Fimage.png?alt=media&amp;token=99546e8e-1bf7-4bc6-bd5f-082526ca7426" alt=""><figcaption></figcaption></figure>

После завершения всех настроек необходимо нажать кнопку **"Сохранить"**.

<figure><img src="https://1280958077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCfQs1g1wTlkieX5CuhTI%2Fuploads%2FA5wRf02rseMqYkAR4QIP%2Fimage.png?alt=media&amp;token=09ca0175-a617-4134-9bff-e9e8841442f4" 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 following URL with the `ask` and `goal` query parameters:

```
GET https://docs.suvvy.ai/ru/kanaly/messendzhery/whatsapp.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 `build a script that syncs our docs to a CMS` 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.
