Templates / Build a voice & text Telegram Bot with GPT-4.1-Mini and Gemini transcription

Build a voice & text Telegram Bot with GPT-4.1-Mini and Gemini transcription

Ready for 3.0

by Hussam Muhammad Kazim · 374 views · created 2025-12-21 · Support Chatbot, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 14 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenAI Chat Model, Google Gemini and OpenAI and 1 more.

How it runs

Trigger: On Telegram events (message).

  1. If: checks a condition and branches into true / false
  2. Get a file (Telegram): work with file
  3. Guardrails: uses Guardrails, with model: OpenAI Chat Model
  4. Transcribe a recording (Google Gemini): work with audio
  5. AI Agent: runs an AI agent, with model: OpenAI Chat Model; memory: Simple Memory
  6. Send a text message (Telegram): uses Telegram
  7. AI Agent: runs an AI agent, with model: OpenAI Chat Model; memory: Simple Memory
  8. Send a text message (Telegram): uses Telegram
  9. Generate audio (OpenAI): work with audio
  10. Send an audio file (Telegram): send audio

Services it uses

TelegramOpenAI Chat ModelGoogle GeminiOpenAIGuardrails

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

How it works: This Telegram automation works with voice and text messages given to the Telegram bot, and it returns the response in voice form if the input is in voice form. If the input is in text form, it will return a response in text form. Use Cases: -…

Excerpt from Hussam Muhammad Kazim's description on n8n.io.

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.