---
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)

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)

## Feeding files into the node

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.

## Parse a document

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](/_astro/n8n-parse.COfoFCvW_Z1M0fv5.png)

## 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:

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

![n8n extract action](/_astro/n8n-extract.1wrTeWrK_Z1ILRkf.png)

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

![n8n classify action](/_astro/n8n-classify.DjlX8pYn_cKq0G.png)

## Split a file

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](/_astro/n8n-split.Cd9ToFXb_Z5r6bG.png)

## Chat with a LlamaCloud Index (Index v2)

The Index v2 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 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](/_astro/n8n-index.DjCoVMbd_Z2lYTxQ.png)
