LIVE DEMO → Home Product
Features Use Cases Compare Enterprise
Docs
Documentation Quickstart MCP Server Integrations Benchmark
Pricing Blog DASHBOARD → LOG IN →
Tutorial n8n Community Node March 27, 2026 · 9 min read

Persistent Memory in
n8n with the Kronvex Node

n8n workflows forget everything between runs. The official n8n-nodes-kronvex community node gives your AI agents a persistent memory layer — install it in two clicks, store and recall context without writing a single line of code.

In this article
  1. Why n8n agents forget between runs
  2. Install the community node
  3. Set up Kronvex credentials
  4. Core workflow: AI agent with persistent memory
  5. Use case: sales intelligence workflow
  6. Node reference — all operations
  7. Tips and best practices

Why n8n agents forget between runs

n8n's built-in "Window Buffer Memory" node keeps context alive for the duration of a single workflow execution. The moment the run ends — triggered by a webhook, a scheduled cron, or a manual test — that memory is discarded. The next execution starts from a blank slate and has no knowledge of what any user said before.

For one-shot automations this doesn't matter. But for anything that interacts with the same user over time — support bots, sales follow-ups, onboarding sequences, research assistants — it is a fundamental limitation. Kronvex stores memories in a persistent, semantically searchable database hosted in the EU, and the Kronvex Memory node makes this available directly inside n8n with zero configuration overhead.

What makes it different from a vector store? A vector database stores documents for retrieval. Kronvex stores agent memories — typed (episodic / semantic / procedural), scored by recency and access frequency, with per-user session scoping and optional TTL expiry. It is a memory layer, not a retrieval layer.

Install the community node

Community nodes are installed directly from the n8n interface. No terminal, no npm, no Docker rebuild required.

1
Open your n8n instance and go to Settings (gear icon, bottom-left sidebar)
2
Click Community Nodes in the left panel
3
Click Install a community node
4
In the package name field type exactly: n8n-nodes-kronvex
5
Click Install and wait ~10 seconds. The node will appear in your node palette as Kronvex Memory.
Self-hosted n8n? Make sure N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true is set in your environment variables. Cloud n8n instances support community nodes natively.

Set up Kronvex credentials

You need a Kronvex API key and an Agent ID before you can use the node. Both are available for free from the Kronvex dashboard — no credit card required.

1
Sign up at kronvex.io/dashboard and create an Agent. Copy the Agent ID.
2
In n8n go to Credentials → Add credential → Kronvex API
3
Paste your API key (starts with kv-) in the API Key field and click Save

The credential is now available to all Kronvex Memory nodes in your instance. Use one credential for all your workflows — or create separate credentials for dev and production environments.

Core workflow: AI agent with persistent memory

The minimal pattern for a persistent AI agent in n8n is three nodes. Here is how to configure each one.

Node 1 — Trigger (Webhook or Chat)

Use a Webhook node (for API integrations) or the built-in n8n Chat Trigger. The trigger should output at minimum a userId (or sessionId) and the current userMessage. These two fields are what Kronvex will use to scope and search memories.

Node 2 — Kronvex Memory: Inject Context

Add a Kronvex Memory node immediately after the trigger. Set it up as follows:

KRONVEX MEMORY — Inject Context
FieldValue
CredentialSelect your Kronvex API credential
ResourceMemory
OperationInject Context
Agent IDYour Agent ID from the dashboard
Message{{ $json.userMessage }}
Session ID{{ $json.userId }}

This node returns a context string — a pre-formatted block of the most relevant past memories for this user and this message, ready to be inserted directly into an LLM system prompt.

Node 3 — AI Agent

Add an AI Agent node (or an OpenAI node). In the system prompt, reference the context output from the previous node:

AI Agent — System Message
You are a helpful assistant with access to the user's history.

{{ $('Kronvex Memory').item.json.context }}

Use the context above to personalise your response.
If no context is available, proceed normally.

Node 4 — Kronvex Memory: Remember

After the AI Agent responds, add a final Kronvex Memory node to persist the new information:

KRONVEX MEMORY — Remember
FieldValue
ResourceMemory
OperationRemember
Agent IDYour Agent ID
Memory Content{{ $('AI Agent').item.json.output }}
Memory Typeepisodic
Session ID{{ $('Webhook').item.json.userId }}

