Build an Intelligent Voice AI Chatbot with ElevenLabs and OpenAI
detail.loadingPreview
This workflow empowers you to create sophisticated voice-enabled AI chatbots using ElevenLabs for natural speech and OpenAI for intelligent responses. It integrates a Retrieval Augmented Generation (RAG) system with Qdrant and Google Drive, allowing your AI to provide accurate, context-aware answers based on your unique data.
About This Workflow
Unlock the power of conversational AI by deploying a Voice RAG Chatbot that transforms how users interact with information. This n8n workflow seamlessly orchestrates ElevenLabs for lifelike voice synthesis and OpenAI for cutting-edge language processing. By leveraging a Qdrant vector database filled with content from your Google Drive, the chatbot provides highly accurate and contextually relevant spoken answers, moving beyond generic responses to deliver personalized and efficient interactions. Ideal for enhancing customer support, internal knowledge access, or interactive product guides.
Key Features
- Voice-Enabled Interaction: Integrates with ElevenLabs for natural language voice input and output, creating a truly conversational AI experience.
- Retrieval Augmented Generation (RAG): Provides accurate and context-rich responses by retrieving information from your Qdrant vector database, ensuring factual accuracy.
- Intelligent AI Processing: Harnesses OpenAI's advanced models for understanding complex queries and generating coherent, relevant answers.
- Automated Data Ingestion: Automatically downloads and processes documents from Google Drive into your vector store, keeping your knowledge base up-to-date with minimal effort.
- Customizable AI Agent: Define specific roles and prompts for your AI agent within ElevenLabs and n8n to tailor its personality, expertise, and interaction style.
How To Use
- Configure ElevenLabs Agent: Create an agent in ElevenLabs, define its 'First message' and 'System Prompt' (e.g., a specific persona like a waiter). Add a Webhook tool named appropriately (e.g., "test_chatbot_elevenlabs") pointing to your n8n workflow's webhook URL (method POST). Enable 'Body Parameters' and insert a string data type called
questionwith description "user question". - Set up Qdrant for Data Storage: Configure the
Create collectionandRefresh collectionHTTP Request nodes in n8n to interact with your Qdrant instance. Replace placeholders likeQDRANTURLandCOLLECTIONwith your actual Qdrant endpoint and desired collection name. Ensure appropriate HTTP Header Authentication is set up for Qdrant. - Ingest Your Knowledge Base: Set up the Google Drive nodes (
Get folder,Download Files) to fetch your relevant documents (e.g., from a specific folder like "test-whatsapp"). Connect these to theDefault Data Loaderto prepare the text. This will then flow through a Text Splitter (implied) toEmbeddings OpenAIfor vector generation, and finally to theQdrant Vector Storenode for storage. - Connect AI Agent: Ensure the
AI Agentnode receives input from the ElevenLabs webhook (via{{ $json.body.question }}) and utilizes theVector Store Tool(which connects toQdrant Vector StoreandEmbeddings OpenAI) for Retrieval Augmented Generation. - Test and Deploy: After configuring all necessary credentials (OpenAI, Qdrant, Google Drive), test the workflow in n8n and the AI agent in ElevenLabs. When you ask a question to the voice agent, the n8n webhook will activate, the AI Agent will process the question using your data, generate a response, and send it back to ElevenLabs for voice output.
Apps Used
Workflow JSON
{
"id": "f79568e7-b5b5-4ee1-af49-75553b0aa477",
"name": "Build an Intelligent Voice AI Chatbot with ElevenLabs and OpenAI",
"nodes": 23,
"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: f79568e7-b5b5...
About the Author
SaaS_Connector
Integration Guru
Connecting CRM, Notion, and Slack to automate your life.
Statistics
Related Workflows
Discover more workflows you might like
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.
Automate Getty Images Editorial Search & CMS Integration
This n8n workflow automates searching for editorial images on Getty Images, extracts key details and embed codes, and prepares them for seamless integration into your Content Management System (CMS), streamlining your content creation process.