FlowKit

n8n vs Node-RED: which automation tool should you choose in 2026?

Published 5 August 2026 · 6 min read

Comparing n8n and Node-RED is a natural reflex: two visual flow editors, two projects you can self-host for free, two tools that run on a Raspberry Pi and display nodes connected by wires. The resemblance stops at the screen, though. The two projects were born for different problems, in different eras, and picking one "on looks" leads straight to frustration: rebuilding a Gmail OAuth2 integration by hand in Node-RED is just as painful as reading a millisecond-level sensor stream in n8n.

At FlowKit, we work with n8n daily — same transparency as in our n8n vs Make vs Zapier comparison. That won't stop us from naming the cases where Node-RED is objectively the better choice.

Two philosophies born six years apart

Node-RED was born in 2013 at IBM, inside the Emerging Technology team, as an implementation of flow-based programming: messages traveling between nodes, each reacting to an event. Its target, then as now, is the physical world: sensors, gateways, industrial protocols, with MQTT as a first-class citizen and the Raspberry Pi as its favorite playground. The project is now hosted by the OpenJS Foundation. Its IoT credentials are even academic: as early as 2014, Blackstock and Lea presented "Toward a Distributed Data Flow Platform for the Web of Things (Distributed Node-RED)" at the Web of Things Workshop (see it on Google Scholar), positioning Node-RED as the reference platform for distributing flows across servers, gateways and connected devices.

n8n, launched in 2019, aims at an entirely different field: business automation. Its raw material is not a sensor message but a SaaS API: CRMs, mailboxes, invoicing tools, databases, and since 2023, LLMs. Where Node-RED excels at reacting to a hardware event, n8n excels at orchestrating a process: receive an email, analyze it with an AI model, create a customer record, notify the team.

This difference in DNA explains everything else in this comparison.

Licenses: Apache 2.0 versus fair-code

On this point, Node-RED wins without debate. It is distributed under the Apache 2.0 license, a classic and permissive open source license, under the umbrella of an independent foundation. You can use it, modify it, embed it in a commercial product, resell it: no restrictions.

n8n is distributed under the Sustainable Use License, a so-called "fair-code" model derived from the Elastic License 2.0: source code available, free and unlimited self-hosting for internal use (including building workflows for your clients as a service provider), but reselling the automation service itself is prohibited without a commercial agreement. For an SMB, a freelancer or an agency, the difference is theoretical; it becomes real if you embed the engine in a product you sell.

Installation: a draw on the Raspberry Pi

Both tools are comparably frugal and install in minutes on the same machine: Node-RED via its official script or Docker, n8n via Docker — see our Docker guide and our Raspberry Pi installation guide. The real cost of self-hosting is in the same ballpark for both: this criterion settles nothing.

Connectors: managed credentials versus a hardware ecosystem

This is where the trajectories diverge the most.

n8n ships several hundred native SaaS integrations with credential management included: OAuth2, token refresh, encrypted storage. Connecting Gmail, HubSpot or Notion takes two minutes. In Node-RED, the same Gmail connection means creating a Google Cloud project and managing the OAuth2 flow yourself inside your flows — doable, but artisanal.

On the other side, Node-RED's community library on the hardware front is unmatched: Raspberry Pi GPIO, Zigbee, Z-Wave, Modbus, BACnet, Home Assistant, built-in dashboards to visualize your sensors. Thousands of contributed nodes cover just about anything with an antenna or a wire. n8n does have MQTT nodes, but nobody will wire a KNX bus into it.

Data: items versus messages

Node-RED moves messages (msg.payload) one at a time, in a purely event-driven model: perfect for a temperature reading every second. n8n manipulates lists of items: each node receives an array, transforms it and passes it on, with merge, deduplication, looping and aggregation operations designed for business data — processing 200 CRM rows in a single pass is the nominal case, not an edge case.

AI: the widest gap of 2026

If your projects include AI, the match is lopsided. n8n ships a complete native framework: an AI Agent node with tools and conversational memory, vector stores for RAG, interchangeable models (OpenAI, Anthropic, Mistral, Ollama locally). Our guide to getting started with n8n's AI nodes shows that a working document assistant can be built in a day. On the Node-RED side, community nodes let you call an LLM, but there is no agent framework, no built-in RAG, no native conversation handling: everything has to be assembled.

