Templates / AI-powered RAG Q&A chatbot with OpenAI, Google Sheets, Glide & Supabase

AI-powered RAG Q&A chatbot with OpenAI, Google Sheets, Glide & Supabase

Needs changes

by Sam Yassine ✓ · 1,419 views · created 2025-05-15 · Support Chatbot, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 28 nodes and runs when an HTTP GET request hits its webhook URL (plus 3 other triggers). Along the way it connects Google Calendar, OpenAI Chat Model, Qdrant Vector Store and Embeddings OpenAI and 2 more.

How it runs

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

  1. Retrive Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (RAG)
  2. Create collection (HTTP Request): calls an HTTP API
  3. Refresh collection (HTTP Request): calls an HTTP API
  4. Concert start date (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
  5. API URL Tracking (HTTP Request): calls an HTTP API
  6. Webhook RAG response (Respond to Webhook): sends the response back to the webhook caller
  7. Get folder (Google Drive): uses Google Drive
  8. Google Calendar: uses Google Calendar
  9. Tracking response (Edit Fields (Set)): sets or maps fields
  10. Download Files (Google Drive): uses Google Drive

…plus 4 more steps. See the full node list below.

Services it uses

Google CalendarOpenAI Chat ModelQdrant Vector StoreEmbeddings OpenAIVector Store Question AnswerGoogle Drive

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Retrive Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Retrive Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (16)

From the author

Automate AI-Powered RAG System with Contextual Q&A, Google Sheets Integration, and Glide Frontend—Powered by n8n, OpenAI, Supabase, and Google Apps Script. Tools & Services Used Glide (Frontend for user interactions) Google Sheets (Stores questions and…

Excerpt from Sam Yassine'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.