“KV Storage” is a small node, that provides storage for your variables inside n8n:
You can install it by typing “@telepilotco/n8n-nodes-kv-storage” in Community Node installation dialog on your self-hosted n8n instance.
It is very similar to Redis node, but it does not require you setting up additional infrastructure and running separate Redis container.
All values are stored directly in n8n memory and can be accessed until they expire or until n8n is restarted.
You can put your variables in different scopes (
INSTANCE) for better organization. And we have also added Trigger/listener Node and few debugging/utility actions to the package to make it easier to use and create workflows with it.
Here are release notes for version 0.0.1:
- implemented scopes (
- implemented actions:
Expires / TTLparameter is active by default in setValue action: you can disable it if you would like this key/value to be persisted until n8n restart
- key/value pairs that have TTL set will be automatically deleted after they expire
- automatic deletion task is running in background every 1 second
- Trigger node is listening for key/value update events in different scopes
- Trigger node allows filtering by
eventType( value was
If you notice something is wrong, feel free to file a ticket in github repository or drop a comment into this thread.