﻿# n8n Simple Vector Store memory keys are global and data is temporary

Use n8n Simple Vector Store with a clear development boundary: keys are instance-wide, vectors live in application memory and chat history is a separate mechanism.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-n8n-simple-vector-store-scope/
Language: en

## Identify the storage actually being used

A prototype retrieves a sample handbook successfully, so its creator assumes the private workflow now has a private document database. n8n's [Simple Vector Store reference](https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.vectorstoreinmemory) describes in-application memory and recommends development use. A working retrieval example establishes a useful prototype, but it does not establish the persistence or audience expected of a maintained team knowledge service.

## Read the global-key boundary

Simple Vector Store memory keys are global rather than scoped to a workflow. The reference says other users on the instance can select that key through their own node, regardless of the original workflow's access controls. A distinctive key name is a locator, not an access grant. Choose harmless development content and evaluate the actual storage boundary before placing documents whose intended audience is narrower than the instance's users.

## Expect data to disappear independently of the canvas

Stored vectors are lost when n8n restarts and can be removed under memory pressure or inactivity cleanup. Saving the workflow preserves its design, not necessarily the data currently held by this node. When a prototype suddenly returns no documents, check storage lifetime before adjusting similarity or rewriting the handbook. Record how the sample corpus is reconstructed so the demonstration does not depend on undocumented process memory.

## Separate document storage from chat history

The [Simple Memory reference](https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memorybufferwindow) concerns conversation history and session keys, with a separate warning about worker routing in queue mode. A similar product name does not give the vector store that conversation function. The [Vector Store Retriever](https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.retrievervectorstore) reads documents and limits returned results; connecting it does not add persistence or repair instance-wide key access.

## State the prototype's real acceptance criteria

Test retrieval with an intentionally disposable corpus and document its rebuild process and audience. A [task contract](/journal/learn-codex-task-contract/) can distinguish “demonstrates retrieval now” from “retains restricted team knowledge.” The [tool-observation guide](/journal/learn-codex-tool-observation/) keeps those claims tied to evidence. If a later application needs durable or isolated data, evaluate a storage design that provides those properties explicitly instead of assuming the successful prototype already supplied them.
