Description
n8n-nodes-xmemory
xmemory is a memory interface with natural-language inputs and outputs, backed by schema under the hood.
Community n8n node for xmemory read, write, and create instance operations. This overview gives detailed description of xmemory.
n8n is a fair-code licensed workflow automation platform.
Installation
Check out installation guide and register your interest at xmemory website to get an API key.
Operations
Create Instance: CallsPOST /clusters/{cluster_id}/instances. Pick a Cluster (from the list by name, or by ID), and provide an Instance Name and a valid XMD Schema (JSON or YAML). Xmemory requires a schema to create an instance.Write: CallsPOST /instances/{instance_id}/write. Writes text into memory using the instance schema.Fast(default) anddeepextraction modes are supported. Optionally pass a Trace ID and toggle Diff Engine.Read: CallsPOST /instances/{instanceid}/read. Queries memory using a free-form natural-language query. Supported modes:single-answer(short summary),raw-tables(structured SQL-like representation),xresponse(schema-based structured response). Optionally restrict the read to specific objects via Scope Objects (identified by their user-defined primary key) together with a Relations Scope (norelationsorall_relations), and pass a Trace ID.- Quota exhausted (
HTTP 402, codeQUOTA_EXCEEDED): the message notes the daily or monthly limit and, when the server provides one, aretry after Nshint. This is not retried automatically — the tenant has used up its plan allowance. - Trial ended / subscription lapsed (
HTTP 402, codeTRIAL_ENDED): the message hints to subscribe to continue. Not retryable. - Rate limited (
HTTP 429, codeRATE_LIMITED): a genuine velocity limit; the message labels it as such. n8n’s HTTP layer may itself retry429s, but the node adds no extra retry logic. Base URL: xmemory API base URL, for examplehttps://api.xmemory.ai.API Key: API key used to authenticate against the xmemory API (sent asAuthorization: Bearer). Register your interest at xmemory.ai; we will reach out to discuss your scenario and issue an API key.- tutorial for xmemory usage from n8n
- xmemory documentation
- n8n community nodes documentation
Every operation returns the xmemory API payload directly: the response envelope ({ids, items, errors, consoleurl}) is unwrapped, so downstream nodes receive the operation result (read result, writeid, created instance, …). Errors are raised as node errors.
How account errors surface
When the xmemory accounts API rejects a call, the node turns the structured error envelope (errors[0].code / details) into a readable node-error message rather than a bare HTTP status:
If you enable workflow-level Retry On Fail, note that quota and trial errors are not transient and will keep failing until the underlying account state changes.
Credentials
Resources
Compatibility
This package targets the current community-node API version (n8nNodesApiVersion: 1). Validate against the n8n version you run in your environment.
Releasing
Releases are manual and version-driven:
1. Bump the version in package.json via a pull request and merge it to main.
2. Run the Publish workflow (Actions → Publish → Run workflow, or gh workflow run publish.yml).
The workflow publishes the current package.json version to npm and then pushes a matching git tag (X.Y.Z). If a tag for that version already exists, the run fails — bump the version first.