workflows.fit
Back to n8n workflows
n8n templateFreeBy Luan Correia

Answer questions from documents with RAG using Supabase, OpenAI & Cohere reranker

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. This comprehensive RAG workflow enables your AI agents to answer user questions with contextual knowledge pulled fro...

Data & StorageDevelopmentCore NodesAILangchainGoogle DriveDocument Default Data LoaderExtract From File
Loading interactive preview...

Template notes

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

This comprehensive RAG workflow enables your AI agents to answer user questions with contextual knowledge pulled from your own documents β€” using metadata-rich embeddings stored in Supabase.

πŸ”§ Key Features: RAG Agents powered by GPT-4.5 or GPT-3.5 via OpenRouter or OpenAI.

Supabase Vector Store to store and retrieve document embeddings.

Cohere Reranker to improve response relevance and quality.

Metadata Agent to enrich vectorized data before ingestion.

PDF Extraction Flow to automatically parse and upload documents with metadata.

βœ… Setup Steps: Connect your Supabase Vector Store.