Learning resourcesReviewed · n8n

How memory works in n8n

This n8n guide explains conversation memory for people building AI agent workflows, but it provides no step-by-step configuration. It introduces Simple Memory, five memory-service integrations and Chat Memory Manager, and states that n8n AI chains cannot use memory.

Researched 14 Nov 2026

In short.

This n8n guide introduces conversation memory to beginners and developers building AI workflows, but it does not explain how to configure a working workflow. Simple Memory retains a configurable length of chat history for the current session. The page also identifies service integrations and advanced management options. Agent nodes can use memory; chains cannot. Costs, supported versions, retention guarantees and runtime performance are not established.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete selected page at [https://docs.n8n.io/build/integrate-ai/understand-ai-components/how-memory-works.md], including its agent-versus-chain footnote and notices about the documentation index and Markdown access. The linked index, node documentation and related guides are excluded. No software was executed, and configuration, integration availability and runtime behavior were not independently verified.

The overview

Identity

How memory works is a conceptual guide in n8n's AI documentation. It explains why conversation history matters and identifies n8n nodes for retaining or managing it. Source: [https://docs.n8n.io/build/integrate-ai/understand-ai-components/how-memory-works.md].

Assessment

The guide is useful for understanding the available memory options before configuring an agent. Its clearest practical guidance is to start with Simple Memory for basic session history and consider Chat Memory Manager for more complex operations. It provides neither a storage-service comparison nor a complete implementation tutorial.

Users

Beginners can use the page to understand how a chatbot carries context between messages. Developers building n8n agents can use it to identify relevant memory nodes and a significant architectural constraint: n8n AI chains cannot use memory.

Capabilities

Simple Memory stores a configurable length of chat history for the current session. The page also lists memory nodes for Motorhead, Redis Chat Memory, Postgres Chat Memory, Xata and Zep.

Chat Memory Manager supports advanced management when a memory node cannot be added directly or ordinary memory nodes are insufficient. Examples include checking and reducing memory size associated with an Agent node's response, and inserting messages that appear as user messages to provide additional context.

Using it

Requirements

For the conversational memory described here, the page identifies n8n AI agent nodes as compatible and excludes AI chains. It does not specify supported n8n versions, model requirements, hosting constraints, credentials or infrastructure requirements for the listed services.

Mechanism

Memory retains previous messages so later interactions can use earlier conversational context instead of starting afresh. Simple Memory limits the amount of session history retained. The page does not explain how messages are selected or passed to the model, how sessions are identified, or what survives a restart.

Setup

The conceptual setup is to add Simple Memory or one of the listed service-backed memory nodes to an AI workflow. The guide presents Simple Memory as the easiest starting option and links to individual node documentation. Connection steps, session settings, credentials and deployment configuration are absent from this page.

Example

An illustrative use case is an agent that proposes a three-day trip, followed by a user asking to shorten the second day. Retained chat history can provide the earlier plan as context for that follow-up. This is a hypothetical example; no workflow was executed or response quality measured.

Assessment & evidence

Limitations

The explicit compatibility limit is that AI agent nodes can use memory while AI chains cannot. Simple Memory is described in terms of the current session and a configurable history length; this does not establish durable retention across sessions or restarts.

The page does not document session isolation, deletion behavior, storage limits, concurrency, failure recovery or latency. It also does not establish how reliably an agent uses retained context.

Reasoning

The guide suggests a practical decision sequence: first determine whether the workflow uses an agent, then consider Simple Memory for basic session history. Investigate Chat Memory Manager when direct attachment is unavailable or more control is needed. Choosing among the external services requires information beyond this page.

Alternatives

The alternatives named here are Simple Memory and integrations with Motorhead, Redis, Postgres, Xata and Zep. Chat Memory Manager addresses additional management needs. The page does not compare their durability, performance, cost or operational complexity, so it does not establish which service best fits a particular deployment.

Evidence

The evidence is the complete text of n8n's How memory works documentation page. It supports the conceptual explanation, named node options and stated compatibility restriction. It supplies no executable workflow example, execution output, benchmarks or test results. Nothing was run, and runtime behavior was not assessed.

Access & freshness

Costs

The page provides no pricing for n8n, model usage or the listed memory services. Total operating cost is unknown. Free tiers, included usage, storage charges and usage limits are not established.

Rights

The supplied page states no licence or redistribution terms for its documentation and provides no usage terms for n8n or the listed services. Those rights and obligations cannot be established from this page.

Freshness

The supplied capture is dated 2026-11-14T18:52:43.402Z. The page itself gives no publication date, last-update date or supported n8n version. The capture date does not establish when the guidance was written or whether every listed integration remains available.

Actions

Confirm that the intended workflow uses an AI agent, then consult the linked Simple Memory documentation for configuration details. If external storage or advanced management is needed, consult the relevant service-node or Chat Memory Manager documentation. Establish session handling, retention behavior, deployment compatibility and costs before choosing an implementation.

Evidence for this report

selected-page.txtselected · checked 2026-11-14