📜 ⬆️ ⬇️

Chat bots: interlocutors for all occasions



Recently, chat bots have gained serious popularity, turning from entertainment for geeks into almost must have-features in various messengers, social networks and websites. And in many cases, chat bots are used not to entertain an idle public, but to solve very serious business problems. They simply do it in a more friendly and confidential manner, in a completely natural form of dialogue for a person. Even more: in the form of individual correspondence. And what can be more natural today, in the era of the Internet, instant messengers and a smartphone in every pocket? Therefore, we also thought about how to equip our cloud service “Bitrix24” to organize the work of companies with such a useful and popular tool. And a little more than a month ago they released their own platform for creating chat bots.

A chat bot is an application that can support a written dialogue with a user, select answers from a database and respond to a certain set of commands. Today, chat bots from the “client-client” segment are mainly represented on the market. That is, these are communication tools (and entertainment) between ordinary users. A platform adapted for solving business problems, much less.

What tasks can chat bots solve in the business segment?
')

Our bot platform


Our chat bot, using the technology of machine learning company "Nanosemantika", built into the service "Bitrix24" by default. Also within the framework of Bitrix24, two more chatbots work: Giphy, which finds animated gif-images at the request of the service user, and Counterparty Details, a chat bot that allows you to find the details of any company from the Federal Tax Service of Russia.

The bots developed by the company's partners can be found in the ready-made application store for Bitrix24 . We have identified a separate bot-section " Chat Bots ", in which 10 bots are already available for installation in Bitrix24.

Chat bot Martha




Martha is the interlocutor. She is our virtual assistant, developed jointly with the company Nanosemantika. Martha is able to keep up the conversation on common topics. It can help navigate the functionality of Bitrix24, tell you where to look for answers to specific questions, and recommend useful links. Martha can also remind you of meetings and perform some tasks.







Chat bot giphy




Giphy (Gifi) - entertaining bot. At the user's request, he finds and sends animated gifs on specified topics.

Chat bot CONTRACTING DETAILS




Counterparty Requisites is a classic business bot integrated with the database of the Federal Tax Service of Russia (the Federal Tax Service). He is able to search for companies from the list of the Federal Tax Service for the TIN, OGRN, company name or the name of the manager.

Bots from partners for "Bitrix24"


In the store of ready applications for Bitrix24, there are still useful bots - one of them, Translator , implemented by PWEB, can translate texts from one language to another and supports 63 languages. The other, OCR Bot from First open systems, is able to recognize scans of any documents and save them in RTF text format.

Bot Platform Features


In our bot platform, we implemented all the key points that have become the standard for chat bots today.

In particular:


Chat bot operation:

  1. The user writes a message in the chat
  2. A POST request is sent to the application server.
  3. The application processes it.
  4. Sends a command to Bitrix24 via REST API



The bots in Bitrix24 can not only respond to user actions, but also be active in initiating a session. For example, a user spoke with a bot and forgot about it, but after a while he may remind about himself.

What you need to develop your bot?


We tried to make the bot platform as simple as possible to ensure the lowest possible entry threshold for creating our own bots. We believe that we have completed the task, because on March 17 the first draft of documentation for external developers was published, and on March 18, the first partner bot was posted in the application store for Bitrix24.

The easiest way to write a bot on our platform is to download a demo bot (bot echotest that simply repeats everything you write to it) and modify it to suit your needs. This bot already has a full set of features, it is not a stripped-down version. It is enough to install it on your hosting, change the logic and publish it in the application catalog. A bot is provided in the form of a PHP file, but with the help of our API you can write your bot in any other language.



If you need a much wider or specific chat bot functionality, then you can use the SDK developed by our partner . It works perfectly and is suitable for solving your problems:


This tool is presented in the public domain. It has all the typical functionality: working with CRM, tasks, chats, users, etc. All code is written according to OOP principles and you can easily use it based on modern IDEs.

Platform documentation


At the moment we are compiling the final version of the documentation, but there is already a draft available and several articles on how to work with it.
The draft is available (and constantly updated) on our website for developers. Final documentation is planned for publication in the coming weeks.

You can register here: https://dev.bitrix24.ru/
Then read this message: https://dev.bitrix24.ru/company/personal/user/2664/blog/1024/

General documentation .
Formatting options .
"Rich" posts .
" Typing keyboard ."
Text commands .
Download demo-bots (We placed a test bot on BitBacket, you can read it on this link).

Source: https://habr.com/ru/post/282702/


All Articles