Multi-user and security

n8n offers built-in user management (accounts, credential and workflow sharing, finer-grained access controls in paid tiers). Node-RED remains fundamentally single-user: an adminAuth protects the editor, without real per-user permission separation. A caution shared by both: community nodes run with the platform's full privileges. The study "Securing Node-RED Applications" by Ahmadpanah, Balliu, Hedin, Olsson and Sabelfeld (2021, see it on Google Scholar) showed that malicious or vulnerable third-party nodes can compromise an entire Node-RED installation. The lesson applies to n8n too: only install proven community nodes, especially on an instance that holds your credentials.

Comparison table

Criterion n8n Node-RED
Born in 2019 (n8n GmbH) 2013 (IBM, OpenJS Foundation)
License Fair-code (Sustainable Use License) Apache 2.0 (open source)
Home turf APIs, SaaS, business processes, AI IoT, sensors, hardware events
MQTT / hardware Basic MQTT nodes Native + massive ecosystem (GPIO, Zigbee, Modbus…)
SaaS connectors Hundreds, managed OAuth2 credentials Few, hand-rolled authentication
AI / agents / RAG Native and mature Isolated community nodes
Data model Items in batches Individual messages
Multi-user Yes, built-in No (single-user)
Raspberry Pi Yes Yes (historic home ground)
Visual dashboard No Yes (Node-RED Dashboard)

Concrete cases: who wins where

  • Home automation, sensors, workshop, hydroponics, Zigbee gateway: Node-RED, no hesitation. The hardware ecosystem, the dashboard and the event-driven model were made for this.
  • Business automation — email, CRM, invoicing, reporting: n8n. Managed connectors and the item-based model save weeks.
  • AI workflows — inbox triage, document RAG, agents: n8n, the gap is wide open.
  • A commercial product embedding a flow engine: Node-RED's Apache 2.0 license is a decisive legal argument.

Sometimes the best choice is both

The duo is actually a classic pattern: Node-RED handles the physical layer and publishes its events over MQTT or HTTP; n8n receives them through a webhook and runs the business process. Example: a temperature sensor in a cold room reports over MQTT to Node-RED, which filters out the noise and only calls the n8n webhook when a threshold is exceeded; n8n creates a ticket, notifies the on-call person on Slack and logs the incident. The integration takes one node on each side.

Summary

n8n and Node-RED are not competitors: they are two tools born for two worlds. Node-RED, open source under Apache 2.0, remains the reference for hardware, sensors and MQTT — on that ground, it wins, period. n8n dominates business automation just as clearly: managed SaaS connectors, batch data handling, multi-user support and a native AI framework with no equivalent on the other side. If your project talks to APIs more than to GPIO pins, start with n8n — and to see quickly what it is capable of, the AI Inbox Pack (€79) provides a complete smart email triage workflow, up and running in an afternoon, even on the Raspberry Pi where your Node-RED may already be humming.

FAQ

Frequently asked questions

Can Node-RED replace n8n for business automation?

Technically, a lot of it is feasible: Node-RED can call HTTP APIs and manipulate JSON. But everything n8n provides out of the box — SaaS connectors with managed OAuth2 authentication, centralized credential storage, retry on error, detailed execution history, native AI nodes — would have to be rebuilt by hand. For two or three simple flows, why not; for serious business process automation (CRM, email, invoicing, AI), the cost of rebuilding quickly exceeds the cost of running n8n alongside.

Can n8n speak MQTT and drive connected devices?

Yes, n8n has MQTT nodes (trigger and publish), so it can plug into an IoT environment. However, it has neither Node-RED's hardware ecosystem (Raspberry Pi GPIO, Zigbee, Modbus, Home Assistant…), nor its event-driven model built for high-frequency sensor streams, nor its built-in dashboard. For a sensor feeding a business workflow, n8n is enough; for real home automation or industrial work, Node-RED remains the natural tool.

Should you install both on the same machine?

It is entirely possible and even common: both run in Docker on a simple Raspberry Pi 4 or 5, each on its own port. The classic pairing is to let Node-RED handle the hardware and event layer (sensors, MQTT, home automation) and have it call an n8n webhook whenever an event deserves business processing: a notification, a ticket, a CRM record, an LLM analysis. Each tool stays on its home turf.

Bundle FlowKit Complet

€269