---
title: LlamaParse Platform n8n Node | Developer Documentation
description: Create document workflows in n8n using the LlamaParse Platform node
---

The LlamaParse Platform node brings LlamaCloud’s document capabilities into [n8n](https://n8n.io/), 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](https://www.npmjs.com/package/@llamaindex/n8n-nodes-llamacloud).

## Installation

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](/_astro/n8n-install.Q5EFxX5u_Z1aLClQ.png?dpl=dpl_DjTznaD9KZktkQHcXbRibNvb87bd)

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

## Configure credentials

To use the node you need an API key from the LlamaParse Platform at [cloud.llamaindex.ai](https://cloud.llamaindex.ai/). See the [API Key guide](../../general/api_key/) 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](/_astro/n8n-llamaparse-creds.CpufjwU9_ZQa11J.png?dpl=dpl_DjTznaD9KZktkQHcXbRibNvb87bd)

## Feeding files into the node

Most of the operations below allow for both a **binary file data** and a **file ID** as input. File IDs can be obtained through the `Upload a file` action, which allows to upload binary data to the LlamaParse Platform, whereas passing file data directly requires them to be provided from a source outside of n8n, such as an S3 bucket or a Webhook.

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.

In addition to file IDs and binary data, the `Parse a file` action also supports **file URLs**.

## Upload a file

Select the **Upload a file** action to upload file data to the LlamaParse Platform and obtain a file ID that can be reused across operations.

As said before, file data can only be provided from external sources, such as Webhook triggers.

![n8n upload action](/_astro/n8n-upload.Chda8owB_Z7Xwli.png?dpl=dpl_DjTznaD9KZktkQHcXbRibNvb87bd)

## Parse a document

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

Configure:

- **Input type** — whether you’re providing raw binary data, a file ID or a file URL as input
- **Input** — the binary data, file ID or URL of the document to parse
- **Parsing tier** — the parsing preset to use
- **Version** — the parser version to run

![n8n parse action](/_astro/n8n-parse.BzhThaIU_Z2rVJbU.png?dpl=dpl_DjTznaD9KZktkQHcXbRibNvb87bd)

## Extract structured data from a document

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

Configure:

- **Configuration mode** — whether you’re providing an existing extraction configuration ID from the LlamaParse Platform or a JSON schema
- **Configuration** — either a JSON schema that defines the structure of the data you want extracted, or an extraction configuration ID (depending on what was specified in the configuration mode)
- **Input type** — whether you’re providing raw binary data or a file ID as input
- **Input** — the binary data or file ID of the document to run extraction on

![n8n extract action](/_astro/n8n-extract.hCwkquOg_1APU3D.png?dpl=dpl_DjTznaD9KZktkQHcXbRibNvb87bd)

## Classify a document

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** or **file ID** of the file to classify.

![n8n classify action](/_astro/n8n-classify.CKbPA67y_Z2uV4O8.png?dpl=dpl_DjTznaD9KZktkQHcXbRibNvb87bd)

## Split a file

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

Configure:

- **Input type** — whether you’re providing raw binary data or a file ID as input
- **Input** — the binary data or file ID of the document to split
- **Categories** — the categories according to which the file should be split.

![n8n split action](/_astro/n8n-split.Bb2Gsnzd_WQk7v.png?dpl=dpl_DjTznaD9KZktkQHcXbRibNvb87bd)

## Chat with a LlamaCloud Index

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

Note

Before using this action, you need to [create an Index on LlamaCloud](../../cloud-index-v2/getting_started/).

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 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 action to enable retrieval and interactive chatting.

![n8n retrieve action](/_astro/n8n-index.DjCoVMbd_Z2lYTxQ.png?dpl=dpl_DjTznaD9KZktkQHcXbRibNvb87bd)

## Related

- [LlamaParse MCP](../mcp/) — the same capabilities as tools any MCP-compatible agent can call.
- [Skills and Plugins](../skills/) — teach a coding agent to drive the platform directly.
