π¬ Client FAQ bot with RAG using Google Drive PDFs & Azure GPT-4o-mini
β‘ 190 views Β· π¬ Support Chatbots
Description
Description:
Build your own AI-powered Client FAQ system with Retrieval-Augmented Generation (RAG) β fully automated using n8n, Google Drive, and Azure OpenAI (GPT-4o-mini). This no-code automation enables your clients or team to ask questions through a webhook, and get precise answers sourced directly from a collection of PDF documents stored in Google Drive. Ideal for support teams, sales enablement, onboarding automation, and customer self-service β this RAG-powered bot ensures accurate, document-based answers with no hallucinations or AI guesses.
What This Template Does (Step-by-Step):
π Webhook Trigger for Incoming Questions
- Accepts POST requests with a clientβs question
- Triggers the entire FAQ automation on request
ποΈ Search Google Drive Folder for Source Documents
- Connects to a specific Google Drive folder (e.g., βCase Studiesβ)
- Fetches all PDFs to be used as the context source
π₯ Downloads and Processes Each File
- Downloads all matched files
- Extracts clean text from each PDF file
π Iterates Over Each File for Text Extraction
- Loops through multiple files
- Extracts relevant content from each file individually
π§ Prepares Clean Context + Question for RAG
- Combines the extracted PDF text into a single context block
- Injects the userβs question into the RAG-ready prompt
π¬ Azure OpenAI (GPT-4o-mini) RAG Prompt
- Generates an accurate answer ONLY from the extracted documents
- If the answer isnβt found, returns a fallback response
π€ Sends the Final Response Back via Webhook
- Returns the AI-generated answer directly to the client via HTTP response
Perfect For:
π Sales & client onboarding teams π Knowledge base & internal SOP support π§βπ» B2B SaaS customer success teams π’ Enterprises automating policy or document queries πΌ Agencies offering client-specific documentation portals
Built With:
- Webhook Trigger (n8n)
- Google Drive API (search + download)
- PDF Text Extractor
- Loop / Split Batches
- Azure OpenAI GPT-4o-mini via LangChain LLM
- Context-safe RAG prompt logic
- Webhook Response for real-time delivery
Key Benefits:
β Fast, context-aware answers from internal PDFs π No hallucinations β AI only responds using uploaded documents π Works with any internal client folder in Google Drive π¬ Easily embed into any app, bot, or portal via Webhook π§© 100% modular β extend with email, Slack, CRM, or ticketing tools
π Nodes Used
Webhook, Google Drive, Basic LLM Chain, Extract from File, Azure OpenAI Chat Model
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File