Voice-Powered RAG Chatbot with ElevenLabs and OpenAI
detail.loadingPreview
Deploy a sophisticated voice-activated RAG (Retrieval Augmented Generation) chatbot that leverages ElevenLabs for natural speech and OpenAI for intelligent responses. This workflow seamlessly integrates with Qdrant for a customizable knowledge base, allowing your chatbot to deliver highly accurate and context-aware information through natural language voice interactions.
About This Workflow
Elevate your conversational AI strategy with this powerful n8n workflow, creating a dynamic voice chatbot. It combines the advanced speech synthesis of ElevenLabs for engaging audio interactions with the robust language capabilities of OpenAI for understanding and generating intelligent responses. At its core, a RAG system utilizes Qdrant as a vector database to store and retrieve specific company or domain knowledge, ingested directly from Google Drive documents. This ensures that your chatbot provides precise, data-backed answers rather than generic responses. Perfect for automating customer support, internal knowledge retrieval, or interactive voice agents.
Key Features
- Natural Voice Interaction: Powered by ElevenLabs for realistic text-to-speech and speech-to-text integration, providing a natural conversational experience.
- Contextual RAG System: Utilizes Qdrant and OpenAI embeddings to retrieve relevant information from a custom knowledge base, ensuring accurate and informed responses.
- Automated Knowledge Ingestion: Easily load and update your chatbot's knowledge base by fetching documents from Google Drive and processing them into vector embeddings.
- Dynamic AI Agent: An intelligent AI agent orchestrates the entire process, from understanding user queries to retrieving information and crafting a coherent response.
- Scalable & Customizable: Built on n8n, offering flexibility to adapt to various use cases and scale your voice AI capabilities.
How To Use
- Configure ElevenLabs Agent:
- Create an agent in ElevenLabs (e.g.,
test_n8n). - Set a "First message" and a "System Prompt" (e.g., defining its role as a waiter for a pizzeria).
- Add a Webhook Tool (e.g.,
test_chatbot_elevenlabs), providing the n8n webhook URL (POST method) and configuring aquestionbody parameter for user input.
- Create an agent in ElevenLabs (e.g.,
- Set Up Qdrant Vector Store:
- Update
QDRANTURLandCOLLECTIONplaceholders in the "Create collection" and "Refresh collection" HTTP Request nodes. - Configure Qdrant API credentials.
- Update
- Ingest Knowledge from Google Drive:
- Configure Google Drive credentials for the "Get folder" and "Download Files" nodes.
- Specify the folder ID (e.g.,
test-whatsapp) from which to retrieve documents. Documents will be converted totext/plainfor processing.
- Connect OpenAI Embeddings:
- Ensure your OpenAI API credentials are set up for the "Embeddings OpenAI" node. This will be used to create vector representations of your documents and user queries.
- Test the Workflow:
- Trigger the initial n8n workflow (e.g., via "When clicking ‘Test workflow’") to create/refresh your Qdrant collection and ingest data from Google Drive.
- Then, within n8n, click "Test workflow" on the main agent path.
- In ElevenLabs, click "Test AI agent" and speak your question. The n8n webhook will activate, process your question using the RAG system, and send the voice response back to ElevenLabs.
Apps Used
Workflow JSON
{
"id": "cd874a20-e6a5-4a0e-b73e-5c2b3f1f416c",
"name": "Voice-Powered RAG Chatbot with ElevenLabs and OpenAI",
"nodes": 8,
"category": "Operations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: cd874a20-e6a5...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Related Workflows
Discover more workflows you might like
Google Sheets to Icypeas: Automated Bulk Domain Scanning
This workflow streamlines the process of performing bulk domain scans by integrating your Google Sheets data directly with the Icypeas platform. Automate the submission of company names from your spreadsheet to Icypeas for comprehensive domain information, saving valuable time and effort.
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
On-Demand Microsoft SQL Query Execution
This workflow allows you to manually trigger and execute any SQL query against your Microsoft SQL Server database. Perfect for ad-hoc data lookups, administrative tasks, or quick tests, giving you direct control over your database operations.