This n8n workflow creates an intelligent Telegram chatbot that can handle text and voice messages, transcribe voice input, and respond with AI-generated messages. The process begins by listening for incoming Telegram messages, where it detects whether the message is text or voice. For voice messages, the workflow downloads the voice file and transcribes it into text using OpenAI’s transcription capabilities. The user’s message, whether text or transcribed voice, is then sent to an AI language model (GPT-4) to generate an intelligent reply. The AI’s response is stored in a window buffer to maintain context for ongoing conversations. Finally, the chatbot replies back to the user on Telegram, clearly indicating the type of message received and the AI’s reply. This workflow is particularly useful for building interactive, multimodal chatbots that support both text and voice inputs, ideal for customer engagement, virtual assistants, and support bots on Telegram.
Automated Telegram AI Chat Assistant with Voice Support
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.