Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/n8n agents official/MEMORY
Reference · n8n agents official

MEMORY

Part of n8n agents official. Install the skill and your agent reads this page when it needs the depth.

Memory and sessions

Turn it on

"memory": { "enabled": true, "storage": "n8n" }. The UI writes this on every save; create_agent doesn't. Without it, verified live: told "my favorite color is teal", then asked in the same session, the Agent said it had never been told.

That block gives three things:

Kind Scope What it does Config
Conversation history One session (thread) The turns so far On with the block
Observational memory One session Compresses long sessions into running observations so they fit the context On unless observationalMemory.enabled: false. Optional observerModel, reflectorModel, token thresholds
Episodic memory Across sessions, per memory owner (below) The Agent flags facts worth keeping and recalls them in later sessions Off unless episodicMemory: { "enabled": true, "credential": "managed" } or an embedding credential id. topK, maxEntriesPerRun

Sessions also get an auto-generated title (the names in the Sessions list).

Who shares what

Caller Session (thread id) Memory owner (episodic scope)
Preview, call_agent Per test conversation The builder user (draft chat)
n8n Chat Per conversation The n8n user
Slack, Telegram, Discord, Linear <agentId>:<platform thread>, e.g. <agentId>:chat:8902230296-telegram:8955744864#1 The platform user
Scheduled task Per run The task
Message an Agent workflow:project-<projectId>:<sessionKey> The session itself

Consequences:

What memory isn't

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.