AutomationMart
Home/Browse/๐ŸŽ™๏ธ VoiceFlow AI: Telegram + Deepgram + OpenAI + Supabase audio assistant
n8n

๐ŸŽ™๏ธ VoiceFlow AI: Telegram + Deepgram + OpenAI + Supabase audio assistant

n8nn8n16 modulesv1.0
DiscordOpenAITelegram

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, multilingual support, or hands-free customer assistance. What problem does this solve? - Enables natural voice conversations with AI - Breaks down language and accessibility barriers - Provides instant voice responses to custome

At a glance

๐ŸŽ™๏ธ VoiceFlow AI: Telegram + Deepgram + OpenAI + Supabase audio assistant is a ready-made n8n workflow you import as a workflow JSON file โ€” no build required. It connects Discord, OpenAI, Telegram. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Discord, OpenAI, Telegram
Modules
16
Price
Free
Version
v1.0
๐ŸŽ™๏ธ VoiceFlow AI: Telegram + Deepgram + OpenAI + Supabase audio assistant workflow diagram

About this workflow

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, multilingual support, or hands-free customer assistance. What problem does this solve? - Enables natural voice conversations with AI - Breaks down language and accessibility barriers - Provides instant voice responses to customer queries - Reduces typing requirements for users - Offers 24/7 voice-based customer support - Maintains conversation context across voice interactions What this workflow does: 1. Receives voice messages via Telegram bot 2. Transcribes audio using Deepgram's advanced speech-to-text 3. Processes transcribed text through AI agent with knowledge base access 4. Generates intelligent responses based on conversation context 5. Converts AI response to natural-sounding speech using Deepgram TTS 6. Sends audio response back to user via Telegram 7. Maintains conversation memory for contextual interactions ๐Ÿ”ง Technical Architecture Core Components: - Telegram Bot: Receives and sends voice messages - Deepgram STT: Transcribes voice to text with high accuracy - OpenAI GPT: Processes queries and generates responses - Supabase Knowledge Base: Stores and retrieves business information - Memory Management: Maintains conversation context - Deepgram TTS: Converts text responses to natural speech Data Flow: 1. Voice Message โ†’ Telegram API โ†’ File Download 2. Audio File โ†’ Deepgram STT โ†’ Transcript 3. Transcript โ†’ AI Agent โ†’ Response Generation 4. Response โ†’ Deepgram TTS โ†’ Audio File 5. Audio Response โ†’ Telegram โ†’ User ๐Ÿ› ๏ธ Setup Instructions Prerequisites 1. Telegram Bot Token - Create bot via @BotFather - Get bot token and configure webhook 2. Deepgram API Key - Sign up at deepgram.com - Get API key for STT and TTS services - Note: Currently hardcoded in workflow 3. OpenAI API Key - OpenAI account with API access - Configure in OpenAI Chat Model node 4. Supabase Database - Create Supabase project - Set up knowledgebase table - Configure API credentials Step-by-Step Setup 1. Configure Telegram Bot 2. Set Up Deepgram Integration 3. Configure Knowledge Base 4. Customize AI Prompts - Update system message in "Telegram AI Agent" node - Adjust temperature and max tokens in OpenAI model - Configure memory session keys 5. Test End-to-End Flow - Send test voice message to bot - Verify transcription accuracy - Check AI response quality - Validate audio output clarity ๐ŸŽ›๏ธ Configuration Options Voice Recognition Settings - Model: nova-2 (Deepgram's latest model) - Language: English (en) - can be changed - Smart Format: Enabled for better punctuation AI Response Settings - Temperature: 0.3 (conservative responses) - Max Tokens: 100 (adjust based on needs) - Memory: Session-based conversation context Text-to-Speech Settings - Model: aura-2-thalia-en (natural female voice) - Alternative voices: Available in Deepgram TTS API - Audio Format: Optimized for Telegram ๐Ÿ”’ Security Considerations API Key Management Data Privacy - Voice messages are processed by external APIs - Consider data retention policies - Implement user consent mechanisms - Ensure GDPR compliance if applicable ๐Ÿ“Š Monitoring & Analytics Key Metrics to Track - Voice message processing time - Transcription accuracy rates - AI response quality scores - User engagement metrics - Error rates and failure points Recommended Logging ๐Ÿš€ Customization Ideas Enhanced Features 1. Multi-language Support - Add language detection - Support multiple TTS voices - Translate responses 2. Voice Commands - Implement wake words - Add voice shortcuts - Create voice menus 3. Advanced AI Features - Sentiment analysis - Intent classification - Escalation triggers 4. Integration Expansions - Connect to CRM systems - Add calendar scheduling - Integrate with help desk tools Performance Optimizations - Implement audio preprocessing - Add response caching - Optimize API call sequences - Implement retry mechanisms ๐Ÿ› Troubleshooting Common Issues Voice Not Transcribing - Check Deepgram API key validity - Verify audio format compatibility - Test with shorter voice messages Poor Audio Quality - Adjust TTS model settings - Check network connectivity - Verify Telegram audio limits AI Responses Too Generic - Improve knowledge base content - Adjust system prompts - Increase context window Memory Not Working - Check session key configuration - Verify user ID extraction - Test conversation continuity ๐Ÿ’ก Best Practices Voice Interface Design - Keep responses concise and clear - Use natural speech patterns - Avoid technical jargon - Provide clear next steps Knowledge Base Management - Regular content updates - Clear categorization - Keyword optimization - Quality assurance testing User Experience - Fast response times (<5 seconds) - Consistent voice personality - Graceful error handling - Clear capability communication ๐Ÿ“ˆ Success Metrics Technical KPIs - Response time: <3 seconds average - Transcription accuracy: >95% - User satisfaction: >4.5/5 - Uptime: >99.5% Business KPIs - Customer query resolution rate - Support ticket reduction - User engagement increase - Cost per interaction decrease ๐Ÿ”„ Maintenance Schedule Daily - Monitor error logs - Check API rate limits - Verify service uptime Weekly - Review conversation quality - Update knowledge base - Analyze usage patterns Monthly - Performance optimization - Security audit - Feature updates - User feedback review ๐Ÿ“š Additional Resources Documentation Links - Deepgram STT API - Deepgram TTS API - Telegram Bot API - OpenAI API - Supabase Documentation Community Support - n8n Community Forum - Telegram Bot Developers Group - Deepgram Developer Discord - OpenAI Developer Community --- Note: This template requires active API subscriptions for Deepgram and OpenAI services. Costs may apply based on usage volume.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n โ†’ click the menu โ†’ Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Extract structured invoice data from JotForm PDFs with GPT-4.1-mini & Sheets

