Библиотека рецептов
AvitoRecipe

Сообщение в Avito → лид → авто-ответ + SLA

Avito message → lead → auto-reply + SLA

Покупатель спросил про объявление - продавец отвечает за 15 минут или эскалация

Trigger

Avito отправляет webhook при новом сообщении в мессенджере - событие message.new с chat_id, item_id и текстом покупателя

Avito sends a webhook on a new messenger message - message.new event with chat_id, item_id and buyer text

Поля используем

chatIditemIdauthorIdmessageTextitemTitleitemPrice

Setup

  • 1

    В кабинете разработчика Avito создайте приложение, получите client_id и client_secret, подключите в /dashboard/integrations/avito

    In the Avito developer console create an application, get the client_id and client_secret, connect at /dashboard/integrations/avito

  • 2

    Включите webhook на новые сообщения в настройках приложения Avito - укажите CloseFlow endpoint с ?api_key=

    Enable the new-message webhook in the Avito app settings - set the CloseFlow endpoint with ?api_key=

  • 3

    Создайте automation rule в /dashboard/automations: trigger 'lead.created', source=AVITO - установить SLA 15 минут и отправить менеджеру push с текстом сообщения

    Create an automation rule at /dashboard/automations: trigger 'lead.created', source=AVITO - set a 15-minute SLA and send the manager a push with the message text

  • 4

    Настройте эскалацию: trigger 'sla.breached', source=AVITO - уведомить руководителя с ссылкой на объявление (item_id) и текстом покупателя

    Set up escalation: trigger 'sla.breached', source=AVITO - notify the supervisor with a link to the listing (item_id) and the buyer's text

Automation pack

  • SLA-таймер 15 минут: если менеджер не ответил - Telegram-уведомление с текстом сообщения и ссылкой на объявление

    15-minute SLA timer: if manager hasn't replied - Telegram notification with message text and listing link

  • Авто-ответ в Avito (через Avito API): 'Спасибо за вопрос! Менеджер ответит в течение 15 минут' - отправляется немедленно при создании лида

    Auto-reply in Avito (via Avito API): 'Thank you for your question! A manager will reply within 15 minutes' - sent immediately on lead creation

  • Эскалация при нарушении SLA: смена приоритета лида на 'Срочный' + сообщение руководителю с именем объявления и идентификатором покупателя

    SLA breach escalation: lead priority changed to 'Urgent' + message to supervisor with listing title and buyer identifier

Шаги настройки

Как запустить за час

01

На developers.avito.ru создайте приложение, запросите доступ к Messenger API. Получите client_id и client_secret. Вставьте их в /dashboard/integrations/avito и нажмите 'Авторизовать'

At developers.avito.ru create an application and request Messenger API access. Get the client_id and client_secret. Enter them at /dashboard/integrations/avito and click 'Authorize'

02

В настройках приложения Avito укажите CloseFlow webhook URL из карточки интеграции. Включите тип событий 'Новое сообщение в мессенджере'. Отправьте тестовое сообщение самому себе для проверки

In the Avito application settings set the CloseFlow webhook URL from the integration card. Enable event type 'New messenger message'. Send a test message to yourself to verify

03

В /dashboard/automations создайте первое правило: trigger 'lead.created', source=AVITO - SLA 15 минут + push менеджеру с полями messageText и itemId из source_detail

In /dashboard/automations create the first rule: trigger 'lead.created', source=AVITO - 15-minute SLA + push to manager with messageText and itemId fields from source_detail

04

Добавьте второе правило: trigger 'sla.breached', source=AVITO - уведомить руководителя через Telegram + изменить приоритет лида на 'Срочный'

Add a second rule: trigger 'sla.breached', source=AVITO - notify supervisor via Telegram + change lead priority to 'Urgent'

Ожидаемый результат

Скорость ответа на Avito-сообщения снижается с 2 часов до 12 минут; рейтинг продавца по скорости ответа вырастает с 3 до 5 звёзд

Avito response time drops from 2 hours to 12 minutes; seller response-speed rating grows from 3 to 5 stars

Не нашли свой сценарий?

Настроить интеграцию