LightRAG icon

LightRAG

Query and manage LightRAG with optional live progress in n8n Chat

Insert Texts

AI-generated

Summary

Submit multiple text documents to LightRAG for asynchronous indexing by sending a POST request to its documents/texts endpoint.

Inputs

  • Request Body (required) — A JSON object with a non-empty texts array of non-empty strings. The node trims each string before sending it. By default, the complete current input item is used; replace it or map an expression to provide the required texts field.

Output shape

A list of items containing LightRAG's response data, paired with their corresponding input items.

The request body must resolve to a JSON object; arrays or primitive values are rejected. The operation submits the texts for asynchronous indexing. Errors stop execution unless the node is configured to continue on fail.

Links

Discussion