
Curated by n8n Markets team
Last updated: July 16, 2026
This workflow creates a full-featured, multi-modal Telegram AI Assistant capable of processing both incoming text and voice messages seamlessly. When a user sends a text message or a voice note via Telegram, the workflow automatically detects the input type. Audio files are sent through a transcription step, while text messages bypass directly to the core engine. The input is then processed by an n8n AI Agent integrated with Google Gemini as its central language model. To expand its capabilities, the AI Agent is equipped with integrated tools: conversational memory, Wikipedia lookup, a mathematical calculator, and command execution capabilities. Depending on the conversation's context, the response is routed either as a standard Telegram text reply or processed through an external Text-to-Speech (TTS) API pipeline to generate and transmit a voice response back to the user.
n8n Instance: Self-hosted n8n (v1.x or higher) or n8n Cloud. Telegram Bot Credentials: A valid Bot Token obtained via @BotFather. Google Gemini API Key: An active API key from Google AI Studio. Text-to-Speech Endpoint: Access/API key for an external TTS provider (e.g., Qwen TTS API or similar endpoint as configured in the HTTP nodes). Environment Permissions: Proper permissions enabled if using the local CMD node execution feature.
🚀 How to Install/Use Import the Workflow: Copy the workflow JSON. Open n8n, click New Workflow, click the top-right menu (...), and select Import from JSON. Configure Credentials: Set up your Telegram Bot API credentials under the Telegram Trigger, Get a file, and Send Audio/Text nodes. Add your Google AI (Gemini) API key inside the Google Model node. Configure authorization header/keys in the HTTP Request (TTS) nodes for your text-to-speech provider. Set Up Telegram Webhook: Activate the workflow toggle in n8n to enable the Telegram trigger listener. Run & Test: Open your Telegram bot and send a text message or record a voice note to test both response pathways.
Included in Builder Pro — $19/mo, 4,177 premium workflows
Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.
100% Secure Checkout
Refund requests within 7 days of a new subscription
0 reviews
No reviews yet.
Log in to ask a question.
No questions yet. Be the first to ask!