Telegram AI Chatbot with Voice and Text Processing

somdn_product_page

This n8n workflow creates a sophisticated Telegram chatbot that can handle both text and voice messages, process them with an AI language model, and respond intelligently. When a message is received, the bot identifies whether it’s text or voice. If it’s a voice message, the workflow downloads the voice file and transcribes it into text using OpenAI’s transcription capabilities. The message content is then sent to an AI model (GPT-4) to generate an appropriate response, which is stored in a memory buffer for context awareness. Finally, the bot replies to the user with the AI-generated message, formatted in HTML, and indicates its activity with a ‘typing…’ status. This setup is ideal for building interactive, multilingual chatbots or customer service assistants on Telegram, leveraging AI to enhance user engagement.

Node Count

11 – 20 Nodes

Nodes Used

@n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmChatOpenAi, @n8n/n8n-nodes-langchain.memoryBufferWindow, @n8n/n8n-nodes-langchain.openAi, set, stickyNote, switch, telegram, telegramTrigger

Reviews

There are no reviews yet.

Be the first to review “Telegram AI Chatbot with Voice and Text Processing”

Your email address will not be published. Required fields are marked *