- Home
- Skills
- Workflow Automation
- n8n PDF RAG Workflow
Works with the AI Agents you already use
n8n PDF RAG Workflow
by kawthar
Architect and troubleshoot n8n PDF RAG workflows with custom chunking and in-memory vector retrieval.
Free
About this skill
Building a PDF-based RAG pipeline in n8n often fails due to misconfigured sub-node connectors, losing data on restarts, or incorrect routing between ingestion and retrieval branches. This skill provides the precise architecture and configuration steps to deploy a functional in-memory PDF RAG workflow.
What it does
- Multi-branch routing creates logic to separate PDF file ingestion from text-based question answering using n8n IF nodes.
- Custom text chunking configures Recursive Character Text Splitters with specific 600/80 parameters for optimal retrieval.
- Vector store integration maps binary data loaders to in-memory vector stores using shared memory keys.
- Agentic retrieval connects AI Agents to Query Data Tools using the
retrieve-as-toolmode for grounded responses. - Model configuration specifies embedding and chat model setups using Ollama-based local LLMs like Llama 3.2.
How it works
- Initialize a Chat Trigger with file uploads enabled and route the payload through an IF node to detect binary data.
- Build the ingestion branch by connecting the Default Data Loader to a Vector Store sub-node using custom text splitting.
- Configure the retrieval branch by attaching an AI Agent to a Query Data Tool sharing the same vector memory key.
- Verify sub-node connections for embeddings and language models to ensure the tool executes correctly.
Frameworks & tools
This skill focuses on n8n workflow automation, specifically utilizing the AI Agent, Vector Store (In-Memory), Default Data Loader, and Ollama integration for local embedding (nomic-embed-text) and chat (llama3.2).
Why this beats prompting it yourself
Generic AI prompts often confuse n8n execution arrows with sub-node connectors, leading to invalid workflow JSON. This skill enforces specific chunking sizes and memory key consistency that prevents the "missing context" errors common in DIY RAG setups.
Use cases
- Build a private document assistant that processes local PDFs without external APIs.
- Fix broken n8n workflows where the agent fails to query the vector store.
- Scaffold a reusable RAG template for team-wide document analysis.
- Transition from simple chat bots to tool-augmented agents that cite local files.
Known limitations
The vector store is in-memory only, meaning data is lost upon n8n service restarts. It requires manual re-upload of PDFs for new sessions unless swapped for a persistent database.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 8 days ago
- Free with an Agensi account
- Accounts
- n8n
- Software
- Ollamanomic-embed-textllama3.2
Permissions
What's inside
Frequently Asked Questions
New in Workflow Automation
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.