You can add a second Remember node in parallel to also store the user's original message with memory_type = episodic. Both messages will be retrievable in future runs.

Full flow summary: Trigger → Inject Context (recall relevant past) → AI Agent (system prompt enriched with memory) → Remember (store this exchange). The entire workflow takes about 2 minutes to wire up.

Use case: sales intelligence workflow

Here is a more complete example. Your sales team receives a new prospect's LinkedIn profile via a webhook. The workflow checks what Kronvex already knows about this company, generates targeted research questions, and stores the new findings for future reference.

1
Webhook — receives prospectName, company, linkedinUrl
2
Kronvex Memory: Recall — query: {{ $json.company }}, top_k: 8. Returns existing intel on this company from past interactions.
3
AI Agent — system prompt includes recalled intel. Instruction: generate 5 discovery questions specific to this prospect's context.
4
Kronvex Memory: Remember — store the prospect profile as a semantic memory with session_id = company
5
Send Email / Slack — deliver the research brief to the sales rep

The next time your team encounters the same company, step 2 will immediately surface everything from previous calls, emails and research — scoped to that company's session ID. No spreadsheet hunting required.

Recall vs Inject Context — when to use which

The node exposes two operations for retrieving memories:

RECALL — structured array
Use whenYou need to inspect or filter individual memories (scores, types, timestamps)
ReturnsAn array of memory objects, each with content, memory_type, score, created_at
Typical access{{ $json.memories[0].content }}
INJECT CONTEXT — ready string
Use whenYou want to pipe directly into a system prompt with no extra formatting
ReturnsA single context string, pre-formatted with headers and memory content
Typical access{{ $json.context }}

Node reference — all operations

Memory resource

REMEMBER
FieldDescription
Agent IDUUID of the Kronvex agent that owns this memory
Memory ContentText to store (summary, fact, conversation excerpt…)
Memory Typeepisodic (events), semantic (facts), procedural (patterns)
Session IDOptional — scope to a user or conversation (email, UUID, etc.)
TTL DaysOptional — auto-expire the memory after N days
RECALL
FieldDescription
Agent IDUUID of the agent to search
QueryNatural language search query (semantic similarity)
Top KNumber of memories to return (default 5)
Memory TypeOptional filter — return only episodic, semantic, or procedural
ThresholdOptional — minimum relevance score 0–1 (default 0.3)
INJECT CONTEXT
FieldDescription
Agent IDUUID of the agent
MessageThe current user message — used for semantic search
Session IDOptional — scopes the search to a user's memories
LIST / DELETE
OperationDescription
ListReturns all memories for an agent, with optional type and session filters
DeleteDeletes a specific memory by ID (Agent ID + Memory ID required)

Agent resource

AGENT OPERATIONS
OperationDescription
ListReturns all agents attached to your API key
CreateCreates a new agent — fields: Name, Description
DeleteDeletes an agent and all its memories permanently (Agent ID required)

Tips and best practices

Session ID — the most important parameter

Without a session_id, all users of your workflow share the same memory pool. A support bot that forgets session scoping will hallucinate context from other users' conversations. Always pass a stable user identifier — email address, Supabase user ID, phone number — as the session ID on every Remember and Recall call.

Memory types for better signal

Use memory types to improve retrieval quality. Store what happened as episodic, store facts as semantic, store recurring patterns as procedural. You can then filter by type in Recall to retrieve only the kind of information relevant to a given step in your workflow.

TTL for transient context

Not every memory needs to live forever. Use the TTL Days parameter to auto-expire short-lived context — support ticket details after 30 days, session summaries after 7 days, temporary user preferences after 90 days. This keeps your memory store lean and retrieval scores high.

Error handling — never break your workflow

Enable Continue on Fail on your Inject Context and Recall nodes. If the Kronvex API is temporarily unreachable, your workflow should still complete — just with an empty context. The AI Agent will respond without memory context rather than the whole workflow failing.

Add persistent memory to your n8n workflows

Free plan — 100 memories, 1 agent. No credit card. Operational in under 5 minutes.

Get your free API key →

Or read the full n8n integration docs

Related articles
Free access
Get your API key

100 free memories. No credit card required.

Already have an account? Sign in →