Templates / 🎙️ VoiceFlow AI: Telegram + Deepgram + OpenAI + Supabase audio assistant

🎙️ VoiceFlow AI: Telegram + Deepgram + OpenAI + Supabase audio assistant

Needs changes

by RedOne ✓ · 2,356 views · created 2025-06-04 · Support Chatbot, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 16 nodes and runs on Telegram events (message). Along the way it connects Supabase, OpenAI Chat Model and Telegram. It also calls api.deepgram.com over HTTP.

How it runs

Trigger: On Telegram events (message).

  1. Is Voice Message? (If): checks a condition and branches into true / false
  2. Prepare Voice Message Data (Edit Fields (Set)): sets 5 fields: user_id, chat_id, voice_file_id…
  3. Prepare Text Message Data (Edit Fields (Set)): sets 5 fields: user_id, chat_id, message_text…
  4. Get File Path (HTTP Request): calls an HTTP API
  5. AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Knowledge base); memory: Telegram Memory
  6. Download Voice File (HTTP Request): calls an HTTP API
  7. Was Voice Input? (If): checks a condition and branches into true / false
  8. Transcribe with Deepgram (HTTP Request): calls api.deepgram.com (POST)
  9. Generate Audio Response (HTTP Request): calls api.deepgram.com (POST)
  10. Send Text Response (Telegram): uses Telegram

…plus 2 more steps. See the full node list below.

Services it uses

SupabaseOpenAI Chat ModelTelegram

HTTP calls to: api.deepgram.com

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 AI Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (9)

From the author

🎙️ AI Audio Assistant with Voice-to-Voice Response Who is this for? Businesses, customer service teams, content creators, and organizations who want to provide intelligent voice-based interactions through Telegram. Perfect for accessibility-focused services,…

Excerpt from RedOne'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.