Telegram AI bot assistant: ready-made template for voice & text messages

Go to Workflow
37,867 views
Built by Yulia Yulia
Created on June 05, 2026

Description

Free template for voice & text messages with short-term memory

This n8n workflow template is a blueprint for an AI Telegram bot that processes both voice and text messages. Ready to use with minimal setup.

The bot remembers the last several messages (10 by default), understands commands and provides responses in HTML.

You can easily swap GPT-4 and Whisper for other language and speech-to-text models to suit your needs.
Core Features
Text: send or forward messages
Voice: transcription via Whisper

Extend this template by adding LangChain tools.
Requirements
Telegram Bot API
OpenAI API (for GPT-4 and Whisper)

💡 New to Telegram bots? Check our step-by-step guide on creating your first bot and setting up OpenAI access.
Use Cases
Personal AI assistant
Customer support automation
Knowledge base interface
Integration hub for services that you use:
Connect to any API via HTTP Request Tool
Trigger other n8n workflows with Workflow Tool

Nodes Used (5)

AI Agent
@n8n/n8n-nodes-langchain.agent
OpenAI
@n8n/n8n-nodes-langchain.openAi
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
Telegram
n8n-nodes-base.telegram