AutomationMart
Home/Browse/Build a document-based AI chatbot with Google Drive, Llama 3, and Qdrant RAG
n8n

Build a document-based AI chatbot with Google Drive, Llama 3, and Qdrant RAG

n8nn8n11 modulesv1.0
Google Drive

Overview This template allows users to set up an AI-powered chatbot that retrieves and processes knowledge from Google Drive documents using Retrieval-Augmented Generation (RAG). By leveraging Llama 3 for natural language responses and Qdrant vector storage for document embeddings, this chatbot provides accurate, context-aware answers based on stored files. Problem It Solves Standard AI chatbots often rely on predefined models with limited real-time knowledge access. This workflow overcomes that

At a glance

Build a document-based AI chatbot with Google Drive, Llama 3, and Qdrant RAG is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Google Drive. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Google Drive
Modules
11
Price
Free
Version
v1.0
Build a document-based AI chatbot with Google Drive, Llama 3, and Qdrant RAG workflow diagram

About this workflow

Overview This template allows users to set up an AI-powered chatbot that retrieves and processes knowledge from Google Drive documents using Retrieval-Augmented Generation (RAG). By leveraging Llama 3 for natural language responses and Qdrant vector storage for document embeddings, this chatbot provides accurate, context-aware answers based on stored files. Problem It Solves Standard AI chatbots often rely on predefined models with limited real-time knowledge access. This workflow overcomes that limitation by: Automatically fetching new documents from Google Drive. Embedding knowledge for fast retrieval using Qdrant. Generating human-like responses with Llama 3 AI. Providing accurate, source-backed answers in conversations. Use Cases ✔️ Customer Support – Retrieve and summarize FAQs stored in Google Drive. ✔️ Internal Knowledge Base – Automate document-based query responses. ✔️ AI-powered Research Assistant – Search and generate insights from uploaded files. ✔️ Business Automation – Enhance workflows with document-aware chat interactions. Setup Instructions 1️⃣ Google Drive Trigger: Detect & Fetch New Documents Watches for new files added to a specific Google Drive folder. Retrieves the latest file metadata and passes it into the workflow. 2️⃣ Processing & Embedding the Document The document is downloaded via the Google Drive node. Text data is split into smaller, retrievable chunks using Recursive Text Splitter. Embeddings are created using Ollama’s Nomic-Embed Model. Knowledge is stored in Qdrant Vector Database for fast AI-powered lookup. 3️⃣ AI Chatbot & Query Handling The Chat Trigger node listens for user queries. The AI Agent retrieves context-aware answers by searching Qdrant’s vectorized documents. The Llama 3 Model generates human-like responses based on stored knowledge. Detailed Workflow Explanation 🔹 Google Drive Trigger ✅ Monitors a specific folder for new documents. ✅ Automatically fetches document metadata when a file is uploaded. 🔹 Qdrant Vector Store ✅ Stores embedded document text, making retrieval instant & accurate. ✅ Allows the chatbot to reference stored knowledge dynamically. 🔹 Recursive Text Splitter ✅ Splits long documents into manageable chunks for efficient embedding. ✅ Improves chatbot response accuracy by organizing document data. 🔹 Llama 3 Chat Model ✅ Generates natural, human-like replies using AI. ✅ Uses retrieved document data for context-aware responses. Customization Options 🔹 Adjust polling frequency for document updates. 🔹 Expand knowledge base by adding more storage sources. 🔹 Refine chatbot responses with prompt tuning in Llama 3.

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

Remove background from images stored in Google Drive

When a new image is stored in watched folder in Google Drive, the background of the image is removed by Remove.bg and the image is then uploaded to Google Drive.

Free

Automated SEO keyword & SERP analysis with DataForSEO for high-converting content

Overall Purpose: The workflow automates the process of gathering extensive keyword data for a "Main Keyword." It starts by reading initial parameters from a Google Sheets template, creates a new dedicated Google Sheet for the research, queries multiple DataForSEO API endpoints for different types of keyword information (related, suggestions, ideas, autocomplete, subtopics, SERP, and PAA), and populates the newly created Google Sheet with this data across various tabs. A "Master All KW Variations

Free

Save Costs In RAG Workflows using the Q&A Tool With Multiple Models

This template shows how to use the Question and Answer tool to save costs in RAG use cases. Who is this for? This template is for everyone who wants to start giving knowledge to their Agents through RAG. Requirements Have a PDF with custom knowledge that you want to provide to your agent. Setup No setup required. Just hit Execute Workflow, upload your knowledge document and then start chatting. How to customize this to your needs 1. Add custom instructions to your Agent by chan

Free

Upload files in Noloco comments to Google Drive

Keep your files safe and organized by automatically uploading any attachment added to a comment in your Noloco app to a folder in Google Drive. Whether users are sharing PDFs, images, or documents in comments, this workflow ensures everything is securely stored in Drive. How it works: This template monitors new comments in Noloco. If a file is attached, it uploads that file to the Google Drive folder you specify. Before using this template: Make sure your Noloco app includes comment functional

Free

CYBERPULSE AI GRC: automate compliance audit documentation

Description Automatically packages audit-ready evidence files matched to control IDs from ISO 42001 or other frameworks. Fetches logs from Google Sheets, finds corresponding files in Google Drive, compresses them into a ZIP archive, and sends via email — no manual formatting required. Who’s It For: Compliance teams preparing audit documentation GRC consultants managing multiple clients Internal auditors requiring traceable evidence How It Works: Trigger manually or on schedule (e.g., daily) Read

Free

Create new PDF documents in Google Drive from new items in Monday

This template periodically checks for new items in Monday and uses the retrieved items' information to create new templated PDF documents in Google Drive. The template expects your Monday board to have these columns besides the default ones: 1) Note as text 2) Email as text 3) Phone number as number If your column set is different, you will need to spend a bit more time on template configuration. We recommend to setup a test board with the needed columns, go through the template configuration

Free

WhatsApp group onboarding with automated welcome messages & Airtable point system

Receive Webhook Notification The workflow starts when a webhook receives a POST request from Whapi, notifying that a new participant has joined a WhatsApp group. Filter the Event The workflow checks two conditions: The event is for the correct WhatsApp group (matching the specific group ID). The action type is "add" (meaning a user was added to the group). Send Welcome Message If both conditions are met, the workflow sends a personalized welcome message to the new participant via Whapi. The mess

Free

YouTube video transcription & summary to Telegram with GPT-4o

Disclaimer This workflow uses a community node: - npm install n8n-nodes-supadata - Please make sure to install this before running the workflow. 🔎 Who is this for? This workflow is for anyone who wants quick summaries of YouTube videos, such as researchers, students, analysts, or busy professionals. Just send a video link via Telegram and receive a structured summary in seconds—no need to watch the entire video. 🧠 What problem is this workflow solving? Watching long videos to extract key informa

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