Multilingual voice & text Telegram bot with ElevenLabs TTS and LangChain agents
Needs changesWhat this workflow does
This AI workflow has 15 nodes and runs on Telegram events (message). Along the way it connects Telegram, Google Gemini Chat Model, Groq Chat Model and Elevenlabs (community).
How it runs
Trigger: On Telegram events (message).
- Adds SessionId (Edit Fields (Set)): sets 1 field: sessionId
- Switch: routes items into 2 branches
- Get Voice File (Telegram): work with file
- Aggregate: combines items into one
- Transcribe ElevenLabs (Eleven Labs): speech to text
- Voice Assistant (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; memory: Voice Assistant Memory
- Edit Fields (Edit Fields (Set)): sets 3 fields: message.text, sessionId, voice
- If: checks a condition and branches into true / false
- Eleven Labs: work with speech
- Telegram: uses Telegram
…plus 2 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Voice Assistant (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Voice Assistant (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (12)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - Telegram
n8n-nodes-base.telegram - Eleven Labs
@elevenlabs/n8n-nodes-elevenlabs.elevenLabs - Aggregate
n8n-nodes-base.aggregate - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - AI Agent
@n8n/n8n-nodes-langchain.agent - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
From the author
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Telegram Voice AI Assistant This n8n template creates a multimodal Telegram bot that dynamically responds to users: - Replies with voice when receiving voice…