🎙️ VoiceFlow AI: Telegram + Deepgram + OpenAI + Supabase audio assistant
Needs changesWhat 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).
- Is Voice Message? (If): checks a condition and branches into true / false
- Prepare Voice Message Data (Edit Fields (Set)): sets 5 fields: user_id, chat_id, voice_file_id…
- Prepare Text Message Data (Edit Fields (Set)): sets 5 fields: user_id, chat_id, message_text…
- Get File Path (HTTP Request): calls an HTTP API
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Knowledge base); memory: Telegram Memory
- Download Voice File (HTTP Request): calls an HTTP API
- Was Voice Input? (If): checks a condition and branches into true / false
- Transcribe with Deepgram (HTTP Request): calls api.deepgram.com (POST)
- Generate Audio Response (HTTP Request): calls api.deepgram.com (POST)
- Send Text Response (Telegram): uses Telegram
…plus 2 more steps. See the full node list below.
Services it uses
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.0 | Replace 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)
- HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Supabase Tool
n8n-nodes-base.supabaseTool - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent - If
n8n-nodes-base.if - Telegram Trigger
n8n-nodes-base.telegramTrigger - Telegram
n8n-nodes-base.telegram
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,…