Back to Trending
RepositoryTypeScript
telepilotco

telepilotco/n8n-nodes-kv-storage

In-Memory Key-Value storage for N8N workflows supporting multiple scopes: execution-only, workflow and instance

56stars
7forks
0issues
1views

🗃️ KV Storage – Key-Value trong bộ nhớ cho N8N

Một N8N community node nhẹ cung cấp lưu trữ key-value trong bộ nhớ, hỗ trợ nhiều cấp phạm vi sử dụng khác nhau.

n8n-nodes-kv-storage là một node cộng đồng cho N8N, cung cấp một kho lưu trữ key-value đơn giản nhưng hữu ích, được lưu trữ hoàn toàn trong bộ nhớ. Dự án hướng tới các trường hợp bạn không muốn sử dụng database hay Redis, nhưng StaticData hoặc Code node không đáp ứng đủ nhu cầu.

✨ Điểm nổi bật

  • Lưu trữ trong bộ nhớ: Không cần backend, mọi dữ liệu được lưu trữ trực tiếp trong bộ nhớ của quá trình N8N.
  • Hỗ trợ 3 Scope: Execution (chỉ dùng trong một lần chạy workflow), Workflow (dùng chung trong một workflow), và Instance (toàn bộ workflow trên một node).
  • Tự động xóa theo TTL: Các giá trị có thời gian hết hạn (Expires/TTL) sẽ tự động bị xóa sau khoảng thời gian quy định.
  • Theo dõi sự kiện: Gửi sự kiện added, updated, deleted để node KV Storage Trigger lắng nghe và phản hồi.
  • Các hành động đa dạng: Hỗ trợ setValue, incrementValue, getValue, listAllScopeKeys, listAllKeyValues, và công cụ debug listAllKeyValuesInAllScopes.
  • Tích hợp dễ dàng: Sử dụng make run để kiểm tra cục bộ hoặc make prepublish để định dạng và kiểm tra mã nguồn trước khi đẩy.

💡 Vì sao đáng chú ý

KV Storage không phải là giải pháp lưu trữ trữ vĩnh viễn, nhưng nó rất hữu ích trong các tình huống cần truyền dữ liệu ngắn hạn giữa các node trong một workflow hoặc giữa các lần thực thi. Đặc biệt phù hợp với việc lưu trữ trạng thái tạm thời, đếm vòng lặp, hoặc kết hợp chuỗi ký tự trong quá trình thực thi.

Tuy nhiên, do chỉ lưu trữ trong bộ nhớ và không chia sẻ dữ liệu giữa các tiến trình, node này yêu cầu cấu hình EXECUTION_PROCESS=main. Trong môi trường đa node hoặc chạy ở chế độ own, bạn nên cân nhắc dùng Redis thay thế.


#N8N #KeyValueStorage #CommunityNode #TypeScript #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
dragonflydb/dragonfly

A modern replacement for Redis and Memcached

31.8k
Oct 24, 2026
RepositoryC
valkey-io/valkey

A flexible distributed key-value database that is optimized for caching and other realtime workloads.

27.5k
Oct 22, 2026
RepositoryC
dicedb/dicedb

Open-source, low-latency key/value engine built on Valkey with query subscriptions and hierarchical storage tiers.

10.8k
Apr 23, 2026
RepositoryGo
olric-data/olric

Distributed, in-memory key/value store and cache. It can be used as an embedded Go library and a language-independent service.

3.5k
Aug 20, 2026
RepositoryTypeScript
umanamente/n8n-nodes-imap

This is an n8n community node that adds support for IMAP email servers.

164
Sep 18, 2026
RepositoryTypeScript
jreyesr/n8n-nodes-tesseractjs

A N8N node that exposes the Tesseract OCR engine for converting images to text

126
Oct 16, 2026
RepositoryTypeScript
mbakgun/n8n-slack-socket-mode

This n8n community node enables Slack Socket Mode within your n8n workflows. Note : Heym (https://heym.run) has slack event subs capabilities

123
Apr 22, 2026
RepositoryTypeScript
CodelyTV/n8n-nodes-twitch

Twitch node for n8n: Trigger workflows on stream start or stream end, search for Twitch streams details…

68
Jul 28, 2025
RepositoryTypeScript
swimmingkiim/n8n-nodes-crawl-and-scrape

n8n custom node to crawl and scrape website with crawlee

61
Dec 18, 2025