> For the complete documentation index, see [llms.txt](https://help.chatterfy.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.chatterfy.ai/konstruktor-skriptov/nastroiki-skripta/tipy-stepov-vnutri-konstruktora/custom-condition.md).

# Custom Condition

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

1. Для того чтобы создать кастомные условия вам необходимо перейти в раздел Конструктора. Нажмите на кнопку Создать степ (Create Step). Выберите cтеп кастомных условий (Custom Condition)

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

2. Задайте название степа. Далее вам необходимо нажать Создать (Create) и включить степ на этап воронки, где хотите применить условие&#x20;

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

2. Теперь необходимо перейти в меню создания Условий (Conditions). Нажимаем Добавить условие (Add condition)&#x20;

<figure><img src="/files/2eYEPz3TOjCTvDl1ms6E" alt=""><figcaption></figcaption></figure>

Вам доступно создание условий 3 типов на основании информации из: <br>

* Кастомных полей
* Трекер даты&#x20;
* Тегов&#x20;

Далее вам необходимо выбрать само значение условия: <br>

* is - есть точное совпадение
* has - если есть значение
* any - любое значение
* not - не имеет значения&#x20;
* more than - больше чем&#x20;
* less than - меньше чем&#x20;

Выбираем поле нашего условия/прописываем значение. Внутри одной развилки условия вы можете добавлять несколько вариантов И/ИЛИ  (см. Пример ниже)

{% hint style="info" %}
ПРИМЕР:

В данном случае на необходимо сделать разделение на две воронки FDv1 и FDv2 в зависимости от трекер даты, которая есть у диалога \
\
**Внутри степа условия для степа FDv1 мы добавляем:** \
\
1\) Tracker Field - buyer is - sergei \
\
\*На воронку FDv1 должны перейти ТОЛЬКО ТЕ чаты, в трекер филде у которых есть баер Сергей \
\
**Внутри степа условия для степа FDv2 мы добавляем:** \
\
2\)  Tracker Field - buyer is - vadim \
Custom Field - Country - not Brazil \
\
\*На воронку FDv2 должны перейти ТОЛЬКО ТЕ чаты, в трекер филде у которых есть баер Вадим **И** клиенты у которых НЕТ страны Бразилии в кастомных полях&#x20;
{% endhint %}


---

# 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://help.chatterfy.ai/konstruktor-skriptov/nastroiki-skripta/tipy-stepov-vnutri-konstruktora/custom-condition.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.
