Templates / Reply to Telegram voice messages with Smallest.ai and Google Gemini

Reply to Telegram voice messages with Smallest.ai and Google Gemini

Unknown

by Zain Khan ✓ · 11 views · created 2026-07-03 · Support Chatbot, AI Chatbot

Unknown. 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).

Nodes used (7)

TelegramAI AgentGoogle Gemini Chat Model

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.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.