Cluster Nodes
sub-nodes
n8n-nodes-langchain.memorybufferwindow
Overview

Simple Memory node

Use the Simple Memory node to persist chat history in your workflow.

On this page, you'll find a list of operations the Simple Memory node supports, and links to more resources.

⚠️

Don't use this node if running n8n in queue mode: If your n8n instance uses queue mode, this node doesn't work in an active production workflow. This is because n8n can't guarantee that every call to Simple Memory will go to the same worker.

Node parameters

Configure these parameters to configure the node:

  • Session Key: Enter the key to use to store the memory in the workflow data.
  • Context Window Length: Enter the number of previous interactions to consider for context.

Related resources

Refer to LangChain's Buffer Window Memory documentation (opens in a new tab) for more information about the service.

Common issues

For common questions or issues and suggested solutions, refer to Common issues.