Документація
  • English
  • Українська
  • English
  • Українська
  • Головна

    • Документація ConnectiveOne
  • Підключення каналів

    • Канали (Channels)

      • Інтегратор — Хаб налаштування каналів
      • Інструкції

        • Як налаштувати віджет в Налаштування
        • Як підключити Facebook Messenger та Instagram до ConnectiveOne
        • Як підключити Gmail до ConnectiveOne
        • Як підключити Outlook до ConnectiveOne
        • Як підключити Telegram до ConnectiveOne
        • Як підключити номерні Viber, Telegram та WhatsApp через e-chat
        • Як підключити Viber до ConnectiveOne
        • Як підключити WhatsApp до ConnectiveOne
        • Як кастомізувати кольори віджету
        • Як керувати віджетом з сайту
        • Як передати параметри з сайту до сценарію
        • Як налаштувати відправку SMS через Alpha SMS
        • Як налаштувати відправку Viber/SMS через Infobip
        • Як підключити віджет на сайт
        • Як використовувати Custom Code для віджету
        • Як працювати з віджетом на SPA додатках
  • Обробка звернень

    • Операторська панель (OperatorLine)

      • Оператор — Хаб сценаріїв для OperatorLine
      • Супервайзер — Хаб сценаріїв для OperatorLine
      • Адміністратор — Хаб сценаріїв для OperatorLine
      • Інтегратор — Хаб операторської панелі для OperatorLine
      • Пояснення

        • Про обробку звернень в ConnectiveOne
        • Про авторозподіл діалогів між операторами
        • Про автоматичне підключення вільного оператора до нового діалогу
        • Про підключення чату з оператором через операторську панель
        • Про перерозподіл чатів з оператора
      • Інструкції

        • Змінити статус звернення
        • Створити фільтр
        • Створити папку
        • Створити вихідне звернення
        • Як створити тікет?
        • Як прив'язати тікети між собою?
        • Управляти папками
        • Як редагувати поля тікету?
        • Як керувати спостерігачами тікету?
        • Відстежувати статуси операторів
        • Відкрити звернення
        • Переставити папки
        • Як відповісти клієнту?
        • Позначити тему та теги
        • Використати копілот
        • Використати швидкі відповіді
        • Переглянути список чатів
        • Переглянути чати у таблиці
        • Переглянути чергу звернень
        • Як переглянути логи тікету?
        • Як переглянути SLA метрики тікету?
    • Профіль (Profile)

      • Оператор — Хаб сценаріїв для Profile
      • Адміністратор — Хаб сценаріїв для Profile
      • Інструкції

        • Як змінити мову інтерфейсу?
        • Налаштувати папки
        • Налаштувати сповіщення
        • Налаштувати швидкі відповіді
        • Налаштувати підпис
    • Клієнти (BroadcastUsers)

      • Оператор — Хаб сценаріїв для BroadcastUsers
      • Інтегратор — Хаб сценаріїв для BroadcastUsers
      • Адміністратор — Хаб сценаріїв для BroadcastUsers
      • Інструкції

        • Створити сегмент за фільтрами
        • Редагувати дані клієнта
        • Експортувати дані клієнтів
        • Відфільтрувати клієнтів
        • Управляти підпискою
        • Як знайти клієнта?
        • Шукати клієнтів за файлом
        • Надіслати розсилку обраним клієнтам
        • Як переглянути картку клієнта?
        • Переглянути канали клієнта
  • Розсилки

    • Розсилки (Broadcast)

      • Оператор — Хаб розсилок для Broadcast
      • Інтегратор — Хаб налаштувань для Broadcast
      • Аналітик — Хаб аналітики для Broadcast
      • Інструкції

        • Як активувати заплановану розсилку?
        • Як перевірити статус розсилки?
        • Як налаштувати ліміти розсилок?
        • Як створити розсилку?
        • Як створити тему розсилки?
        • Як деактивувати тему розсилки?
        • Як редагувати чернетку розсилки?
        • Як редагувати тему розсилки?
        • Як експортувати результати розсилки?
        • Як запустити розсилку негайно?
        • Як зберегти розсилку як чернетку?
        • Як переглянути результати розсилки?
        • Як переглянути статистику кліків?
        • Як переглянути статистику доставок?
        • Як переглянути статистику відкриттів?
  • Автоматизація

    • Сценарій

      • Інтегратор — Хаб сценаріїв для Scenario Dialog
      • Інструкції

        • Як додати переклади до сценарію?
        • Як створити новий сценарій бота?
        • Як створити секцію сценарію?
        • Як редагувати існуючий сценарій бота?
        • Як експортувати або імпортувати сценарій?
        • Як використати action в сценарії?
        • Як переглянути та відновити версії сценарію?
    • Action Jail

      • Оператор — Хаб сценаріїв для ActionJail
      • Інструкції

        • Як створити й підтримувати дію в ActionJail (Адміністратор)
        • Як клонувати дію в ActionJail
        • Як швидко знайти дію в ActionJail
        • Як підключити дію ActionJail до сценарію бота (Інтегратор)
    • Інтеграції

      • Інтегратор — Хаб інтеграцій ConnectiveOne
      • Інструкції

        • Як інтегрувати операторську панель як віджету в CRM/ERP
        • Як налаштувати назву продукту для Zoho CRM
        • Як інтегрувати зовнішню систему через Custom Channel
        • Як отримати дані з API за допомогою send_request
        • Як передати дані з ConnectiveOne через send_request
        • Як налаштувати підписку користувача на нотифікації
        • Як запустити сценарій бота через API call_node
        • Як інтегрувати ConnectiveOne з eSputnik
        • Як надіслати розсилку по телефону через route
        • Як використовувати API ConnectiveOne
        • Як налаштувати webhook панелі оператора
      • Довідник

        • API Reference — Довідник по API ConnectiveOne
    • Користувацькі дані (CustomData)

      • Інтегратор — Хаб сценаріїв для Custom Data
      • Адміністратор — Хаб сценаріїв для Custom Data
      • Аналітик — Хаб сценаріїв для Custom Data
      • Інструкції

        • Додати поле до моделі
        • Налаштувати тип поля
        • Створити групу
        • Як створити модель даних?
        • Редагувати модель
        • Експортувати відфільтровані дані
        • Як експортувати дані моделі?
        • Як знайти записи за фільтрами?
        • Імпортувати дані з файлу
        • Сортувати записи
        • Валідувати дані
        • Переглянути записи моделі
    • Менеджер файлів (FileManager)

      • Оператор — Хаб сценаріїв для FileManager
      • Інструкції

        • Як створити завдання в Jira з файлом?
        • Як видалити файл або папку?
        • Як перейти в папку?
        • Як завантажити новий файл?
        • Як переглянути список файлів?
  • Штучний інтелект

    • Fast Line Pro (FastLinePro)

      • Інтегратор — Хаб сценаріїв для FastLinePro
      • Адміністратор — Хаб сценаріїв для FastLinePro
      • Інструкції

        • Активувати KB Plugin
        • Як перевірити відповідь AI-агента в сценарії?
        • Перевірити статус синхронізації
        • Налаштувати промпт агента
        • Як налаштувати змінні агента в FastLinePro?
        • Як налаштувати фрагментацію в базі знань FastLinePro?
        • Налаштувати синхронізацію KB Plugin
        • Налаштувати синхронізацію знань
        • Як підключити базу знань до AI-агента в FastLinePro?
        • Створити агента
        • Як створити чат-бота?
        • Як створити базу знань?
        • Деактивувати KB Plugin
        • Як підготувати файл для бази знань FastLinePro?
        • Запустити синхронізацію KB
        • Оновити файли KB
        • Завантажити файли до KB
        • Як використати дію action_fastline_pro в сценарії?
    • Контроль якості (Quality Assurance)

      • Супервайзер — Хаб сценаріїв для Quality Assurance
      • Адміністратор — Хаб сценаріїв для Quality Assurance
      • Аналітик — Хаб сценаріїв для Quality Assurance
      • Інструкції

        • Як корегувати AI-оцінки критеріїв?
        • Як затвердити оцінку?
        • Оцінити звернення
        • Провести перевірку якості
        • Як створити нову оцінку діалогу?
        • Експортувати оцінки
        • Фільтрувати оцінки
        • Використати чеклист
        • Переглянути деталі оцінки
        • Як переглянути список оцінок та знайти потрібну?
        • Переглянути дашборд якості
        • Переглянути звіти якості
  • Статистика

    • Статистика (Statistics)

      • Супервайзер — Хаб сценаріїв для Statistics
      • Адміністратор — Хаб сценаріїв для Statistics
      • Аналітик — Хаб сценаріїв для Statistics
      • Інструкції

        • Застосувати фільтри до звіту
        • Як налаштувати CSAT (задоволеність клієнтів) в Statistics?
        • Як створити та налаштувати воронку в Statistics?
        • Створити детальний звіт
        • Створити воронку
        • Експортувати звіт
        • Як експортувати дані статистики?
        • Налаштувати цільові метрики
        • Переглянути щоденний звіт
        • Переглянути дашборд
        • Як переглянути дашборди Metabase в модулі Statistics?
        • Як переглянути робочий графік оператора в Statistics?
        • Переглянути змінний звіт
      • Довідник

        • Метрики статистики — довідник
  • Адміністрування

    • Налаштування

      • Супервайзер — Хаб налаштувань операторської панелі
      • Адміністратор — Хаб налаштувань системи
      • Інструкції

        • Як активувати або деактивувати бота?
        • Як налаштувати автентифікацію та управління доступом?
        • Як налаштувати бота?
        • Як налаштувати параметри чатів?
        • Як налаштувати поля картки клієнта?
        • Як налаштувати поля клієнтів?
        • Як налаштувати параметри файлів?
        • Як налаштувати гарячі клавіші?
        • Як налаштувати параметри інстансу?
        • Як налаштувати операторів у чатах?
        • Як налаштувати ролі та права доступу?
        • Як налаштувати стилі та скрипти?
        • Як налаштувати загальні налаштування системи?
        • Як налаштувати параметри тікетів?
        • Як налаштувати таймери для чатів?
        • Як налаштувати поля користувачів?
        • Як створити нового бота?
        • Як переглянути список ботів?
        • Як переглянути список користувачів?
    • Доступ

      • Відновлення доступу — Хаб сценаріїв
      • Інструкції

        • Як увімкнути потік відновлення пароля (Адміністратор)
        • Як згенерувати лінк для скидання пароля вручну (Адміністратор)
        • Як скинути пароль через «Забули пароль?»

