Description
n8n LlamaParse Platform node
This repository contains a custom n8n community node for integrating with the LlamaParse API credential.
๐ Parse
Parse documents (PDF, DOCX, PPTX, images, etc.) into clean text or Markdown. Supports four tiers โ fast, costeffective, agentic, and agenticplus โ and pinned parser versions.
- Input: binary file (from any previous node)
- Output:
{ text: string }(Markdown when available, otherwise plain text) - Input: binary file + classification rules
- Output:
{ category, reasons, confidence } - Input: binary file + categories
- Output: one item per segment, with
{ category, confidence, pages } - Input: binary file + Extraction Configuration ID
- Output:
{ result:} - Input:
indexId,query(defaults to{{ $json.chatInput }}),topK - Output:
{ context: string[] }
๐ท๏ธ Classify
Route a document into one of a set of user-defined categories. You provide a list of { category, description } rules and get back the predicted category along with confidence and reasoning.
โ๏ธ Split
Split a multi-section document into segments using semantic categories you define (e.g. “invoice”, “contract”, “appendix”). You can choose how uncategorized content is handled (include / forbid / omit).
โ๏ธ Extract
Run a pre-configured LlamaExtract agent against a file to get back structured JSON matching your schema.
๐ Retrieve (indexv2.md”>Index v2)
Query a LlamaCloud index/pipeline and return the top-k retrieved chunks. Works against both the v1 Pipelines API and the newer v2 Index Retrieval API โ ideal for RAG flows with the n8n AI Agent / Chat Trigger nodes.
> The node is also marked usableAsTool: true, so any of the resources above can be wired into an n8n AI Agent as a tool.
๐ Prerequisites
1. Node.js โฅ 20 โ install via nvm on Linux/macOS/WSL or the Microsoft guide on Windows.
2. n8n installed globally:
npm install n8n -g
3. A LlamaParse Platform API key โ sign up at Docker guide for the full walkthrough.
๐ง Configuring credentials
1. Open n8n (default: http://localhost:5678).
2. Go to Credentials โ Add Credential โ search for “LlamaParse API”.
3. Paste your API key. Optionally override the base URL (defaults to https://api.cloud.llamaindex.ai).
4. Save.
Full screenshots: guides/index.md.
๐ Guides
Step-by-step walkthroughs (with screenshots) for every resource live under guides/: