Skip to content
FlowHubFluxonLab
A
AI Automationfree

AI-Powered RAG Q&A Chatbot with OpenAI, Google Sheets, Glide & Supabase

by Sam Yassineadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentBBasic LLM ChainDDefault Data LoaderEmbeddings OpenAIEmbeddings OpenAIGoogle CalendarGoogle CalendarGoogle DriveGoogle DriveHTTP RequestHTTP RequestOpenAI Chat ModelOpenAI Chat ModelQdrant Vector StoreQdrant Vector StoreStructured Output ParserStructured Output ParserToken SplitterToken SplitterVector Store Question Answer ToolVector Store Question Answer Tool
Share Post Share
Wen8n_orderGoogle CalendarOpenAI Chat Model3OpenAI Chat Mod…CLConcert start dateConcert start d…Wen8n_appointmentVSRetrive Qdrant Vector StoreRetrive Qdrant …Embeddings OpenAI2Embeddings Open…TVRAGOpenAI Chat Model2OpenAI Chat Mod…OpenAI Chat Model1OpenAI Chat Mod…AgRetrive AgentWen8n_ragSeTracking responseTracking respon…SeCalendar responseCalendar respon…RTWebhook tracking responseWebhook trackin…HRAPI URL TrackingRTWebhook calendar responseWebhook calenda…OPStructured Output ParserStructured Outp…RTWebhook RAG responseWebhook RAG res…MaWhen clicking ‘Test workflow’When clicking ‘…VSQdrant Vector StoreQdrant Vector S…HRCreate collectionCreate collecti…HRRefresh collectionRefresh collect…Get folderDownload FilesEmbeddings OpenAIEmbeddings Open…DDDefault Data LoaderDefault Data Lo…TSToken Splitter123
1/5
FLOWS
STEPS · 3
Starts on an incoming request

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 answers) Google Apps Script (Forms + media upload handling) OpenAI (Embeddings + GPT-4 to rank and generate answers) Supabase (Optional for image hosting) n8n (Automation logic and backend glue) Workflow Overview This automation performs the following steps: Trigger: Webhook receives a user question from a Glide frontend. Fetch Data: Retrieves Q&A entries (and optionally, image URLs) from a connected Google Sheet. Rank Relevance: OpenAI Embeddings rank the relevance of stored questions to the new input. Top matches are passed to a GPT-4 prompt for answer generation. Generate Answer: GPT-4 creates a contextual answer using the best match. Optional: Includes media URL if attached to the matched answer. Response: Sends the formatted answer back to Glide frontend (text + optional image).

Tags

n8nreference-onlyagentchain-llmdocument-default-data-loaderembeddings-open-aigoogle-calendargoogle-drivelm-chat-open-aioutput-parser-structuredtext-splitter-token-splittertool-vector-storevector-store-qdrant
Connects
AAI AgentBBasic LLM ChainDDefault Data LoaderembeddingsopenaiEmbeddings OpenAIgooglecalendarGoogle CalendargoogledriveGoogle Drive
CategoryAI Automation
Triggermanual
Complexityadvanced
Nodes28
AddedMay 15, 2025

Related workflows

See all AI Automation
Dgoogledriveopenaichatmodelsummarizationchain
free

Load and summarize Google Drive files with AI

This workflow includes advanced features like text summarization and tokenization, it's ideal for automating document processing tasks that require parsing and summarizing text data from Google Drive. To use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team
BsheetsWopenaichatmodel
free

Scrape and score Amazon products with Apify, OpenAI, and Google Sheets

Quick overview This workflow manually scrapes product results from an Amazon search URL via the Apify Amazon Crawler actor, uses OpenAI to generate a structured product analysis (category, key feature, verdict, value score), and appends the enriched results to a Google Sheets spreadsheet. How it works Runs when you manually click “Test workflow” in n8n. Sends the configured Amazon search URL and scraping limits to the apify Amazon Crawler actor and retrieves the dataset items. Filters out any scraper items that are missing a title or contain an error. Uses OpenAI to analyze each product’s title, brand, price, rating, and review count and returns a structured category, key feature, buyer verdict, and 1–10 value score. Combines the scraped fields and AI analysis into a single row format and adds a timestamp. Appends each enriched product as a new row in Google Sheets. Setup Create an apify API token and add it as an HTTP Header Auth credential used by the Apify request. Add an OpenAI API key as an OpenAI credential and choose the model to use in the configuration. Connect a Google Sheets OAuth2 account and select the target spreadsheet, sheet tab, and columns for appending rows. Upda

by Dr. Firas
ACDgmail
free

AI: Summarize podcast episode and enhance using Wikipedia

The workflow automates the process of creating a summarized and enriched podcast digest, which is then sent via email. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team