n8n: throw on FAILED memory events (was silently returned), poll on any non-terminal status (PENDING or RUNNING), use top_k (not limit) for search, coerce search/getAll responses to arrays, guard invalid-JSON metadata, reject empty updates, mark user_id required; lint clean. Zapier: coerce boolean fields (String(x) !== 'false') + boolean defaults so "Wait"/"Infer = No" are honored, throw on HTTP >= 400 (was silent empty/fake-success), throw on FAILED events, use top_k, numeric coercion with clamping, mark user_id required.
Zapier integration for Mem0
A Zapier integration for Mem0 — the memory layer for AI agents. Add, search, list, and delete long-term memories from any Zap.
Built with the Zapier Platform CLI.
Actions
| Type | Name | Endpoint |
|---|---|---|
| Create | Add Memory | POST /v3/memories/add/ |
| Create | Delete Memory | DELETE /v1/memories/{id}/ |
| Search | Search Memories | POST /v3/memories/search/ |
| Search | Get Memories | POST /v3/memories/ |
Add Memory runs LLM extraction asynchronously by default; the action polls the event until it completes and returns the resulting memories. Turn off Wait for Completion to return immediately, or set Infer = false to store verbatim (synchronous).
Authentication
Custom (API key) auth. Provide a Mem0 API key from app.mem0.ai → Settings → API Keys. It is sent as Authorization: Token <key>.
Development
npm install
MEM0_API_KEY=m0-... npm test # runs the E2E suite against api.mem0.ai
To deploy (maintainers): zapier login && zapier push.
License
MIT