I see a lot of people make the same mistake I made early on with n8n: I’d just grab the simple memory node because it was easy, then wonder why the agent felt unreliable the second I tried to use it in a real workflow.
The shortcut works for demos.
It usually breaks for production.
The cleanest way to think about n8n memory is this:
not every memory node is solving the same problem.
Some are for quick testing. Some are for persistent chat history. Some are better when speed matters. Some are better when I want memory to become part of a broader app backend.
Here’s how I’d actually choose.
Simple Memory is for testing, prototyping, and quick demos.
It’s great when I just want to see the agent remember the last few messages inside a single execution. No credentials, no setup pain, just plug in the session ID and go.
But I would not treat it like production memory.
The catch is simple: it’s not truly persistent across executions. Refresh, re-trigger, or call the workflow again from somewhere else, and that “memory” can disappear or reset in ways that make the agent look dumb. For internal testing? Fine. For client-facing agents? Risky.
If I want something fast to stand up and genuinely persistent, Zep is a strong option.
What I like about Zep is that it gives me a pretty smooth path to long-term memory without making me fight the setup. API key in, cloud mode on, done. That alone makes it attractive when I want to move fast.
The bigger win is the way it handles long-term context. If I need an agent to remember things from weeks ago and connect related ideas over time, Zep starts to make a lot more sense than a basic rolling buffer. The graph-style relationship mapping is interesting too, especially when conversations drift across topics and then circle back later.
If I want the memory layer to feel more like “real recall” than just “last few messages,” I’d seriously consider Zep.
If speed matters most, I lean Redis.
This is where I’d go for things like voice agents or any workflow where the memory read/write needs to be snappy. Redis is just fast. That’s the whole pitch, and it’s a good one.
I also like that Redis can fit nicely into self-hosted setups. If I’m already thinking about infrastructure and want something private, lightweight, and quick, Redis is a very practical choice. Using something like Upstash makes setup way easier if I don’t want to host it myself.
So for me:
- Simple Memory = testing
- Redis = speed
- Zep = long-term recall
Then there’s Postgres, which is probably the most broadly useful production choice.
This is the one I’d pick when I want memory to do more than just sit there. If I’m building an app, storing interaction history, connecting multiple agents, or pulling that memory back into other workflows later, Postgres is just solid.
Using Supabase on top makes it even easier. I can spin up the database, connect n8n, and now the chat history lives in a place that’s already useful for the rest of the system too. That matters a lot when I’m designing automations that need to evolve into products.
This is usually my favorite middle ground:
easy enough to set up, production-safe, flexible enough to build on.
If I know I’ll want to query that memory later, feed it into RAG, expose it in an app, or share it across systems, Postgres is the obvious move.
MongoDB works too, but for me it feels more like a preference pick than a default recommendation.
If the client already has Mongo in their stack, cool, I’ll work with it. If their backend is already built around documents and JSON-heavy patterns, also fine. But if I’m choosing from scratch, I usually don’t see a strong reason to pick Mongo over Postgres or Redis for n8n memory specifically.
So my actual recommendation is pretty simple:
I test with Simple Memory.
I ship most production systems with Postgres.
I use Zep when long-term memory is the real feature.
I use Redis when speed is the constraint.
That one shift alone would’ve saved me a lot of time early on.
I think the real trap is assuming “memory” is one feature. It’s not. It’s infrastructure. And once I started treating it that way, my agents got more reliable fast.
If I were setting up a new n8n agent today, I wouldn’t start by asking, which memory node is easiest?
I’d ask:
Do I need testing memory, persistent memory, fast memory, or reusable app-level memory?
That question usually gives me the answer in a minute.