Block 1 - Webhook Trigger
- Type / Role
- n8n-nodes-base.webhook - webhook
- Config choices
- Version 2.1
Overview This workflow implements a complete Retrieval Augmented Generation (RAG) system for document ingestion and intelligent querying. It allows users to upload documents, convert them into vect...
n8n-nodes-base.webhook, n8n-nodes-base.set, n8n-nodes-base.switch, n8n-nodes-base.extractfromfile, @n8n/n8n-nodes-langchain.textsplitterrecursivecharactertextsplitter, @n8n/n8n-nodes-langchain.documentdefaultdataloader, @n8n/n8n-nodes-langchain.embeddingsopenai, @n8n/n8n-nodes-langchain.vectorstorepgvector
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by ResilNext.
Original n8n.io sourceThis workflow implements a complete Retrieval-Augmented Generation (RAG) system for document ingestion and intelligent querying.
It allows users to upload documents, convert them into vector embeddings, and query them using natural language. The system retrieves relevant document context and generates accurate AI responses while using caching to improve performance and reduce costs.
This workflow is ideal for building AI knowledge bases, document assistants, and internal search systems.
rag-system)upload → process documentsquery → answer questionscached: truecached: falserag-system)action: upload / queryuser_iddocument or querydocumentsquery_cacheupload_logA complete RAG-based AI system that enables document ingestion, semantic search, and intelligent query answering. It combines vector databases, LLMs, and caching to deliver fast, accurate, and scalable AI-powered knowledge retrieval.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 33 workflow blocks. Download the JSON for the full node graph.
| Workflow | Build an OpenAI RAG system with document upload, semantic search and caching |
|---|---|
| Complexity | advanced |
| Nodes | 33 |
| Categories | Internal Wiki, AI RAG |
| Author | ResilNext |
| Published | 06 Apr 2026 |
Use the JSON export at /data/workflows/14827/14827.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Overview This workflow implements a complete Retrieval Augmented Generation (RAG) system for document ingestion and intelligent querying. It allows users to upload documents, convert them into vect...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Internal Wiki, AI RAG use case.