Зависшие сделки
b24_stale_dealsFind open deals stalled for a set number of days or missing open tasks, ranked by value, to see what's stuck and where revenue is at risk.
Instructions
Открытые сделки без движения: не менялись больше days дней и/или без открытых задач. Возвращает count, amount_at_risk и deals с reasons («нет изменений N дней», «нет открытых задач»), самые крупные первыми. Отвечает на «что у нас зависло» и «где теряем деньги». Требует BITRIX24_WEBHOOK_URL (входящий вебхук с правами crm, task, user); лимит 2 запроса/с соблюдается автоматически. Только чтение.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "b24_stale_deals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Сколько дней без изменений считать зависанием | |
| limit | No | ||
| category_id | No | ||
| responsible_id | No |