n8n + MemorySync
Two nodes: workflow memory operations, and the only maintained AI Agent memory sub-node from a memory vendor.
Overview
Install n8n-nodes-memorysync from the community-nodes panel and get two nodes. The MemorySync node covers six workflow operations — Add Memory, Add Conversation Turn, Search, Recall Context, Get Many, Delete — and is marked usable as a tool, so an AI Agent can call it autonomously. The MemorySync Chat Memory node plugs into the AI Agent’s memory port: conversation history persists in MemorySync across executions, restarts and redeploys, scoped by session and end user. Writes carry deterministic idempotency seeds so retried executions never duplicate a conversation, a MemorySync outage degrades to “no history this run” instead of failing the workflow, and the memory node’s clear() is a deliberate no-op — an agent can never bulk-delete a customer’s history. The built-in credential test makes a real query, so a bad key fails at setup time, and the package has zero runtime dependencies. n8n’s own Zep memory node is deprecated and hard-removed in n8n v3; this is the maintained replacement pattern.
Setup status and requirements
- Supported version
- n8n-nodes-memorysync 1.0.0 (npm)
- Last setup review
- 2026-08-24
- Permissions
- A MemorySync API key with read and write scopes.
- Limits
- Community nodes require self-hosted n8n (Cloud lists only verified nodes; verification submission in progress). The Chat Memory sub-node requires an n8n version that ships @n8n/ai-node-sdk.
Capabilities
- AI Agent memory sub-node — history persists across executions and restarts
- Six workflow operations including prompt-ready Recall Context
- usableAsTool: the AI Agent can call memory operations autonomously
- Deterministic idempotency seeds — retried executions never duplicate
- clear() is a deliberate no-op: agents cannot bulk-delete history
- Fail-open: a memory outage never breaks the workflow or the agent
- Credential test performs a real query — bad keys fail at setup
- Zero runtime dependencies (verified-program ready)
Quick Start
Settings → Community Nodes → Install → n8n-nodes-memorysyncChat Trigger ─▶ AI Agent ◀─memory─ MemorySync Chat Memory◀─tool─── MemorySync (Search / Add)Memory node parameters:Session ID: {{ $json.sessionId }}End User ID: {{ $json.userId }}Context Window Length: 10 # turn pairs per run
Use Cases
n8n AI Agents whose conversations survive restarts and redeploys
Workflow automations that store and recall customer facts
Replacing the removed Zep memory node with a maintained equivalent
Explore More
Built for production AI systems
Build AI systems that remember
MemorySync provides the infrastructure layer for persistent memory, adaptive retrieval, and enterprise AI intelligence.
Start free. No credit card required.