
n8n is a fair-code workflow automation platform designed for technical teams who need the flexibility of custom code without abandoning a visual builder. Unlike SaaS-only tools, it can be fully self-hosted, making it suitable for manufacturers and IT/OT integrators who must keep data on-premise.
n8n sits in the integration layer between OT and IT systems. Common patterns in industrial environments:
n8n runs as a single Docker container for small teams or a scaled queue-mode cluster for enterprise:
docker run -it --rm \
-p 5678:5678 \
-v ~/.n8n:/home/node/.n8n \
n8nio/n8n
For production: Docker Compose with PostgreSQL backend, Redis for queue mode, reverse proxy (Traefik/Nginx) for TLS. Helm chart available for Kubernetes.
n8n uses a two-part fair-code license: the Sustainable Use License covers the core (self-hosting permitted, commercial resale of the platform restricted) and the n8n Enterprise License covers enterprise features. This is not an OSI-approved open-source license — vendors building managed n8n services must negotiate a commercial agreement. Community edition features are free forever.
n8n workflows can write to InfluxDB via HTTP API calls, acting as a transformation and routing layer between MQTT/webhook event sources and time-series storage.
n8n can trigger Grafana annotations, fire alerts into n8n workflows via webhooks, and write processed data to datasources (PostgreSQL, InfluxDB) that Grafana visualizes — linking automation pipelines to dashboards.
n8n's built-in MQTT Trigger node subscribes directly to Mosquitto broker topics, enabling event-driven workflows whenever a device publishes a message — connecting shop floor events to business systems.