Files
mem0/integrations/n8n-nodes-mem0
Himanshu-Sangshetti 339d1e35f8 docs(integrations): add Zapier and n8n docs; align n8n toolchain and codex
- Add docs/integrations/zapier.mdx and n8n.mdx, register both in docs.json
  (Developer Tools) and docs/llms.txt
- Align n8n CD toolchain (pnpm 9 / Node 20) with the checks workflow so the
  published artifact is built on the toolchain CI validated
- Add Mem0.node.json codex and copy it into dist via gulp for nodes-panel
  discoverability
- Align search default limit to 50 across Zapier and n8n
2026-07-20 12:23:56 +05:30
..

n8n-nodes-mem0

This is an n8n community node that lets you use Mem0 — the memory layer for AI agents — in your n8n workflows.

Mem0 gives your agents long-term memory: add memories from conversations, then search and recall them across sessions.

n8n is a fair-code licensed workflow automation platform.

Installation · Operations · Credentials · Usage · Resources

Installation

Follow the community nodes installation guide and install n8n-nodes-mem0.

Operations

The Memory resource supports:

Operation Description Endpoint
Add Extract and store memories from messages POST /v3/memories/add/
Search Semantic search over stored memories POST /v3/memories/search/
Get Many List memories for a user (paginated) POST /v3/memories/
Get Retrieve a single memory by ID GET /v1/memories/{id}/
Update Update a memory's text or metadata PUT /v1/memories/{id}/
Delete Delete a single memory by ID DELETE /v1/memories/{id}/

Add & asynchronous extraction

By default, Add runs LLM-based extraction asynchronously — the API returns an event ID and the node polls until extraction finishes, then returns the resulting memories. Disable Wait for Completion to return immediately with the event ID, or set Infer = false (under Additional Fields) to store messages verbatim and return synchronously.

Credentials

You need a Mem0 API key. Create one at app.mem0.ai → Settings → API Keys. The key is sent as Authorization: Token <key>.

Usage

This node is also usable as a tool by n8n's AI Agent node — attach it so an agent can "remember" and "recall" autonomously.

A typical loop:

  1. Search memory before answering, filtered by User ID.
  2. Add durable facts after a meaningful exchange.

Memory writes are asynchronous by default; allow a moment after an Add before searching for the same content.

Resources

License

MIT