Files
n8n-docs/archive/n8n-nodes-langchain.chainretrievalqa.md
Deborah Barnard 37600df69a clear out old link syntax (#3402)
Co-authored-by: Justin Ellingwood <justin@n8n.io>
2025-07-24 15:26:35 +01:00

1.4 KiB

title, description
title description
Retrieval QA Chain Documentation for the Retrieval QA Chain node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information.

Retrieval QA Chain

The Retrieval QA Chain node allows you to answer a query based on document content indexed by a retriever.

On this page, you'll find the node parameters for the Retrieval QA Chain node, and links to more resources.

/// note | Examples and templates For usage examples and templates to help you get started, refer to n8n's LangChain integrations page. ///

Node parameters

Query

This is the prompt that the model will use.

What can you tell me about {{ $json.input }}

Choose a mode

There are two modes:

  • Run Once for All Items: this is the default. When your workflow runs, the chain will run once, regardless of how many input items there are.
  • Run Once for Each Item: choose this if you want your chain to run for every input item.

View example workflows and related content on n8n's website.

Refer to LangChain's documentation on Retrieval QA for more information about the service.

--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md"