Why n8n for manufacturing plants, and what changes on the plant network
n8n fits manufacturing when you need production events, ERP records and maintenance alerts connected without a separate custom integration project for each pair of systems. It works as a visual workflow layer between systems the plant already runs. A workflow can listen for an MQTT message from a line controller gateway or a database change from a historian or MES table, look up the related order in the ERP, and open or notify a work order for the maintenance team. n8n is source-available under the Sustainable Use License, not OSI open source, so the license terms need review by legal before rollout. A self-hosted instance runs on servers you control, inside the plant network or the enterprise data center, so event payloads and ERP records do not have to leave your environment to be processed.
The build changes your network diagram and who owns each integration, so it needs sign-off from both IT and OT before the first trigger is connected. An n8n instance that subscribes to a broker or queries a production database creates new flows across the boundary between the office network and the control zone. Plan the exact protocols, ports, source addresses and read or write permissions for each flow, and decide whether n8n may only read from the shop floor or may also write back to it. Ask the OT team which zone the instance should sit in, who patches it, and who may change a workflow that touches a production system. The ISA/IEC 62443 series is the usual reference for how asset owners organize these zone and conduit decisions, and the ISA/IEC 62443 series overview is a sound starting point for that conversation.
Which manufacturing rules shape an n8n build
This table compares the standards and regulations that touch manufacturing automation and what each one asks of an n8n build. Read each row as a design question to settle before workflows are written, not as a compliance finding. The main takeaway is that segmentation, logging and incident reporting paths need to be designed into n8n from the start.
| Requirement | Source | What it means for the n8n build |
|---|---|---|
| Industrial security program and risk assessment | ISA/IEC 62443 series (ANSI/ISA-62443-2-1-2024, ANSI/ISA-62443-3-2-2020, ISA-62443-3-3-2013) | Document which production systems n8n touches, assess the risk of each trigger and write action, and set the security level each zone must meet before connecting it. |
| Operational technology security and safety | NIST SP 800-82 Rev. 3 (September 2023) | Treat PLCs, SCADA, DCS and building systems as safety-relevant. Confirm with operations that a workflow cannot change setpoints or outputs, and that reliability and performance limits are respected. |
| Manufacturing as a critical sector | NIS2 Annex II (NACE Rev. 2 divisions 26 to 30) | Establish whether your plant or product lines fall in scope, which determines whether n8n logs and alerts must support regulatory reporting. |
| Incident reporting timeline | NIS2 Article 23(4): early warning within 24 hours, notification within 72 hours, final report within one month | Build workflows that capture timestamps, affected systems and execution history quickly, so the three reporting steps can be met from n8n records. |
| Safety against connected devices | Machinery Regulation (EU) 2023/1230, Annex III, 1.1.9, applying from 14 January 2027 | Confirm that an n8n integration does not create a path by which connecting another or remote device leads to a hazardous state. Review with the machine builder and safety engineer. |
| Vulnerability and incident reporting by manufacturers | Cyber Resilience Act (EU) 2024/2847, Article 14 (applies from 11 September 2026) | If your organization builds products with digital elements, track which internal workflows handle vulnerability and incident data and how quickly they reach the reporting team. |
How production events reach n8n and alerts reach maintenance
The diagram starts in the plant zone, where PLCs publish telemetry to an MQTT broker and production records sit in their own database. Only filtered topics and selected row changes cross into the DMZ, where the n8n main instance receives triggers and hands executions through a Redis queue to workers that read and write PostgreSQL. Workers then send work orders and alerts to the ERP, maintenance ticketing and chat or email. The dotted path marks the design point: nothing in this flow writes commands back to PLCs. Check each crossing against your zone and conduit design and confirm which direction your firewalls allow.
One-way event path into n8n, with alerts to maintenance and no PLC writes.
Keeping n8n out of the control path
n8n should observe and notify production systems, not close control loops. A workflow that reads a machine state over MQTT and posts a maintenance ticket is a monitoring function. A workflow that writes a setpoint back to a PLC, stops a line or changes a recipe is a control function, and it sits outside what a general-purpose automation platform should carry. The ISA/IEC 62443 series treats industrial control as a discipline where safety, performance and reliability come first, and NIST SP 800-82 Rev. 3 makes the same point for operational technology. The Machinery Regulation, Regulation (EU) 2023/1230, applies from 14 January 2027 and asks that connecting another or a remote device does not lead to a hazardous situation. A workflow engine with queued executions, retries, a shared encryption key across workers and an update cycle that ships roughly weekly is not a place to hold safety functions. Before any build starts, have your safety and controls engineers confirm in writing that no n8n path can change a machine's behavior.
The practical pattern is to give n8n read-only or alert-only subscriptions wherever the source allows it. Subscribe to MQTT topics or database tables with credentials that cannot publish or update, and route alerts from those reads to maintenance teams through a notification channel. Where a workflow must write to an enterprise system, such as creating a work order in your ERP or updating a spare-parts request, place an approval step before the write. A human approver, or an approval service your change process already uses, should confirm the action before the HTTP Request or database node executes. Keep write credentials in a separate, narrowly scoped credential set that only the approved workflow path can use, and confirm with your administrators how those credentials are stored and rotated.
Document a register of production systems that n8n may touch, and treat it as a controlled artifact. For each system, record the direction of data flow, the operation allowed (subscribe, read, create, update), the named owner, the network zone it sits in, and the approval that authorizes any write. Anything not on the register is out of bounds, and a review of the register should happen whenever a workflow is added or changed. This list also gives your auditors and your OT security team a single place to check against the zone and conduit model in ISA/IEC 62443. Ask your OT team which systems are excluded entirely, because those exclusions often matter more than the permitted list.
Where n8n runs in a segmented or isolated network
In this layout the main instance and its PostgreSQL database sit in the enterprise zone, while the plant network hosts only the data sources and, where latency matters, a webhook processor or worker. The DMZ between them carries the only permitted flows, usually brokered and one-directional where possible. Because queue mode requires the main instance's encryption key on every worker and webhook processor, any worker placed on the plant side holds a copy of that key in a less trusted zone, so the key must be stored and rotated under the same controls as the database credentials.
- Placement: The main instance and PostgreSQL stay in the enterprise zone, and only the components that must sit close to machines are placed on the plant side.
- Crossing connections: Typical flows are MQTT or database reads from plant systems through the DMZ, and alert messages outbound to maintenance tools, each with a named port and direction.
- Encryption key: The same key is supplied to every plant-side worker through a secrets mechanism, not copied into workflow files or images.
- Credentials: Plant-side nodes should use service accounts scoped to a single source, so a compromised worker exposes little.
- Updates: Images are pulled from an internal registry that the DMZ mirrors, and each version is tested on a staging instance first.
Confirm with your security team which zone may hold the encryption key and whether your change process covers every worker host.
An isolated cell has no route to the enterprise network or the internet, so the n8n instance, its database and any workers run entirely inside the cell. Every dependency, including container images, npm packages, node definitions and documentation, must arrive by a controlled transfer. Queue mode still applies inside the cell, so all workers in the cell share the encryption key with the main instance, and that key never leaves the cell. Connections to machines are local, and any cross-boundary data goes through an approved one-way path reviewed by the operations team.
- Placement: The main instance, workers, PostgreSQL and any Redis service run on hosts inside the cell with no default route outward.
- Crossing connections: Only the inbound feeds the plant has approved, such as a local MQTT broker, and any outbound alert path must be listed in the boundary design.
- Encryption key: Generate the key inside the cell and store it in a local secrets store, and record who can read it.
- Credentials: Use local accounts or an identity source inside the cell, since cloud identity providers are unreachable.
- Updates: Each release is packaged on the connected side, scanned, hash-checked and moved in on approved media under a documented transfer procedure.
Confirm whether your n8n edition and any features you plan to use are licensed for offline operation before the cell is built.
In an enterprise-only deployment, n8n runs on the IT network alone, and it never connects to plant controllers directly. Instead it reads from a historian or a message broker that the plant already exposes through its own boundary. This keeps the operational technology side unchanged and places n8n in the same zone as ERP and maintenance systems. The trade-off is latency and the dependency on the historian or broker being available, so the design should state which flows are time-sensitive and which can wait.
- Placement: The main instance, workers and PostgreSQL sit in the enterprise zone next to the ERP and maintenance systems.
- Crossing connections: The only plant crossing is the historian or broker feed, authenticated and limited to named topics or tables.
- Encryption key: All workers in this zone share the key through the same secret store used for the database, so key handling matches other enterprise workloads.
- Credentials: Store broker and historian credentials in an external vault and grant read-only access where workflows only consume data.
- Updates: Standard enterprise patching and staged upgrades apply, with a rollback path tested before each minor release.
Confirm the broker's access controls and retention settings with the plant team, because n8n will inherit whatever data they expose.
Triggers, ERP connections and alert routing that matter
A manufacturing n8n deployment usually turns on a few components: how production events arrive, how ERP data is read and written, where alerts go and how workers are scaled. Each card below names the decision to make, what to test and what breaks when the component is set up wrong.
MQTT subscription triggers
MQTT triggers let n8n react to messages published by machines, PLCs gateways and line historians. Decide which topics are subscribed, who owns the broker, and whether the broker sits in a zone n8n can reach without crossing a conduit you have not reviewed. Test with a replayed message burst and confirm how the trigger behaves when the broker drops the connection. A wide topic wildcard floods executions, so filter topics before the first node runs and confirm the broker's quality-of-service settings match what your workflow expects.
Database triggers and polling
Production and quality tables are often the only record of a batch, so n8n may poll them or read changes on a schedule. Decide which tables and columns are read, which account is used, and how a processed row is marked so it is not handled twice. Test with duplicate and late-arriving rows. If the marker column is set wrong, the same nonconformance is raised repeatedly, and heavy polling against a production database can slow the line's own reporting queries.
ERP integration for orders, stock and work orders
Work orders, stock levels and purchase orders move between n8n and the ERP through the HTTP Request node or a database node, depending on what the ERP exposes. Decide which system is the source of truth for each field and whether n8n writes or only reads. Test idempotency with retried calls and confirm the API rate limits and authentication lifetime with the ERP vendor. A write that retries without a stable key can create duplicate work orders on the shop floor.
Alert routing to maintenance teams
Maintenance alerts can go to chat, email or a ticketing system, and each route has a different owner and response expectation. Decide which alert classes open a ticket, which post to a channel, and who is paged after hours. Test each route with a simulated fault and confirm that acknowledgement closes the loop. If the route depends on a single mailbox or chat webhook, a silent failure leaves a fault unassigned until someone notices the line stopped.
Queue mode with Redis and PostgreSQL
Queue mode splits the main instance, which handles triggers and webhooks, from a pool of workers that run executions through Redis and read and write PostgreSQL. Decide how many workers each plant needs, where Redis and PostgreSQL run, and which encryption key is shared with every worker and webhook processor. Test a worker restart during a busy shift. Workers started with a different encryption key cannot read stored credentials, so executions fail on credential lookup even though the containers are healthy.
Queue mode docsSAML SSO on Business or Enterprise
SSO and LDAP are included in the Business and Enterprise plans, and SAML setup guides exist for Okta Workforce Identity and Azure AD. Decide which identity provider is authoritative for plant operators and engineers, and how role mapping works for people who should only view executions. Test deprovisioning, since a departed contractor must lose access to production workflows. Multi-main high availability is available only on Enterprise self-hosted, so a single main instance remains a single point of failure on lower plans.
SAML setup docsQueue mode, credentials and the plant's execution load
In a plant where dozens of sensor-driven, MQTT and scheduled workflows fire throughout the day, the main reason to use queue mode is to keep trigger handling separate from execution. In n8n's queue mode, the main instance receives triggers and webhooks and passes executions through Redis to a pool of workers that read and write workflow data in PostgreSQL. A burst of production events then queues up for workers instead of stalling the instance that accepts new triggers. Before the design is fixed, the partner and client should inventory every trigger source, its expected event rate and which workflows must finish within a given window, because those answers decide how many workers and webhook processors the plant needs. Ask the plant engineers which signals are event-driven and which are polled, since polling traffic is easy to undercount.
Credential design matters more in manufacturing than in most sectors, because ERP and OT-adjacent accounts can read production orders, stock or machine status. The encryption key of the main instance must be shared with every worker and webhook processor so they can decrypt stored credentials, which makes the key a crown-jewel secret. The client and partner need to agree who holds the key, where it is stored, how it is rotated and how a rotation is coordinated across all nodes before it takes effect. They also need a written map of which service account each workflow uses, with read-only accounts for data pulls and separate, narrowly scoped write accounts for any step that changes ERP records or sends commands toward plant systems. Confirm the rotation procedure with the n8n version in use, because key handling changes affect how the cluster restarts.
Execution load also feeds the budget conversation. n8n counts an execution as one run of a whole workflow regardless of how many steps it contains, so a sensor-driven workflow with many nodes costs the same execution count as a simple one. Finance teams often assume the opposite, so the sizing discussion should separate execution volume from step count and show them the actual workflow inventory. The licensing terms also matter here: the Sustainable Use License limits use to internal business purposes, and multi-main high availability is restricted to Enterprise self-hosted deployments, so confirm the edition before designing redundancy for the main instance. Ask the vendor to confirm current plan limits in writing, since pricing terms change.
Standards and rules manufacturers are tested against
Manufacturers face overlapping obligations from security standards, EU regulation and sector rules. The cards below show which evidence an n8n deployment on plant and enterprise networks should produce for each, so the same logs, change records and access reviews can serve several assessments. Confirm applicability with counsel and your auditor before scoping.
ISA/IEC 62443 asset owner program
The ISA/IEC 62443 series sets requirements for securing industrial automation and control systems. For an asset owner, the relevant parts cover the security program, risk assessment for system design and system security levels. For n8n, this means documenting which zone the instance sits in, which MQTT brokers and databases it can reach, and the risk assessment behind those conduits. Keep the zone diagram and the conduit rules with the deployment record.
ISA 62443 seriesNIST SP 800-82 Rev. 3 monitoring
NIST SP 800-82 Rev. 3, published in September 2023, is the main US guide to OT architecture, including PLCs, SCADA and building systems. It expects operators to monitor OT traffic and to balance security with reliability and safety. An n8n workflow that reads plant events should be able to show which triggers fired, which systems it touched and when, and it should not add latency or load that affects control systems.
NIST SP 800-82 Rev. 3NIS2 for manufacturers
NIS2 Annex II lists manufacturing in NACE Rev. 2 divisions 26 to 30, including electronics, electrical equipment, machinery and vehicles. Significant incidents must be reported with an early warning within 24 hours, a notification within 72 hours and a final report within one month. Important entities face fines of at least EUR 7 million or 1.4% of worldwide turnover. Your n8n incident runbook should name the workflows, credentials and logs that an investigator would need within those windows.
NIS2 directive textCyber Resilience Act obligations
The Cyber Resilience Act covers products with digital elements that manufacturers place on the EU market. Article 14 reporting of actively exploited vulnerabilities and severe incidents has applied since 11 September 2026, and general application starts on 11 December 2027. If your products run or connect to n8n-driven workflows, record the vulnerability intake, patch decisions and reporting contacts for those products. Confirm with counsel whether n8n's role in your product chain creates obligations.
CRA regulation textMachinery Regulation protection rule
Regulation (EU) 2023/1230 applies from 14 January 2027 and requires machinery to be protected so that connecting another or remote device does not create a hazardous situation. A workflow that sends commands or setpoints to machines through an n8n node would fall within this concern. Restrict write actions to approved machines, log each command with its requester, and keep a documented review of which automations can change machine state.
Machinery Regulation text21 CFR Part 11 electronic records
In regulated production, such as pharmaceutical or medical device plants, 21 CFR Part 11 governs electronic records and electronic signatures. When n8n moves batch, quality or deviation data between systems, the workflow history, execution records and approval steps may become part of the record. Plan audit trails, controlled changes to workflows and validation evidence before the first production run. Ask your quality team which records count as GxP.
21 CFR Part 11 textCMMC for defense suppliers
CMMC under 32 CFR Part 170 sets three levels for defense contractors, with Level 2 requiring the 110 requirements of NIST SP 800-171 Rev. 2 for controlled unclassified information. The Department of War suspended CMMC Phase II requirements on 13 July 2026, so confirm the current contract clauses before you design around them. Whatever the timing, n8n access to CUI systems should have documented roles, log retention and access reviews that your assessor can sample.
32 CFR Part 170How a plant rollout moves from pilot to production
The sequence moves n8n from a documented inventory of plant systems to a read-only pilot, then to a hardened, change-controlled production instance that the maintenance and OT teams can run without the implementation partner. Each step closes with a written sign-off so that nothing reaches the plant network without an owner.
Inventory production systems and data owners
Start by listing the systems n8n will read from or write to, such as MQTT brokers, historians, manufacturing execution systems, ERP modules and maintenance ticketing. For each system, record the owner, the protocol or database, the data sensitivity, and whether the integration is read-only or can change production state. The client provides the OT system owners, existing interface documentation and a list of planned use cases. The step is done when every planned trigger and target has a named owner and a written decision on whether it may write back.
Design network zones with OT and IT sign-off
Map where the n8n main instance, its database, any workers and the broker connections will sit relative to plant and enterprise zones. Decide which flows cross the boundary, in which direction, and on which ports, and document the approved paths. The client provides current network diagrams, firewall rule sets and the names of OT and IT approvers. The step closes when both teams sign the zone diagram and the flow list, and that signed set becomes the baseline for every later change request.
Build and run one read-only pilot workflow
Build a single workflow that reads one MQTT topic, such as a machine status or alarm topic, applies a simple filter, and posts a notification to one maintenance channel. The pilot does not write to any production system. It runs in a non-production instance first, then in a scheduled test window agreed with the plant. The client provides the test window, a sample of real message payloads and a named maintenance contact. The step is done when the alert volume, false positives and message formats have been reviewed with the maintenance team and the findings are logged.
Harden the instance and set up queue mode
Configure the production instance with its database, reverse proxy, certificates, SSO for administrators and restricted outbound access. If the deployment needs queue mode for workers, set it up with a Redis queue and PostgreSQL, and plan how the main instance's encryption key is shared with each worker and webhook processor so credentials remain readable. Record where the key is stored and who can access it. The step closes with a hardening checklist review and a test that confirms credentials decrypt on every process, and that no unnecessary ports are exposed to the plant network.
Promote workflows through reviewed environments
Move each workflow from development to test to production through a change process that includes a peer review, a recorded approval from the owning team and a logged deployment. Keep credentials separate per environment and confirm that execution logs and configuration changes are retained for the period your change policy requires. The client provides the change approval roles, the retention requirement and the production change calendar. The step is done when a sample change has passed the full path with its review, approval and log entries attached.
Hand over runbooks, backups and the upgrade plan
Deliver runbooks for routine operations, failed executions, broker outages and credential rotation, along with tested backup and restore procedures for the database and encryption key. Agree an upgrade plan that covers how n8n minor and major releases are tested against your workflows before production, who approves them and how the rollback works. The client provides the operations team roster and the maintenance window policy. The step closes when the operations team has restored a backup in a test environment and has run one upgrade in staging using the written plan.
What manufacturers ask before hiring a partner for n8n
What drives the cost of a plant n8n implementation?
The main drivers are the number of source systems, the number of network zones the workflows must cross, the complexity of the ERP integration and how many approval steps the change must pass. Each MQTT broker, production database, historian and ERP module adds mapping, testing and access work. Crossing a DMZ or an isolated segment adds firewall change requests, data-flow documentation and test windows that the OT owner must approve. One-time costs cover design, build, testing and handover. Recurring costs cover upgrades, monitoring and the n8n license tier you choose. Ask any partner for a quote that lists each source system, each network boundary and each approval gate as separate line items.
Can our team deploy n8n for manufacturing without a partner?
Yes, for a narrow pilot run by people who understand both IT and OT. A single plant, one or two triggers such as an MQTT topic or a database table, and alerts to one maintenance queue are a contained project for an experienced team. The work gets harder once several plants are involved, when DMZ rules differ between sites, or when the workflows must pass through segmentation that the OT security group reviews. At that point the design work, documentation and repeatable change process take more time than the build itself. Many teams start in-house and bring in a partner for the second or third site.
What do we need to provide for an n8n implementation on the plant floor?
The engagement depends on access and decisions from your side. You need named owners for each OT and ERP system the workflows touch, network access documented by the people who manage the firewalls and segments, and test windows agreed with production. A named approver must sign off the data flows, the credentials each workflow uses and the production cutover. Your team should also provide sample messages from the MQTT brokers, schema or table definitions from the databases, and the alert routing rules maintenance already uses. Missing any of these usually extends the schedule more than the technical build does.
Can n8n write directly to PLCs?
The design should not let n8n write directly to PLCs or other safety-related controllers. n8n is an orchestration layer on enterprise and plant IT networks, and it was not designed to be the control path for machinery. Standards such as ISA/IEC 62443 and NIST SP 800-82 Rev. 3 treat control functions, their performance and their safety requirements as a separate concern from IT automation. The EU Machinery Regulation also requires protection against hazardous situations when another device connects to machinery. Use n8n to read signals, raise alerts, open tickets and request approved actions through the control system's own interfaces, with the OT team owning any command that changes equipment state.
Which n8n plan includes SSO and multi-main high availability?
SAML single sign-on is available on the Business and Enterprise plans, according to n8n's pricing page and SAML documentation. Multi-main setup, which runs several main instances for high availability, is restricted to Enterprise self-hosted deployments and is not available in the Community edition or n8n Cloud. Before you commit, confirm the current plan terms with n8n, because plan contents change. The cost difference between tiers is one of the larger licensing decisions, so ask the partner to state which features the design needs and to show where each one depends on a paid plan.
Does an air-gapped n8n deployment raise licensing questions?
Yes, it can. n8n is licensed under the Sustainable Use License, which permits use for your own internal business purposes, and files with .ee in their name or directory require a valid n8n Enterprise License. An isolated plant network does not change those terms by itself, but it affects how updates, container images and packages reach the system. Confirm with n8n's licensing terms and your legal team whether your internal use, any sharing with suppliers or customers, and any Enterprise features fit your setup. Ask any partner to list which features in the design need an Enterprise License before the build starts.
How DeployOpen scopes and delivers n8n for manufacturing
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, including plant and enterprise networks. For n8n in manufacturing, we start from the trigger sources, network zones and maintenance workflows you actually need, then write the scope before any build begins.
How we scope
- Inventory the production systems, MQTT brokers and databases that will trigger workflows, with owners for each source
- Map each planned workflow to its network zone, data direction and whether it needs inbound or outbound connections
- Agree the license position in writing, including whether modules marked .ee require a valid n8n Enterprise License
- Confirm which high availability and SSO features your chosen edition supports before committing to an architecture
How we build
- Deploy n8n in queue mode in your infrastructure, with main, worker and webhook processes sized to the planned trigger load
- Configure MQTT, database and ERP connections through credentials stored under a managed encryption key shared with workers
- Build alerting paths to maintenance teams, with tested routing, escalation rules and a documented fallback if the network path fails
- Test triggers, failure handling and credential access in a staging instance that mirrors the plant network zone
How we hand over
- Document the network flows, trigger sources, credential inventory and encryption key custody so your team can review them
- Deliver runbooks for backups, restores, worker scaling, upgrades and retirement of workflows that no longer match the process
- Provide a record of configuration, test results and open risks that your security and compliance reviewers can check
- Walk your operations and maintenance staff through alert handling and the escalation path before handover
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer, with the scope and response terms agreed in writing
- Plan n8n version upgrades and review each release against your workflows, nodes and network rules before rollout
- Retest after changes to plant networks, MQTT brokers, ERP interfaces or n8n licensing and edition choices
- Confirm with your vendor and your own environment which features your deployment depends on before each upgrade

