Skip to content

LlamaCloud Component Parse

LlamaCloud Component Parse sends your documents to LlamaCloud, a service that reads files such as PDFs, contracts or reports, and returns their content as text. The text keeps the document’s structure: headings, lists and tables.

It is useful when you want an agent to work with a document’s content without losing how it is organised.

When to use it

  • Turn a contract into text so an agent can review its clauses.
  • Read the tables of a PDF financial report and summarise its figures.
  • Prepare manuals or catalogues to store them in a knowledge base.
  • Convert several documents at once and handle them one by one.

Configuration

This component needs a LlamaCloud credential, with the access token and the server address. Pick it in the component’s credential field. See how to create it in Credentials.

FieldWhat it does
Organization Name (required)The organisation in your LlamaCloud account. The list loads when you pick the credential.
Project Name (required)The project within that organisation. The list loads when you pick the organisation.
Base 64 input (required)The file or files you want to convert. Connect the file that reaches the flow. You can connect several.

Output

The Result output returns one record for each document, with a markdown field holding the text with its structure. Markdown is a way of writing formatted text in which, for example, headings start with # and tables are drawn with vertical bars.

If a document can’t be converted, it doesn’t appear in the result. Check that the number of records matches the number of files you sent.

Connect the output to an agent, a text splitter or any component that works with text. An agent can also use the component as a tool; see what Tool Mode is in Key concepts.

Example

Your legal team uploads a PDF contract to the flow’s chat. LlamaCloud Component Parse turns it into text with its sections and tables, and an agent answers which payment terms and penalties it includes.