Runwork
HTTP / Webhook Universal Summarizer by Kagi Neon Postgres

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

This workflow sets up a powerful, locally-hosted Agentic RAG system that goes beyond simple keyword searches to intelligently query your documents. By leveraging Ollama AI and PGVector, it can analyze complex tabular data and connect insights across multiple files for precise answers. It’s an ideal solution for users who need a private, self-improving knowledge base that handles both text and structured spreadsheets.

Start Building

What This Recipe Does

The n8n Local AI Agentic RAG (Retrieval-Augmented Generation) Template transforms your private business documents into an intelligent, searchable knowledge base. By combining local file processing with advanced AI reasoning, this automation allows your team to query complex internal datasets and receive precise, context-aware answers instantly. Unlike standard search tools, this system understands the nuances of your specific documentation, extracting and summarizing relevant information to provide actionable insights. It eliminates the time wasted manually searching through folders and files, ensuring that your organization's collective intelligence is always accessible. This solution is particularly valuable for businesses that prioritize data privacy, as it manages the ingestion and retrieval process locally while providing a seamless interface for users to interact with their data through a web-based portal.

What You'll Get

Complete App

Forms, dashboards, and UI components ready to use

Automated Workflows

Background automations that run on your schedule

API Endpoints

REST APIs for external integrations

Connected Integrations

HTTP / Webhook, Universal Summarizer by Kagi, Neon Postgres configured and ready

How It Works

  1. 1

    Click "Start Building" and connect your accounts

    Runwork will guide you through connecting HTTP / Webhook and Universal Summarizer by Kagi

  2. 2

    Describe any customizations you need

    The AI will adapt the recipe to your specific requirements

  3. 3

    Preview, test, and deploy

    Your app is ready to use in minutes, not weeks

Who Uses This

Frequently Asked Questions

Do I need to be a developer to use this application?

No. While the backend uses complex AI logic, the final application provides a simple chat-like interface for business users to ask questions and receive answers.

Can I use my own internal documents with this system?

Yes. The automation is designed to read and process your local files, including text and document formats, to build your custom knowledge base.

Is my data shared with external AI providers?

This template is configured for local processing, meaning your sensitive business documents stay within your controlled environment during the extraction and retrieval phase.

How accurate are the answers provided by the AI?

The system uses Retrieval-Augmented Generation, which means it only answers based on the specific documents you provide, significantly reducing the risk of incorrect or fabricated information.

Importing from n8n?

This recipe uses nodes like Langchain.documentDefaultDataLoader, StickyNote, ExtractFromFile, Langchain.memoryPostgresChat and 17 more. With Runwork, you don't need to learn n8n's workflow syntax. Just describe what you want in plain English.

Langchain.documentDefaultDataLoader StickyNote ExtractFromFile Langchain.memoryPostgresChat Set RespondToWebhook Langchain.chatTrigger Webhook Aggregate Summarize Langchain.agent Switch Postgres PostgresTool SplitInBatches LocalFileTrigger ReadWriteFile Langchain.embeddingsOllama Langchain.textSplitterRecursiveCharacterTextSplitter Langchain.lmChatOpenAi Langchain.vectorStorePGVector

Based on n8n community workflow. View original

Related Recipes

HTTP / Webhook Universal Summarizer by Kagi Neon Postgres

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

The n8n Local AI Agentic RAG (Retrieval-Augmented Generation) Template transforms your private business documents into an intelligent, searchable knowledge base. By combining local file processing with advanced AI reasoning, this automation allows your team to query complex internal datasets and receive precise, context-aware answers instantly. Unlike standard search tools, this system understands the nuances of your specific documentation, extracting and summarizing relevant information to provide actionable insights. It eliminates the time wasted manually searching through folders and files, ensuring that your organization's collective intelligence is always accessible. This solution is particularly valuable for businesses that prioritize data privacy, as it manages the ingestion and retrieval process locally while providing a seamless interface for users to interact with their data through a web-based portal.

Build this
Bot for Slack

Generate data pipeline blueprints with Claude 3.5, Slack, and Tavily Search

The ArchitectureAgent automation transforms Slack from a simple messaging tool into a powerful technical design hub. By connecting your Slack workspace directly to your planning workflows, this automation allows teams to capture architectural requirements, system designs, and infrastructure decisions the moment they are discussed. Instead of letting critical technical decisions get buried in chat threads, this agent systematically processes Slack triggers to document and organize complex project structures. This ensures that every stakeholder has immediate access to the latest architectural blueprints, reducing friction between design and implementation phases. For businesses, this means faster project kickoffs, fewer miscommunications during the development lifecycle, and a centralized source of truth for technical documentation that evolves alongside your team's conversations.

Build this
Bot for Slack

Generate data pipeline blueprints with Claude 3.5, Slack, and Tavily Search

The ArchitectureAgent automation transforms your Slack workspace into a collaborative design and technical consultation hub. By bridging the gap between initial concepts and structured execution, this tool automatically processes architectural inquiries or project requirements shared within Slack. Instead of manually documenting discussions or chasing technical specifications, the agent analyzes incoming requests and provides immediate, structured feedback to your team. This ensures that every project starts with a clear technical foundation, reducing the risk of miscommunication and accelerating the transition from planning to development. For businesses managing complex systems or rapid product iterations, this automation eliminates the bottleneck of manual architectural review, allowing senior technical staff to focus on high-level strategy while the AI handles initial scoping and documentation tasks.

Build this
BigMailer DaySchedule

Daily podcast summary

This automated solution streamlines the entire content creation and distribution cycle, allowing businesses to maintain a consistent digital presence without manual effort. By leveraging advanced AI and real-time data fetching, the system identifies relevant topics, generates high-quality written material, and formats it for professional presentation. It removes the bottleneck of manual drafting and scheduling, ensuring that your audience receives timely updates and insights directly in their inbox. The automation handles the heavy lifting of research and composition, allowing your team to focus on high-level strategy rather than repetitive writing tasks. With built-in logic for timing and formatting, the workflow ensures every piece of content meets your brand standards before it is dispatched via Gmail. This is an essential tool for marketing teams and business owners who need to scale their content output while maintaining a high standard of quality and relevance. By automating the transition from research to delivery, you reduce operational overhead and increase the frequency of your engagement with customers and leads.

Build this

Ready to build this?

Start with this recipe and customize it to your needs.

Start Building Now