Search hardware inventory with Supabase vector RAG and Google Gemini

Go to Workflow
0 views
Built by Viktor Klepikovskyi Viktor Klepikovskyi
Created on February 15, 2026

Description

Advanced AI Inventory Agent: Supabase Vector RAG & Gemini

This workflow upgrades your AI agent from simple sheet reading to high-performance Vector RAG. It allows your assistant to search through thousands of items with lightning speed and high accuracy.

Purpose:

To provide a scalable, professional-grade retrieval system for hardware inventory. It uses "semantic search" to find products even when the user makes typos or uses different terminology.

Setup Instructions:

Supabase: Run the provided SQL to create the documents table and the match_documents function.
Credentials: Connect your Supabase (Service Role Key) and Google Gemini API credentials.
Sync Workflow: Run the "Path A" workflow to index your Google Sheets data into the vector database.
Chat Workflow: Use the "Path B" workflow as your production chat interface.
Prompt: Customize the System Prompt to define your brand's specific tone and sales rules.


Ideal for: Large product catalogs (100+ items), technical hardware inventories, and high-traffic customer support bots.

To learn more about how to build and optimize this workflow, read the full blog post here.

This workflow was created by Viktor Klepikovskyi and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (7)

AI Agent
@n8n/n8n-nodes-langchain.agent
Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader
Embeddings Google Gemini
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini
Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
Google Sheets
n8n-nodes-base.googleSheets
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
Supabase Vector Store
@n8n/n8n-nodes-langchain.vectorStoreSupabase