Who this is for This workflow is designed for Finance teams, accounting professionals, and automation engineers. Use Case: Automates processing of invoice submissions received via JotForm. Core Function: Extracts structured data such as: Invoice number Client information Totals and tax amounts Line items or services Key Benefit: Eliminates manual data entry, saving time and reducing human error. Automation Goal: Streamline document handling with AI-powered PDF parsing and structured o

Free

Fetch dataset items from Apify and create a completion with ChatGPT, then add a row to Google Sheets

Automatically fetch dataset items from Apify, generate a completion with ChatGPT, and add the results to Google Sheets for streamlined data management.

Free

Automatic backup of workflows to GitHub with email/telegram notifications

Why? Have you ever updated your n8n instance, or moved from one instance to the other and lost all your workflows? I suggest NOT DOING THAT! Especially if you have very complex workflows that would take days to recreate. Make sure you have a backup process in place! How it works 1. Get all workflows from an n8n instance using your n8n API 2. Formats the workflows cleanly 3. Creates a backup package 4. Checks if target GitHub repository exists, if not creates it 5. Uploads a manifest 6. Uploads a

Free

App Store Review Aggregator Using BrowserAct with Auto-Notification

Automate app review monitoring across both major app stores with this powerful workflow. Stop manually checking reviews and get instant notifications when users leave feedback. WHAT IT DOES: - Scrapes reviews from Google Play Store and Apple App Store simultaneously - Archives all reviews in Google Sheets for historical analysis - Sends instant alerts to your Telegram channel - Runs automatically on your schedule (hourly, daily, or on-demand) - Requires no API keys or app store credentials HOW

Free

Daily crypto yield monitor: Track top Binance Earn APY rates with earnings calculator

Get top Binance Earn yields sent to Email This workflow automates the tracking of passive income opportunities on Binance by fetching real-time Flexible Earn APY rates, calculating potential returns, and delivering a daily summary to your inbox. Manually checking crypto savings rates is tedious. This template handles the complex authentication required by Binance (HMAC-SHA256 signing), filters through hundreds of assets to find the highest yields, and calculates exactly how much you would ea

Free

Generate content ideas with AI: Scrape Google & Facebook posts to Slack

Description This workflow automates the process of finding new content ideas by scraping trending news and social media posts, analyzing them with AI, and delivering a summarized report to Slack. It is perfect for content marketers, social media managers, and strategists who spend hours researching trending topics manually. Who is this for Content Marketers: To discover trending topics for blogs or newsletters. Social Media Managers: To keep up with competitor activity or industry news. Mar

Free

Convert markdown content to Google Docs document with automatic formatting

This workflow is perfect for technical writers, content creators, marketers, and developers who write in Markdown but need to collaborate or publish using Google Docs format. Ideal for teams that want to streamline their content creation and review process. What problem does this workflow solve? Manual conversion from Markdown to Google Docs is time-consuming and often loses formatting. This workflow eliminates the tedious copy-paste process, automatically preserves formatti

Free

Analyze cryptocurrency market data with HTX API, GPT-4o and Telegram

A fully autonomous, HTX Spot Market AI Agent (Huobi AI Agent) built using GPT-4o and Telegram. This workflow is the primary interface, orchestrating all internal reasoning, trading logic, and output formatting. --- โš™๏ธ Core Features ๐Ÿง  LLM-Powered Intelligence: Built on GPT-4o with advanced reasoning โฑ๏ธ Multi-Timeframe Support: 15m, 1h, 4h, and 1d indicator logic ๐Ÿงฉ Self-Contained Multi-Agent Workflow: No external subflows required ๐Ÿงฎ Real-Time HTX Market Dat

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint โ€” instant download
  • Setup guide PDF included
  • 5 downloads ยท valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

โ‚น2,499/ session
3 hrs ยท video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free