Actions Reference — Довідник по діях

Повний довідник по всіх стандартних actions (діях) в ConnectiveOne. Actions — це функції, які виконуються під час виконання сценарію ботом для розширення функціональності, інтеграції з зовнішніми системами та обробки даних.

Що таке actions?

Actions — це JavaScript функції, які виконуються під час виконання сценарію ботом. Коли бот досягає ноди типу Action в сценарії, він викликає відповідну функцію, передає їй параметри та обробляє результат.

Загальна кількість стандартних actions: 98

Типи actions

  • Стандартні actions — вбудовані в платформу ConnectiveOne, доступні всім ботам (98 actions)
  • Кастомні actions — створені через модуль ActionJail під конкретні задачі проекту

💡 Детальніше: Про створення кастомних actions дивіться в ActionJail модулі та інструкції зі створення actions

Використання в сценаріях

Actions використовуються в:

  • Scenario Dialog — через ноди типу Action
  • Scenario Builder (Beta) — через ноди типу Action з підтримкою шаблонів

💡 Детальніше: Про використання actions в сценаріях дивіться в інструкціях для Scenario Dialog та поясненні про actions


Стандартні actions по групах

Action Jail (1)

НазваSystem IDОписКонфігураціяПовертає
Logaction_logLogs a message to the console for debugging purposes. This is a simple debugging action that outp...{}Returns undefined - Action completes silently

