Bots in the Interaction System | 1C: Through the Looking Glass


This text is an announcement of latest performance.
It isn’t beneficial to make use of the content material of this text to grasp the brand new performance.
A full description of the brand new performance might be supplied within the documentation for the corresponding model.
An entire checklist of adjustments within the new model is supplied within the v8Update.htm file.

Carried out in model

We proceed to develop the Interplay System in accordance with our imaginative and prescient of product prospects and taking into consideration consumer feedback. To help a wider set of eventualities for automating enterprise processes utilizing the Interplay System, in model 8.3.18 there might be a brand new configuration object – a bot.

The interplay system is greater than only a messenger. As a result of availability of the Interplay System within the 1C improvement language, a variety of eventualities for utilizing the Interplay System turns into accessible for automating a wide range of processes (examples).

In model 8.3.17, we’ve got applied integration with the Telegram messenger and the VKontakte social community (extra here within the applicable part). This made it potential for “exterior” customers to speak with the configuration customers in relation to the 1C configuration. So, for instance, an organization utilizing a 1C configuration (for instance, UNF) can settle for orders for its merchandise via the Telegram bot and / or the VKontakte group and conduct two-way communication with “exterior” interlocutors.

Previous to model 8.3.18, there have been three choices for speaking the applying with the consumer via the Interplay System:

  • Shopper-side handler for sending a message (the applying might parse within the handler what the consumer wrote and react accordingly)
  • Shopper-side new message handler in a particular thread
  • A scheduled job on the server that selects all new messages and analyzes their textual content. However this feature might be triggered with a sure delay brought on by the schedule of the scheduled job.

In model 8.3.18, a brand new metadata object will seem – a bot (full identify – CollaborationSystemBot), which has a server module with a message receiving occasion handler. The bot lets you react in actual time to messages acquired by it via the Interplay System.

The bot within the screenshot beneath shows the speed of the foreign money specified within the message, receiving it utilizing web service RBC web site.

This performance made it potential to implement a variety of new eventualities. For instance, you may create a bot that can obtain messages from customers (together with via integrations with Telegram, VKontakte) on weekends and holidays, when there isn’t a one within the workplace. Or a bot that analyzes the textual content of a message for the presence of key phrases and, based mostly on the outcomes of the evaluation, redirects the message to 1 or one other worker.

For the bot to work, you want:

  • Within the client-server model – a working server
  • Within the file model – a working laptop with a operating session

Tags: Interplay System 8.3.18

Inform mates:


Related Articles

Latest Articles