Chatbots in Open Channels: Overview of Methods

If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.

Chatbots in Open Channels help automate communication with customers by:

  • automatically responding to customer messages,
  • redirecting conversations to operators,
  • collecting customer data, such as names and emails.

Quick Navigation: All Methods

Connection of Chatbots with Other Entities

User. You can obtain the user ID using the methods user.get and user.search.

Chat. The methods imbot.message.* assist in sending, modifying, and deleting messages.

Open Channels. Chatbots can transfer conversations to another line using imopenlines.bot.session.transfer. Work with Open Channels should be done using the group of methods imopenlines.*.

How to Use Chatbots in Open Channels

  1. Register the chatbot using the method im.bot.register.

  2. Set up automatic responses and scenarios.

  3. Connect the chatbot to Open Channels.

Overview of Methods

Scope: imopenlines, imbot

Who can execute the method: any user

Method

Description

imopenlines.bot.session.message.send

Sends an automatic message in the dialogue

imopenlines.bot.session.operator

Switches the dialogue to a free operator

imopenlines.bot.session.transfer

Transfers the dialogue to an operator by ID or queue

imopenlines.bot.session.finish

Ends the dialogue

Continue Your Learning