Api (1)

НазваSystem IDОписКонфігураціяПовертає
API Call Nodeaction_api__callnodeCalls an external API endpoint to execute a specific node (connector) in another bot. This action...{ "bot_id": "", "connector_alias": "", "chat_id": "", "channel": "", "data": ...ok - The API call was successful and the target node exec...

Autobroadcast (2)

НазваSystem IDОписКонфігураціяПовертає
Autobroadcast Createaction_autobroadcast__createCreates a scheduled autobroadcast message for the current user. The action allows scheduling mess...{ "template_id": null, "alias": null, "one_time": false, "send_after": null, ...success - Autobroadcast was successfully created and sche...
Autobroadcast Removeaction_autobroadcast__removeRemoves scheduled autobroadcast messages for the current user. The action can remove all autobroa...{ "template_id": null, "alias": null }success - Autobroadcast were successfully removed

Broadcast (3)

НазваSystem IDОписКонфігураціяПовертає
Broadcast Subscribeaction_broadcast__subscribeSubscribes the current user to a broadcast topic. The action creates a subscription relationship ...{ "template_id": null, "topic_id": null, "time": null }success - User was successfully subscribed to the broadca...
Broadcast Unsubscribeaction_broadcast__unsubscribeUnsubscribes the current user from a broadcast topic. The action removes the subscription relatio...{ "topic_id": "*" }success - User was successfully unsubscribed from the topic
Broadcast Subscribedaction_broadcast__subscribedChecks if the current user is subscribed to a broadcast topic. The action verifies the subscripti...{ "topic_id": null }success - User is subscribed to the specified topic

Core Actions (63)

НазваSystem IDОписКонфігураціяПовертає
Check Languageaction_check_languageChecks if a language code has been selected for the current user. The action verifies if selected...{}defined - Language code is set in state
Set Languageaction_set_languageSets the user's selected language code. The action validates the language code against available ...{}success - Language was successfully set and validated
Get Languageaction_get_languageRetrieves the currently selected language code for the user. The action checks user constants and...{}Returns the language code - Language code such as "en", ...
Get Channelaction_get_channelReturns the messaging channel through which the current user is communicating. The action returns...{}Returns the channel name - Channel name such as "telegra...
Validateaction_validateValidates user input or constant values against specified validation rules. The action supports m...[ { "constant": null, "type": null, "pattern": null } ]success - All validations passed successfully
Test Listaction_test_listGenerates a test list object with 7 items for testing purposes. The action creates a list structu...{}Returns list object with structure:
Generate Listaction_generate_listGenerates a formatted list object from an array stored in user constants. The action processes ar...{ "list": "", "output": "", "mapping": null }Returns undefined - Action completes silently
Get Commandaction_get_commandProcesses commands received from messengers in the form /commandname or passed through deeplinks....{}Returns the command name - Command name such as "start",...
Get User Inputaction_get_user_inputExtracts and processes user input from the current message, including text, files, mentions, and ...{}bot_mentioned - Bot was mentioned in the message
Send Requestaction_send_requestSends an HTTP request to an external system. The action supports all HTTP methods, custom headers...{ "url": "", "method": "POST", "data": {}, "headers": {}, "basic_auth": { "lo...ok - HTTP request was successfully sent and received vali...
Create Hashaction_create_hashGenerates a cryptographic hash from a value stored in user constants combined with a secret key (...{ "key_in_const": "idcustomer", "secret_key": "", "algorithm": "sha1", "diges...success - Hash was successfully generated and stored in t...
Send Meaction_send_meSends an HTTP request to an external URL with chat_id and channel automatically included in the r...{ "url": "", "method": "POST", "data": {}, "headers": {} }ok - HTTP request was successfully sent and received vali...
Call Nodeaction_call_nodeCalls a node (connector) in the current bot by making an HTTP POST request to the /kw/api/call_no...{ "alias": "", "data": {} }This action does not return a value . It's a fire-and-for...
If Elseaction_if_elsePerforms conditional branching based on variable states and expressions. The action evaluates con...{ "if": {}, "elseif": {}, "else": {} }Returns event name - Event name specified in the matched...
Switchaction_switchEvaluates multiple conditional expressions and returns the first matching event name. The action ...{ "event_name1": "{{param1}}>2", "event_name2": "{{param2}}<{{param3}}" }Returns event name - First event name whose condition ev...
Setaction_setSets or modifies user constants with support for placeholder replacement, mathematical expression...{ "param1": "value1", "param2": "{{param1}}+2" }default - All constants were successfully set
Set Current Dateaction_set_current_dateSets the current date and time as a JavaScript Date object in a user constant. The action creates...{ "set_to": "current_date" }default - Current date was successfully stored in constant
Menu Slideraction_menu_sliderGenerates a slider/pagination structure for menu navigation with multiple pages. The action creat...{ "cycle": false }Returns slider object - Slider structure with total and ...
Send Photoaction_send_photoSends photos to the user from URLs specified in node JSON configuration or from constants. The ac...{ "photo1": "https://example.com/photo1.jpg", "photo2": "{{photo_url}}" }Returns result from generalPhotosHandler - Typically succ...
Send Videoaction_send_videoSends videos to the user from URLs specified in node JSON configuration. The action parses video ...{ "video1": "https://example.com/video1.mp4", "video2": "{{video_url}}" }Returns result from generalVideoHandler - Typically succe...
Send Fileaction_send_fileSends files to the user from URLs specified in node JSON configuration. The action parses file UR...{ "file1": "https://example.com/file1.pdf", "file2": "{{file_url}}" }Returns result from generalFileHandler - Typically succes...
Send Emailaction_send_emailSends email messages via SMTP. The action supports HTML email content, placeholder replacement, d...{ "subject": "", "to": "", "html": "", "from": null, "service": null, "host":...success - Email was successfully sent
Loop Startaction_loop_startStarts iterating over an array of data, processing each item sequentially. The action initializes...[]success - Loop successfully started and first item is ava...
Loop Endaction_loop_endChecks if the loop iteration is complete or if more items need to be processed. The action verifi...{}success - Loop is complete, all items have been processed
Check Scheduleaction_check_scheduleChecks if the current time falls within the operator's working hours. The action validates the cu...{ "morning_time": null, "evening_time": null, "weekends": null, "timezone": "...success - Current time falls within working hours and it'...
Send Stickeraction_send_stickerSends a sticker to the user through the messaging channel. The action retrieves the channel-speci...{ "telegram_sticker": null, "viber_sticker": null, "facebook_sticker": null }Returns undefined - Sticker was successfully sent
Clear Constantaction_clear_constantClears user constants and related context data that match specified key prefixes. The action remo...{ "module_name": "" }success - Constants and context data were successfully cl...
Goto Aliasaction_goto_aliasNavigates to a scenario node identified by its alias. The action resolves the alias to a node pos...{ "alias": "" }Returns undefined - Action completes silently
Add To Cartaction_add_to_cartAdds an item to a shopping cart stored in user constants. The action retrieves item information f...{ "item_model": "", "item_id": "", "price": "", "count": "1", "attributes": "...success - Item was successfully added to the cart
Remove From Cartaction_remove_from_cartRemoves an item from a shopping cart stored in user constants. The action identifies the item by ...{ "item_model": "", "item_id": "", "save_to": "cart" }success - Item was successfully removed from cart and tot...
Sleepaction_sleepPauses execution for a specified duration and shows a typing indicator to the user. The action se...{ "delay": 10 }success - Delay completed successfully
Scan Barcodeaction_scan_barcodeScans a barcode from an image URL using Quagga barcode reader library. The action downloads the i...{ "source_url": "", "type": "ean13", "set_to": null }recognized - Barcode was successfully scanned and value s...
Scan QRaction_scan_qrScans a QR code from an image URL using jsQR library. The action downloads the image, processes i...{ "source_url": "", "set_to": null }recognized - QR code was successfully scanned and data st...
Generate Barcodeaction_generate_barcodeGenerates a barcode image from text data using various barcode types. The action creates a PNG im...{ "code": "", "type": "", "height": 10, "scale": 3, "includetext": true, "tex...generated - Barcode was successfully generated and image ...
Custom Modules Listaction_custom_modules_listRetrieves a list of distinct values from a specific field in a custom module, formatted for use i...{ "module_name": "", "field": "", "bot_id": null, "filters": null, "limit": 50 }Returns a list object with structure:
Existing Chatroomaction_existing_chatroomChecks if an active chat room exists for the current user. The action searches for a chat room ma...{}exists - An active chat room exists for the current user
Close Chatroomaction_close_chatroomCloses an operator chat room by updating its status. The action finds the chat room by ID (from o...{ "chat_room_id": null }success - Chat room was successfully closed
Create Messageaction_create_messageCreates a message in an operator chat room. The action creates messages from either clients or us...{ "id": "", "message": "", "message_type": "text", "user_id": null }success - Message was successfully created in the chat room
Get Client By Chat Room Idaction_get_client_by_chat_room_idRetrieves client information associated with a chat room. The action finds the client participant...{ "chat_room_id": null }success - Client information was successfully retrieved a...
Get Chat Room Messagesaction_get_chat_room_messagesRetrieves messages from a chat room with pagination support. The action fetches messages from the...{ "filters": { "chat_room_id": null }, "pagination": { "page_size": 10, "curr...success - Messages were successfully retrieved and stored...
Fastline Completionaction_fastline_completionGenerates AI text completion using chat completion APIs without knowledge base search. The action...{ "user_input": null, "provider": null, "model": null, "apiKey": null, "opena...Returns the generated completion text - AI completion wa...
Fastlineaction_fastlineSearches for answers in the knowledge base using vector similarity search and generates AI-powere...{ "user_input": null, "bot_id": null, "provider": null, "model": null, "apiKe...success - Answer was found, AI response generated success...
Fastline Searchaction_fastline_searchSearches the knowledge base using vector similarity search without generating AI responses. The a...{ "user_input": null, "bot_id": null, "provider": null, "model": null, "apiKe...success - Search completed successfully
Fastline Summarizeaction_fastline_summarizeGenerates AI-powered summaries of chat room conversation history. The action retrieves recent dia...{ "prompt": "", "chat_room_id": null, "messages_count": 5, "provider": null, ...success - Summary was successfully generated and stored
Fastline Transcribeaction_fastline_transcribeTranscribes audio/voice messages into text using AI voice transcription services. The action proc...{ "user_input": null, "bot_id": null, "read_from": null, "set_to": "voice_res...success - Audio was successfully transcribed and result s...
Fl Transfer To Skill Groupaction_fl_transfer_to_skill_groupTransfers a chat room from Fastline AI operator to a skill group, which automatically distributes...{ "skill_group_id": null, "skill_group_alias": null }success - Chat room was successfully transferred to an op...
Fl Transfer To Operatoraction_fl_transfer_to_operatorTransfers a chat room from Fastline AI operator to a specific human operator. The action removes ...{ "operator_id": null, "operator_email": null }success - Chat room was successfully transferred to the o...
Fastline Proaction_fastline_proInteracts with Fastline Pro AI agents using the Dify API. The action sends queries to configured ...{ "agent_name": "", "user_input": null, "conversation_id": null, "inputs": {}...Returns the agent's response text - Agent response was s...
Meta Typeaction_meta_typeDetermines the type of Meta (Facebook/Instagram) message interaction. The action checks if the me...{}post_comment - Message is a comment on a post
Card Pay Block Scenarioaction_card_pay_block_scenarioSets the payment status to active in the user request object, blocking the scenario flow until pa...{}success - Payment status was successfully set to active
Card Payaction_card_payGenerates a payment URL for card payments and stores it in user constants. The action constructs ...{}success - Payment URL was successfully generated and stor...
Apple Google Payaction_apple_google_paySends an Apple Pay or Google Pay payment request through Viber using LiqPay payment gateway. The ...{ "description": "", "product_name": "" }success - Payment request was successfully sent to the us...
Verify Online Paymentaction_verify_online_paymentVerifies the status of an online payment transaction. The action checks the payment code from the...{}success - Payment was successful
Tickets Createaction_tickets_createCreates a new ticket in the tickets system with custom field collection, operator connection, and...{ "subject_alias": "", "additional_fields": {}, "keep_original_message": fals...success - Ticket was successfully created
Tickets Create V2action_tickets_create_v2Creates a new ticket using an improved service-based architecture. This is an enhanced version of...{ "subject_alias": "", "additional_fields": {}, "keep_original_message": fals...success - Ticket was successfully created
Chatroom Updateaction_chatroom_updateUpdates the status of an operator chat room. The action finds a chat room by ID, updates its stat...{ "chat_room_id": "", "status_name": "" }success - Chat room was successfully updated with the new...
Tickets Updateaction_tickets_updateUpdates an existing ticket with new field values, assignment changes, status updates, and watcher...{ "chat_room_id": null, "assignee_id": null, "priority_id": null, "status_nam...success - Ticket was successfully updated
Get Ticket Infoaction_get_ticket_infoRetrieves ticket information from the tickets module based on ticket ID. The action fetches ticke...{ "ticket_id": null }success - Ticket information was successfully retrieved a...
My Chatrooms Listaction_my_chatrooms_listRetrieves a list of active chat rooms for the current user/client. The action finds the client by...{}Returns undefined - Chat rooms list was successfully retr...
Return To Chatroomaction_return_to_chatroomReturns the user to a previously active chat room in the operator panel. The action retrieves the...{ "alias_return_scenario": null }Returns undefined - Chat room was successfully restored a...
Tickets Clear Inputaction_tickets_clear_inputClears all custom field constants from user state that are associated with a specific subject. Th...{ "subject_alias": "" }success - Custom field constants were successfully cleared
Tickets Create Wrappedaction_tickets_create_wrappedCreates a ticket using phone-based context switching. This is a wrapper around action_tickets_cre...{ "subject_alias": "" }Returns result from action_tickets_create - success, bann...
Tickets Listaction_tickets_listRetrieves a filtered and paginated list of tickets from the database. The action supports multipl...{ "filters": { "reporter_id": null, "assignee_id": null, "chat_room_id": null...success - Ticket list was successfully retrieved and stor...

Custom Modules (4)

НазваSystem IDОписКонфігураціяПовертає
Custom Modules Setaction_custom_modules__setCreates a new custom module instance in the database. The action collects field values from user ...{ "module_name": "", "bot_id": null, "fields": null, "set_to": null }success - Custom module instance was successfully created...
Custom Modules Updateaction_custom_modules__updateUpdates an existing custom module instance in the database. The action retrieves the instance by ...{ "module_name": "", "bot_id": null, "fields": null, "set_to": null }success - Custom module instance was successfully updated...
Custom Modules Getaction_custom_modules__getRetrieves a custom module instance from the database based on filters. The action searches for a ...{ "module_name": "", "bot_id": null, "filters": null, "order": null, "set_to"...success - Custom module instance was successfully retriev...
Custom Modules Exportaction_custom_modules__exportExports custom module instances to a file in various formats (CSV, JSON, etc.). The action retrie...{ "module_name": "", "bot_id": null, "format": "csv", "filename": "filename",...success - File was successfully exported and file URL sto...

Esputnik (1)

НазваSystem IDОписКонфігураціяПовертає
Esputnik Push Contactaction_esputnik__push_contactPushes contact information to the Esputnik email marketing service. The action sends the current ...{}success - Request was successfully sent to Esputnik endpo...

Files (1)

НазваSystem IDОписКонфігураціяПовертає
Files Getaction_files__getRetrieves file information for the current user from the file manager database. The action search...{ "name": null }success - Files were found and stored in the 'files' cons...

Interval (4)

НазваSystem IDОписКонфігураціяПовертає
Interval Endaction_interval__endStops and removes a specific inactivity timer for the current user. The action clears the timer f...{}Returns undefined - Timer was successfully stopped and re...
Interval End Allaction_interval__end_allStops and removes all inactivity timers for the current user across all sections. The action clea...{}success - All timers were successfully stopped and removed
Interval Startaction_interval__startStarts a timer to monitor user inactivity and automatically route users to different scenario nod...{ "type": "inactive", "tick": 30, "end": null }error - Action failed due to missing parameters or invali...
Interval Lastaction_interval__lastReturns the user to the last scenario position before an inactivity timer triggered. The action u...{}Returns undefined - Action completes silently

Language (2)

НазваSystem IDОписКонфігураціяПовертає
Language Setaction_language__setSets the user's selected language code. The action validates the language code against available ...{}success - Language was successfully set and validated
Language Getaction_language__getRetrieves the currently selected language code for the user. The action checks user constants and...{}Returns the language code - Language code such as "en", ...

Loop (2)

НазваSystem IDОписКонфігураціяПовертає
Loop Startaction_loop__startStarts iterating over an array of data, processing each item sequentially. The action initializes...[]success - Loop successfully started and first item is ava...
Loop Endaction_loop__endChecks if the loop iteration is complete or if more items need to be processed. The action verifi...{}success - Loop is complete, all items have been processed

Operator Panel (4)

НазваSystem IDОписКонфігураціяПовертає
Operator Panel Connect To Operator With Msgaction_operator_panel__connect_to_operator_with_msgCreates a new chat room in the operator panel and connects the user to an operator, optionally se...{ "subject_alias": null, "auto_connect_operator": false, "assigned_operator":...success - Chat room was successfully created and user con...
Operator Panel Clear Dataaction_operator_panel__clear_dataClears all user constants from the current state. The action resets the const object to an empty ...{}Returns undefined - Action completes silently
Operator Panel Nps Confirm Answeraction_operator_panel__nps_confirm_answerSaves NPS (Net Promoter Score) survey answers to the database. The action collects all non-empty ...{}success - NPS answers were successfully saved to database
Operator Panel Get Last Dialogaction_operator_panel__get_last_dialogRetrieves the complete dialog (messages and participants) from the last chat room for the current...{ "format": "json", "set_to": null }success - Dialog was successfully retrieved and stored in...

Registered Users (3)

НазваSystem IDОписКонфігураціяПовертає
Registered Users Check Phoneaction_registered_users__check_phoneValidates and normalizes phone numbers for user registration. The action extracts phone numbers f...{}success - Phone number was successfully extracted and nor...
Registered Users Setaction_registered_users__setCreates or updates a registered user in the database. The action collects registration data from ...{ "check_by_phone": false, "active": 1, "anonym": 0 }success - User was successfully created or updated in dat...
Registered Users Getaction_registered_users__getRetrieves a registered user from the database and loads their data into constants. The action fin...{ "check_by_phone": false }success - User was successfully found and data loaded int...

Schedule (1)

НазваSystem IDОписКонфігураціяПовертає
Schedule Checkaction_schedule__checkChecks if the current time falls within specified working hours and weekday constraints. The acti...{ "morning_time": null, "evening_time": null, "weekends": null, "timezone": "...success - Current time is within working hours and not on...

Statistic (1)

НазваSystem IDОписКонфігураціяПовертає
Statistic Setaction_statistic__setSaves NPS (Net Promoter Score) or quality survey statistics to MongoDB. The action retrieves the ...{ "type": "nps" }success - Statistics were successfully saved to database

Subscription (3)

НазваSystem IDОписКонфігураціяПовертає
Subscription Setaction_subscription__setSubscribes the user to a broadcast topic. The action calls the broadcast module's subscribe funct...{ "template_id": null, "topic_id": null, "time": null }success - User was successfully subscribed to the topic
Subscription Removeaction_subscription__removeUnsubscribes the user from one or all broadcast topics. The action calls the broadcast module's u...{ "topic_id": "*" }success - User was successfully unsubscribed from topic
Subscription Checkaction_subscription__checkChecks if the user is subscribed to a specific broadcast topic. The action calls the broadcast mo...{ "topic_id": null }success - User is subscribed to the specified topic

Testing (1)

НазваSystem IDОписКонфігураціяПовертає
Testing Searchaction_testing__searchChecks if the current chat_id exists in a provided array of chat_ids. The action is used for test...{ "chat_id": [] }success - Current chat_id was found in the array and user...

Widget (1)

НазваSystem IDОписКонфігураціяПовертає
Widget Calloutaction_widget__calloutSends a callout notification to the widget interface via Socket.IO. The action emits a calloutFro...{ "text": "" }ok - Callout was successfully sent to widget

Примітки

  • Конфігурація — короткий опис основних параметрів
  • Повертає — тип значення, яке повертає action (може використовуватися для умовних переходів)

Пов'язані матеріали

  • ActionJail модуль — створення та керування кастомними actions
  • Створити кастомний action
  • Використати action в Scenario Dialog
  • Що таке actions та як вони працюють