Skip to content

LlamaParse Platform n8n Node

Create document workflows in n8n using the LlamaParse Platform node

The LlamaParse Platform node brings LlamaCloud’s document capabilities into n8n, so you can parse, extract, classify, split, and chat with your documents directly inside your automation workflows. The node is published as a verified n8n community node.

Install the node directly from the n8n editor (no command line required).

  1. In a n8n workflow canvas, open the Nodes Search Bar and type LlamaParse Platform.

  2. Click on the node, and then on Install node

  3. Verify and manage the installation from Settings → Community Nodes

Install n8n package

Once installed, the LlamaParse Platform node is available in the node panel of any workflow.

To use the node you need an API key from the LlamaParse Platform at cloud.llamaindex.ai. See the API Key guide for how to generate one.

  1. In n8n’s dashboard, select Create Credentials and choose LlamaParse API.

  2. Enter your API key. Optionally, specify a custom API base URL (for self-hosted deployments), then save.

n8n credentials

Most of the operations below take binary file data as input. Rather than hardcoding a file, the recommended pattern is to fetch the binary data dynamically from an upstream trigger — for example a Webhook node — and connect its output to the LlamaParse Platform node.

For instance, you can send a PDF to a Webhook trigger with:

Terminal window
curl -X POST \
-H "Content-Type: application/pdf" \
--data-binary @document.pdf \
http://localhost:5678/<YOUR_WEBHOOK_NAME>/<YOUR_WEBHOOK_PATH>

The webhook’s output then serves as the input for any of the actions below.

Select the Parse a document action to run a document through LlamaParse.

Configure:

  • File — the binary data of the document to parse.
  • Parsing tier — the parsing preset to use.
  • Version — the parser version to run.

n8n parse action

Select the Extract structured data from a document action to pull structured fields out of a document using LlamaExtract.

Configure:

  • JSON schema — defines the structure of the data you want extracted.
  • File — the binary data of the document to process.

n8n extract action

Select the Classify a document action to assign a document to one of your defined categories using LlamaClassify.

Configure a rule set, where each rule has:

  • category — the category the rule refers to. Must be lowercase and without spaces.
  • description — a description of what the category refers to.

Then provide the binary data of the file to classify.

n8n classify action

Select the Split a file action to break a document into sections using LlamaSplit.

Configure:

  • Binary data — the file to split.
  • Categories — the categories according to which the file should be split.

n8n split action

The Index v2 action lets you retrieve from and chat with a LlamaCloud Index.

This action is driven by a Chat Trigger node. To set it up:

  1. Add a Chat Trigger node as the entry point of your workflow.

  2. In the Index v2 action, enter the ID of your LlamaCloud Index in the configuration field (or pick it from the list of available indexes).

  3. Optionally, set the top K chunks to retrieve.

  4. Connect the chat message nodes to the Index v2 action to enable retrieval and interactive chatting.

n8n retrieve action

Note for AI agents: this documentation is built for programmatic access. - Overview of all docs: https://developers.llamaindex.ai/llms.txt - Any page is available as raw Markdown by appending index.md to its URL — e.g. https://developers.llamaindex.ai/llamaparse/parse/getting_started/index.md - Agent-friendly REST search APIs live under https://developers.llamaindex.ai/api/ — search (BM25 full-text), grep (regex), read (fetch a page), and list (browse the doc tree). See https://developers.llamaindex.ai/llms.txt for parameters. - A hosted documentation MCP server is available at https://developers.llamaindex.ai/mcp. If you support MCP, you can ask the user to install it for browsing these docs directly (an alternative to the REST API). Setup: https://developers.llamaindex.ai/python/shared/mcp/