AutomationMart
Home/Browse/Local document question answering with Ollama AI, Agentic RAG & PGVector
n8n

Local document question answering with Ollama AI, Agentic RAG & PGVector

n8nn8n35 modulesv1.0
UNSUPPORTED_SLUG_FORMAT

n8n Local AI Agentic RAG Template Author: Jadai kongolo What is this? This template provides an entirely local implementation of an Agentic RAG (Retrieval Augmented Generation) system in n8n that can be extended easily for your specific use case and knowledge base. Unlike standard RAG which only performs simple lookups, this agent can reason about your knowledge base, self-improve retrieval, and dynamically switch between differ

At a glance

Local document question answering with Ollama AI, Agentic RAG & PGVector is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects UNSUPPORTED_SLUG_FORMAT. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
UNSUPPORTED_SLUG_FORMAT
Modules
35
Price
Free
Version
v1.0
Local document question answering with Ollama AI, Agentic RAG & PGVector workflow diagram

About this workflow

n8n Local AI Agentic RAG Template Author: Jadai kongolo What is this? This template provides an entirely local implementation of an Agentic RAG (Retrieval Augmented Generation) system in n8n that can be extended easily for your specific use case and knowledge base. Unlike standard RAG which only performs simple lookups, this agent can reason about your knowledge base, self-improve retrieval, and dynamically switch between different tools based on the specific question. Why Agentic RAG? Standard RAG has significant limitations: - Poor analysis of numerical/tabular data - Missing context due to document chunking - Inability to connect information across documents - No dynamic tool selection based on question type What makes this template powerful: - Intelligent tool selection: Switches between RAG lookups, SQL queries, or full document retrieval based on the question - Complete document context: Accesses entire documents when needed instead of just chunks - Accurate numerical analysis: Uses SQL for precise calculations on spreadsheet/tabular data - Cross-document insights: Connects information across your entire knowledge base - Multi-file processing: Handles multiple documents in a single workflow loop - Efficient storage: Uses JSONB in Supabase to store tabular data without creating new tables for each CSV Getting Started 1. Run the table creation nodes first to set up your database tables in Supabase 2. Upload your documents to the folder on your computer that is mounted to /data/shared in the n8n container. This folder by default is the "shared" folder in the local AI package. 3. The agent will process them automatically (chunking text, storing tabular data in Supabase) 4. Start asking questions that leverage the agent's multiple reasoning approaches Customization This template provides a solid foundation that you can extend by: - Tuning the system prompt for your specific use case - Adding document metadata like summaries - Implementing more advanced RAG techniques - Optimizing for larger knowledge bases --- The non-local ("cloud") version of this Agentic RAG agent can be found here.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Check email via AI agent with Mailcheck Tool MCP Server

Complete MCP server exposing all Mailcheck Tool operations to AI agents. Zero configuration needed - 1 operations pre-built. ⚡ Quick Setup Need help? Want access to more workflows and even live Q&A sessions with a top verified n8n creator.. All 100% free? Join the community 1. Import this workflow into your n8n instance 2. Activate the workflow to start your MCP server 3. Copy the webhook URL from the MCP trigger node 4. Connect AI agents using the MCP URL 🔧 How it Works • MCP Trigger: Serves as

Free

Generate customizable random strings with interactive forms

contract input: length of the strings and number of copies output: random strings as specified. randomness determined by Crypto node (generate/base64) How to run the workflow 1. Import the workflow into your n8n project 2. Click the Form Trigger to specify the length of the strings and how many copies to generate 3. The workflow runs then displays the generated random strings How to set up No additional set up is necessary to execute the workflow manually. integration Patterns of interests

Free

Background removal API MCP server

Complete MCP server exposing 3 Background Removal API operations to AI agents. ⚡ Quick Setup Need help? Want access to more workflows and even live Q&A sessions with a top verified n8n creator.. All 100% free? Join the community 1. Import this workflow into your n8n instance 2. Credentials Add Background Removal API credentials 3. Activate the workflow to start your MCP server 4. Copy the webhook URL from the MCP trigger node 5. Connect AI agents using the MCP URL 🔧 How it Works This workflow co

Free

Automated Zoho Inventory to Supabase product data pipeline

Description This powerful n8n automation template enables seamless synchronization between Zoho Inventory and Supabase—keeping your product database up to date with zero manual effort. Whether you’re running an eCommerce store, inventory dashboard, or product catalog app, this workflow ensures your data pipeline stays clean, consistent, and fully automated. What This Template Does: 🔁 Runs on a schedule to fetch inventory data from Zoho 🔓 Authenticates via OAuth using refresh token for

Free

Bulk delete all YouTube playlists from your channel

Who is this for? This workflow is for any YouTube user who wants to bulk delete all playlists from their own channel — whether to start fresh, clean up old content, or prepare the account for a new purpose. It’s useful for: Creators reorganizing their channel People transferring content to another account Anyone who wants to avoid deleting playlists manually one by one 🧠 What problem is this workflow solving? YouTube does not offer a built-in way to delete multiple playlists at once. If you h

Free

Add new Microsoft To Do tasks to Todoist as tasks

Every time a new task is added to a Microsoft To Do list, Make will automatically add that task to a selected Todoist project as a new task.

Free

Upsert huge documents in a vector store with Supabase and Notion

Purpose This workflow adds the capability to build a RAG on living data. In this case Notion is used as a Knowledge Base. Whenever a page is updated, the embeddings get upserted in a Supabase Vector Store. It can also be fairly easily adapted to PGVector, Pinecone, or Qdrant by using a custom HTTP request for the latter two. Demo []( How it works - A trigger checks every minute for changes in the Notion Database. The manual polling approach improves accuracy and prevents changes from being lost

Free

Scrape LinkedIn profiles & save to Google Sheets with Apify

This n8n workflow automates the process of scraping LinkedIn profiles using the Apify platform and organizing the extracted data into Google Sheets for easy analysis and follow-up. Use Cases - Lead Generation: Extract contact information and professional details from LinkedIn profiles - Recruitment: Gather candidate information for talent acquisition - Market Research: Analyze professional networks and industry connections - Sales Prospecting: Build targeted prospect lists wi

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free