Reply to Telegram voice messages with Smallest.ai and Google Gemini
UnknownUnknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.
Community nodes
These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
n8n-nodes-smallestai(Transcribe message)
Nodes used (7)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - If
n8n-nodes-base.if - Smallestai
n8n-nodes-smallestai.smallestai - Telegram
n8n-nodes-base.telegram - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Telegram Tool
n8n-nodes-base.telegramTool
What it does
Quick Overview This workflow listens for Telegram bot messages, detects voice audio, downloads the audio file, transcribes it with Smallest.ai, and uses a Google Gemini–powered AI agent to draft a helpful reply that is sent back to the same Telegram chat. How it works 1. Triggers when a new message is received by your Telegram bot. 2. Checks whether the incoming message contains a voice/audio attachment. 3. Downloads the audio file from Telegram using the message’s file ID. 4. Sends the audio to Smallest.ai Speech-to-Text to generate a transcription. 5. Passes the transcription and chat ID to a LangChain AI agent backed by Google Gemini to generate a suggested reply. 6. Sends the formatted response back to the originating Telegram chat. Setup 1. Create a Telegram bot with BotFather, then add your Telegram credentials/token to the Telegram Trigger, file download, and Telegram reply tool nodes. 2. Add your Smallest.ai API credentials to the transcription step. 3. Add your Google Gemini (Google AI) credentials to the chat model used by the AI agent. 4. Start the workflow and message your Telegram bot with a voice note to test the end-to-end transcription and reply.