How to set up an automatic task when a deal moves to a new stage

Taras agreed to talk about coffee for his office, and the deal moved to "Перемовини" (Negotiations). The account manager was supposed to prepare a quote, but calls got in the way. Nobody created the task, and a week later Taras asks where the quote is.
This happens when the next step lives in someone's head. In the CRM you can build it into the stage itself: the deal reaches the stage, and the task "Prepare a commercial quote" is already in the list. Here is how to set it up in the "Автоматизація" (Automation) section, step by step.
Step 1. Turn on the Automation module
In a new company this module is off. Open Settings → "Модулі" (Modules) and switch on "Автоматизація". If you still don't see the section, ask your administrator: access is granted in Roles → the "Система" tab → "Автоматизація".

Step 2. Create the automation
Go to Settings → "Автоматизація" and click "Створити автоматизацію". Choose the Builder type, give it a name your colleagues will understand, and pick "Зміна статусу угоди" (Deal status change) as the trigger.
The "Проста" (Simple) type won't work here. The status-change trigger fires on any move, and only Builder can check that the deal entered one particular stage. Without that check the task would appear at every stage.

A new automation is created switched off. That's fine, you'll turn it on at the end.
Step 3. Add an "Якщо / Інакше" (If / Else) condition
On the left of the editor is the "Елементи" (Elements) panel. Open "Умови" (Conditions) and drag "Якщо / Інакше" onto the canvas. Draw a line from the trigger to the condition.
Click the condition and fill it in on the right: "Сутність" (Entity) is "Угода" (Deal), "Поле" (Field) is "Статус", "Оператор" is "Дорівнює" (Equals), "Значення" (Value) is "Перемовини". Now only deals that enter this stage go further. You can pick any of your own stages instead.

Step 4. Add the "Створити сутність" (Create entity) action
Open "Дії" (Actions) and drag "Створити сутність" onto the canvas. Draw the line from the "Так" (Yes) output of the condition to this action, so the task is created only when the condition is met.
In the action settings choose "Тип сутності" (Entity type) "Завдання" (Task) and add two fields with "Додати поле":
- "Опис" is the task text. Write "Prepare a commercial quote: {{deal.name}}". The CRM replaces {{deal.name}} with the deal's name, so the manager sees right away who it's about. Ready-made variables are listed in the "Доступні змінні" block under the form; a click copies one.
- "Відповідальний" is who gets the task. You can pick a person from the list, or click the </> button next to the field and insert the variable {{trigger.deal.responsible_id}}: then the task goes to the manager of that particular deal, whoever owns it.

Step 5. Check the scheme and turn it on
This is what the finished scheme looks like: trigger, condition and action connected by lines.

Click "Зберегти". "Тестовий запуск" runs the scheme without changing any data: the scheme shows the status of every step and a log, so it is clear where something is off. Builder saves unsaved changes before the test itself. A test run does not create the task, so check on a live deal after switching on. Then switch on "Увімкнено" at the top. That is the moment when the CRM validates the whole scheme.
What happens next
Move a deal to "Перемовини" on the board or change its status in the deal card. The "Задачі" section shows a new task with the deal's name and the deal's manager in the "Відповідальний" column, and "Переглянути виконання" lists the run with the status "Завершено".


A few things to know up front. There are no relative dates ("in 3 days") in actions: a date is set either as a fixed one or with a variable from a deal field. If someone edits the rule while it still has unfinished runs, the CRM won't save the changes, so wait for them to finish.
Where else this scheme helps
The "trigger, condition, action" frame is the same for any stage. A deal moves to "Оплачено" (Paid): create a task for the storekeeper, "Pack the order". A deal moves to "Договір" (Contract): a task to prepare the documents. In your pipeline the names differ, so only the value in the condition and the text in "Опис" change.
If you need a reaction to a stuck deal rather than a task, the trigger list has "Угода застрягла в статусі" (Deal stuck in a status). It fires when a deal stays at one stage longer than the "Ліміт днів у статусі" (days limit) from the pipeline settings, and it can, for example, reassign the deal to another manager.
See a task create itself
Sign up for free, turn on the Automation module, and the quote task will appear as soon as a deal reaches your stage.


