---
title: Question and Answer Chain node documentation
description: Learn how to use the Question and Answer Chain node in n8n. Follow technical documentation to integrate Question and Answer Chain node into your workflows.
contentType: [integration, reference]
priority: high
---

# Question and Answer Chain node

Use the Question and Answer Chain node to use a [vector store](/glossary.md#ai-vector-store) as a retriever.

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

## Node parameters

### Query

The question you want to ask.

## Templates and examples

<!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
[[ templatesWidget(page.title, 'retrieval-qanda-chain') ]]

## Related resources

Refer to [LangChain's documentation on retrieval chains](https://js.langchain.com/docs/tutorials/rag/) for examples of how LangChain can use a vector store as a retriever.

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

## Common issues

For common errors or issues and suggested resolution steps, refer to [Common Issues](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.chainretrievalqa/common-issues.md).


