AutomationMart
Home/Browse/Voice AI chatbot with OpenAI, RAG (Qdrant) & Guardrails for WordPress
n8n

Voice AI chatbot with OpenAI, RAG (Qdrant) & Guardrails for WordPress

n8nn8n27 modulesv1.0
OpenAIWordPressGoogle DriveLinkedIn

This workflow implements a complete Voice AI Chatbot system for Wordress that integrates speech recognition, guardrails for safety, retrieval-augmented generation (RAG), Qdrant vector search, and audio responses. It is designed to be connected to a WordPress Voicebot AI plugin through a webhook endpoint. --- Key Advantages ✅ Complete Voice AI Pipeline The workflow handles: audio input STT intelligent processing TTS output All within a single automated pro

At a glance

Voice AI chatbot with OpenAI, RAG (Qdrant) & Guardrails for WordPress is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects OpenAI, WordPress, Google Drive, LinkedIn. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
OpenAI, WordPress, Google Drive, LinkedIn
Modules
27
Price
Free
Version
v1.0
Voice AI chatbot with OpenAI, RAG (Qdrant) & Guardrails for WordPress workflow diagram

About this workflow

This workflow implements a complete Voice AI Chatbot system for Wordress that integrates speech recognition, guardrails for safety, retrieval-augmented generation (RAG), Qdrant vector search, and audio responses. It is designed to be connected to a WordPress Voicebot AI plugin through a webhook endpoint. --- Key Advantages ✅ Complete Voice AI Pipeline The workflow handles: audio input STT intelligent processing TTS output All within a single automated process. ✅ Safe and Policy-Compliant Thanks to the Guardrails module, the system automatically: detects harmful or disallowed requests blocks them responds safely This protects both the user and the business. ✅ Contextual and Memory-Based Conversations The Window Buffer Memory tied to unique session IDs enables: continuous conversation flow natural dialogue better understanding of context ✅ Company-Specific Knowledge via RAG By integrating Qdrant as a vector store, the system can: retrieve business documentation give accurate and up-to-date answers support personalized content This makes the chatbot far more powerful than a standard LLM. ✅ Modular and Extensible Architecture Because everything is modular inside n8n, you can: swap OpenAI with other models add new tools or knowledge sources change prompts or capabilities without redesigning the entire workflow. ✅ Easy WordPress Integration The workflow connects directly to a WordPress Voicebot plugin, meaning: no custom backend development simple deployment fast integration for websites ✅ Automatic Indexing of Documents The second workflow section: fetches Google Drive files converts them into embeddings indexes them into Qdrant This lets you maintain your knowledge base with almost no manual work. --- How It Works This workflow creates a Wordpress voice-enabled AI chatbot that processes audio inputs and provides contextual responses using RAG (Retrieval-Augmented Generation) from a Qdrant vector database. The system operates as follows: 1. Audio Processing Pipeline: - Receives audio input via webhook and converts speech to text using OpenAI's STT (Speech-to-Text) - Applies guardrails to detect inappropriate content or jailbreak attempts using a separate GPT-4.1-mini model - Routes safe queries to the AI agent and blocks unsafe content with a default response 2. AI Agent with Contextual Memory: - Uses OpenAI Chat Model with window buffer memory to maintain conversation context - Equips the agent with two tools: Calculator for computations and RAG tool for business knowledge retrieval - The RAG system queries Qdrant vector store containing company documents using OpenAI embeddings 3. Response Generation: - Generates appropriate text responses based on query type and available knowledge - Converts approved responses to audio using OpenAI's TTS (Text-to-Speech) with "onyx" voice - Returns binary audio responses to the webhook caller --- Set Up Steps 1. Vector Database Preparation: - Create Qdrant collection via HTTP request with specified vector configuration - Clear existing collection data before adding new documents - Set up Google Drive integration to source documents from specific folders 2. Document Processing Pipeline: - Search and retrieve files from Google Drive folder "Test Negozio" - Process documents through recursive text splitting (500 chunk size, 50 overlap) - Generate embeddings using OpenAI and store in Qdrant vector store - Implement batch processing with 5-second delays between operations 3. System Configuration: - Configure webhook endpoint for receiving audio inputs - Set up multiple OpenAI accounts for different functions (STT, TTS, guardrails, main agent) - Establish Qdrant API connections for vector storage and retrieval - Implement session-based memory management using session IDs from webhook headers 4. WordPress Integration: - Install the provided Voicebot AI Agent WordPress plugin - Configure the plugin with the webhook URL to connect to this n8n workflow - The system is now ready to receive audio queries and respond with voice answers The workflow handles both real-time voice queries and background document processing, creating a comprehensive voice assistant solution with business-specific knowledge retrieval capabilities. --- Need help customizing? Contact me for consulting and support or add me on Linkedin.

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

