Node-RED can substitute for n8n in selected event-driven integrations when suitable nodes or custom functions provide the required behavior. Its local runtime is particularly relevant to device and edge workflows. The trade-off is operational ownership: flow imports, credential setup, node dependencies and persistence need explicit handling rather than being supplied by a managed cloud account.[2][3][4][6]
Overview
Node-RED is a flow-based programming tool for connecting events, data sources and processing steps. A browser editor builds flows that execute in a Node.js runtime, which can run on local hardware or cloud infrastructure. Its Apache 2.0 license and extensible node system make it a self-managed alternative for selected automation tasks.[2]
Editor and runtime
Flows connect nodes from a palette, with JavaScript functions available for custom processing. Reusable flows and templates can be stored in a library, and community nodes extend the available integrations. The browser interface is an authoring surface; the underlying runtime must remain available for deployed flows to execute.[2]
Flow definitions and persistent state
Context stores information outside the messages moving through a flow, at node, flow or global scope. Its default storage is memory-only, so those values disappear on restart. Filesystem persistence is an optional configuration rather than an automatic property of every Node-RED installation.[3]
The documented local-filesystem store caches values and writes them periodically, with a default interval of 30 seconds. Persistent context therefore does not mean every recent update is synchronously committed. The storage choice should reflect whether the workflow can reconstruct state after interruption or requires stronger persistence guarantees.[3]
Credentials and security
Node properties declared as credentials are stored separately from the main flow file and excluded from editor exports. JSON flow sharing is consequently not a complete transfer of an authenticated integration. This protection also depends on a node using the credential mechanism; values manually placed in ordinary fields require separate care.[4]
The security guide states that the editor is unsecured by default and that anyone able to reach it can deploy changes. It separately documents HTTPS, editor/admin authentication and protection for HTTP-node endpoints. Enabling one protection should not be assumed to secure every endpoint or make an exposed default installation safe.[5]
Capabilities & limitations
Default persistent context
unsupported
Default context is memory-only; filesystem persistence is optional and periodically flushed.[3]
Stateful automation · Web or self-hosted runtime; edition dependent · Provider availability and connected-service terms apply