LightRAG icon

LightRAG

Query and manage LightRAG with optional live progress in n8n Chat

Insert Text

AI-generated

Summary

Posts one text document to LightRAG for asynchronous indexing. Provide the text in the Request Body JSON object’s text field; other fields are passed through to the API.

Inputs

  • Request Body (required) — JSON object sent to LightRAG, defaulting to the current input item. It must include a non-empty text string; the node trims that value before sending it.

Output shape

A single item containing LightRAG’s response object for each input item.

Sends a POST request to documents/text. The response may include a track ID for checking indexing progress. Invalid or missing text causes an error; with Continue On Fail enabled, the node returns an item containing an error field.

Links

Discussion