Automate Voice RAG Chatbot with ElevenLabs & OpenAI in n8n

This workflow automates a voice-based RAG (Retrieval-Augmented Generation) chatbot using ElevenLabs for voice interaction and OpenAI for AI intelligence, powered by a vector store for knowledge retrieval. It solves the problem of creating a conversational voice assistant that answers questions based on a custom document database, saving time on manual query handling and improving user interaction.
agent
vectorStoreQdrant
embeddingsOpenAi
+9
Workflow Identifier: 1277
NODES in Use: manualTrigger, httpRequest, googleDrive, vectorStoreQdrant, embeddingsOpenAi, lmChatOpenAi, agent, toolVectorStore, memoryBufferWindow, webhook, respondToWebhook, stickyNote
Automate Voice RAG Chatbot with n8n and OpenAI

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does

This workflow listens for voice questions through ElevenLabs voice AI agents.

It uses AI to understand questions, finds answers in your stored documents, and replies with spoken responses.

The main problem solved is saving time spent on answers that repeat the same questions again and again.

The result is faster and correct voice answers without needing extra staff.


Tools and Services Used

  • ElevenLabs: Creates voice agents for input and output.
  • OpenAI: Provides embeddings and language models for AI understanding and answering.
  • Qdrant Vector Database: Stores and searches embedded document knowledge.
  • Google Drive: Holds the informational documents for indexing.
  • n8n: Runs the automated workflow to connect services and process data.

How the Workflow Works

Inputs

  • Users speak questions to ElevenLabs’ voice AI agent.
  • Text form of user questions sent via webhook to n8n.
  • Documents stored in Google Drive used as knowledge base.

Processing Steps

Output

  • ElevenLabs voice agent speaks AI-generated answer to user.
  • Improved customer voice interaction quality at pizzeria or other businesses.

Beginner Step-by-Step: How to Use This Workflow in n8n

1. Import Workflow

  1. Download the workflow file using the Download button on this page.
  2. Go inside the n8n editor.
  3. Click “Import from File” and select the downloaded workflow file.

2. Configure Credentials and Settings

  1. Add OpenAI API Key in n8n credentials.
  2. Set Google Drive credentials to allow document access.
  3. Provide Qdrant HTTP API credentials and confirm QDRANTURL and COLLECTION names are accurate in all relevant nodes.
  4. Enter the ElevenLabs voice agent webhook URL into the Webhook node.

3. Adjust Necessary IDs and Parameters

  1. Update Google Drive folder ID in the Get folder node.
  2. Verify or change COLLECTION name in Qdrant-related nodes.
  3. Customise AI Agent prompt in the AI Agent node if needed.

4. Test and Activate

  1. Run the workflow manually once to ensure all API calls and nodes work correctly.
  2. Look for any errors and fix credential or configuration issues.
  3. Activate the workflow in n8n by toggling it to “active” so it listens continuously.

If using self-hosted n8n, consider self-host n8n for reliable uptime and access.


Customization Ideas

  • Change the AI Agent’s system prompt to fit your brand’s voice and style of answers.
  • Switch Google Drive folder ID in Get folder node to update your knowledge base.
  • Modify Token Splitter chunk size for bigger or smaller text pieces used in embeddings.
  • Change COLLECTION parameter for Qdrant to create multiple knowledge areas or test environments.
  • Adjust Window Buffer Memory to keep longer or shorter conversations in memory.

Troubleshooting

  • Issue: No requests received on Webhook node from ElevenLabs.
    Fix: Make sure the exact webhook POST URL is copied into ElevenLabs agent webhook settings with method POST.
  • Issue: Qdrant collection creation fails.
    Fix: Check QDRANTURL, API credentials, and headers in Create collection HTTP node.
  • Issue: OpenAI API quota limit reached.
    Fix: Look at OpenAI usage dashboard. Add delays or limit workflow calls if needed.
  • Issue: Empty or error response returned to ElevenLabs.
    Fix: Verify AI Agent output and Respond to ElevenLabs node data flow.

Pre-Production Checklist

  • Confirm all API keys for OpenAI, Qdrant, and Google Drive work.
  • Test webhook URL from ElevenLabs to n8n.
  • Ensure Qdrant collection is created, empty, and accessible.
  • Validate correct downloading and conversion of Google Drive documents.
  • Run test question through workflow and check response and speech output.

Deployment Guide

After testing, switch workflow to active in n8n dashboard.

Make sure webhook listens without interruption for voice inputs.

Check execution logs regularly to catch problems fast.

Set alerts if OpenAI or Qdrant failures or rate limits occur to keep service smooth.

If embedding ElevenLabs widget on a website, verify script loads and connects properly by replacing the agent ID correctly.


Summary of Results and Value

✓ Save daily hours by automating repeated customer question answers.

✓ Get faster, accurate voice responses powered by AI and your own documents.

✓ Improve customer experience at your business with hands-free voice help.

✓ Easily update and expand your knowledge base by changing documents or prompts.

→ Deploy this workflow inside n8n and connect your ElevenLabs agent for real-time voice Q&A.


Automate Voice RAG Chatbot with n8n and OpenAI

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Yes. You must replace all Qdrant HTTP requests and vector store nodes with those from the new vector database provider.
Yes. It uses OpenAI for embeddings and language model calls. Monitor usage to avoid overcharging.
Yes. Data exchanges use HTTPS and API keys are stored securely in n8n credentials.
Yes. Scalability depends on n8n plan and API limits. For higher volume, upgrade backend infrastructure.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.