Query-to-action automation with Bright Data MCP & OpenAI GPT

AI Agent Template with Bright Data MCP Tool Integration This template obtains all the possible tools from Bright Data MCP, process this through chatbot, then run any tool based on the user's query --- ❓ Problem It Solves The problem that the MCP solves is the complexity and difficulty of traditional automation, where users need to have specific knowledge of APIs or interfaces to trigger backend processes. By allowing interaction through natural language, automatically classifying and routing que

Free

Create Facebook ads copy with Google Sheets and ChatGPT: PAS formula

Master Facebook Ads copy creation using Google Sheets and ChatGPT by applying the effective Pain, Agitate, Solution (PAS) copywriting formula. Optimize your ad results while simplifying your social media marketing approach.

Free

YouTube video to AI-powered auto blogging and affiliate automation

YouTube to WordPress AI-Powered Automation Transform your YouTube content into professional blog posts automatically! This n8n template seamlessly converts your YouTube videos into fully-formatted, SEO-optimized WordPress blog posts using AI-powered content generation—all without lifting a finger. --- 🎯 What This Automation Does - 📺 Monitors your YouTube channel for new video uploads - 🔍 Extracts key video information (title, description, URL, thumbnail) - 🤖 Leverages AI to generate comprehensi

Free

Amplify social media presence with O3 and GPT-4 multi-agent team

Amplify Social Media Presence with O3 and GPT-4 Multi-Agent Team 🌍 Overview This n8n workflow acts like a virtual social media department. A Social Media Director Agent coordinates multiple specialized AI agents (Instagram, Twitter/X, Facebook, TikTok, YouTube, and Analytics). Each agent creates or analyzes content for its platform, powered by OpenAI models. The result? A fully automated, cross-platform social media strategy—from content creation to performance tracking. --- 🟢 Section 1: Trigger

Free

Create a Google Docs and generate content using Perplexity AI and ChatGPT from Google Sheets data

This automation generates Google Docs content using Perplexity AI and ChatGPT based on new Google Sheets data entries, streamlining document creation and content generation processes.

Free

Create email drafts using ChatGPT for new incoming emails

Automatically draft email responses for new incoming emails using ChatGPT. Triggered by new emails, drafts are created in your email app.

Free

AI real estate agent: end-to-end ops automation (web, data, voice)

This suite automates distinct aspects of real estate operations: incoming web lead qualification, scheduled/manual data research and content generation, and automated voice call outreach with lead qualification. It leverages AI (primarily OpenAI GPT-4o Mini via Langchain), data processing nodes, and integrations with external APIs and Google Workspace. Workflow 1: Incoming Web Lead Qualification & Scoring This workflow captures leads from a web source, validates their input, uses AI to cl

Free

LLM usage tracker & cost monitor with node-level analytics (v2)

LLM Cost Monitor & Usage Tracker for n8n > v2: Now it can read multiple types of LLM usages. Better dynamic approach for reading model usage. 🎯 What This Workflow Does This workflow provides comprehensive monitoring and cost tracking for all LLM/AI agent usage across your n8n workflows. It extracts detailed token usage data from any workflow execution and calculates precise costs based on current model pricing. The Problem It Solves When running LLM nodes in n8n workflows, the token usage a

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