Templates / Create a knowledge base chatbot with Google Drive & GPT-4o using vector search

Create a knowledge base chatbot with Google Drive & GPT-4o using vector search

Ready for 3.0

by Gofive · 3,918 views · created 2025-07-22 · Support Chatbot, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 20 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects Embeddings OpenAI, OpenAI Chat Model, Vector Store Question Answer and Google Drive.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).

  1. Edit Fields (Edit Fields (Set)): sets 2 fields: chatInput, sessionId
  2. Search Files in your Google Drive Folder (Google Drive): work with file folder
  3. AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Answer questions with a vector store); memory: Window Buffer Memory
  4. Download Files (Google Drive): download
  5. Is AI Agent output exist? (Code): runs custom JavaScript code
  6. Simple Vector Store: stores documents in the Simple vector store, with embeddings: Embeddings OpenAI; document loader: Default Data Loader
  7. Token Authentication (HTTP Request): calls an HTTP API (POST)
  8. Send to Chat App (HTTP Request): calls an HTTP API (POST)

Services it uses

Embeddings OpenAIOpenAI Chat ModelVector Store Question AnswerGoogle Drive

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (14)

From the author

Template: Create an AI Knowledge Base Chatbot with Google Drive and OpenAI GPT (Venio/Salesbear) 📋 Template Overview This comprehensive n8n workflow template creates an intelligent AI chatbot that automatically transforms your Google Drive documents into a…

Excerpt from Gofive's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.