> 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/osnovnye-nastroiki/celevoe-deistvie.md).

# Целевое действие

В каждом диалоге с клиентом всегда есть основная цель и ключевые моменты, контроль за которыми позволяет лучше управлять рабочими процессами и улучшать их. Данный функционал позволяет задать набор условий, при наступлении которых будет проставляться тег, который отобразиться в разделе [Аналитики](/ru/analitika/analitika-v-savvi.md). Например, вы можете отследить количество успешных продаж, либо количество переводов на оператора. Целевое действие позволяет отследить важные моменты без сложной настройки тегов при вызове действий.

## Настройка

1. Нажмите на кнопку **"Целевые действия"**.

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

2. Перед Вам откроется окно настройки целевого действия.

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

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

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

Либо создать новый тег. Для этого введите название тега и нажмите **"Создать"**.

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

Вы можете задать цвет тега и иконку. Для повышения точности срабатывания можно задать описание условия при котором тег будет проставлен.

{% hint style="info" %}
Если название тега контекстное, то задание описания не является обязательным, агент сможет по названию тега понять, когда его проставлять.
{% endhint %}

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

3. После завершения настройки нажмите **"Сохранить"**.

## Просмотр Целевых действий

После установки целевых действий на кнопке будет отображаться их количество.

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

По нажатию кнопки откроется список установленных целевых действий.

<figure><img src="/files/alVztnVZ06noDSRvnjrA" 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.suvvy.ai/ru/osnovnye-nastroiki/celevoe-deistvie.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.
