info@garnet-lab.com
РУССКИЙ
+7 495 414 18 36

3 minutes

Voice Telegram bot for creating tasks in Bitrix24

Автор статьи

Глеб Антоненко

Why do you needTelegram bot

The main use of the voice Telegram bot for setting tasks in Bitrix24 issaving you time. Ease and ease of use are a bonus.

 

The need was born on the basis that often while driving or immediately after a meeting, I wanted to be able to quickly capture information in the form of a task and transfer it to work.

So we came up with this scheme⬇️

Scheme of work

  • We record a voice message in Telegram;
  • The bot decrypts the audio message into text;
  • Based on the text in Bitrix24, a task is created;
  • Additionally, an mp3 file with a voice message is attached to the task.
 

Consider step by step how this bot works:

  1. In the user profile, in a special field, you need to specify the nickname Telegram
    1.  
  1. Recording a voice message in Telegram
    1.  
  1. The bot sends a message that the task has been created with a link to it in Bitrix24.
 
 

The task has a message text and an attached voice file.

The deadline is set 3 days from the current date.

The default responsible initiator of the message. To change the responsible, just follow the link and select the desired employee.

🗣
We are working on adding the ability to set any other employee as responsible by voice.
This chatbot can be linked to a new or existing chat, as well as a group in Telegram, where there are many participants and each of them will also have the opportunity to use the bot.
 

If you missed 1 point and did not specify the user's nickname in Bitrix24, the bot will give an error.

 

Technical details

The application is on a separate server. Chatbot written in Python.

The bot monitors the voice messages in the chat and uses the Google Speech-to-Text service to transcribe the messages into text.

Then, using the Rest API, Bitrix24 finds a user with a nickname from Telegram on the portal, uploads the audio file to this user's Disk, and creates a task to which it adds this file and the text of the message.

 

If you want to implement this or another development, we will be happy to help with this!

Have questions or need to find a solution to Your problem?

Leave a request by filling out the feedback form. Our expert will contact you as soon as possible