Why workflow automation for manufacturing is an OT problem first
Node-RED fits edge and plant-floor connectivity, and n8n fits business-side integration, but the choice depends on where each flow runs. A flow that reads a PLC value, relays a machine state to an MES, or triggers a changeover touches equipment where availability and safety outrank convenience. A flow that moves purchase orders between an ERP and a supplier portal sits on the business network and can tolerate a different failure profile. Before choosing a tool, map every flow to the network zone it touches and the consequence of it failing or behaving unexpectedly. NIS2 Annex II lists manufacturing as a critical sector, covering NACE Rev. 2 divisions 26 to 30, so most manufacturers that automate across IT and plant networks should expect their automation to fall within the scope of the directive's risk management and incident reporting duties. Confirm with counsel whether your entities are in scope and which of them count as important or essential.
ISA/IEC 62443 is the reference framework for industrial automation and control systems, and it is the vocabulary your plant engineers and auditors will use. Its asset owner requirements, set out in ANSI/ISA-62443-2-1-2024, cover the security program around IACS, while ANSI/ISA-62443-3-2-2020 covers risk assessment for system design and ISA-62443-3-3-2013 defines system security requirements and security levels. Use these to decide which zone and conduit each automation component belongs to, and whether a flow crossing from the business network into the control zone needs a documented conduit with restricted protocols. NIST SP 800-82 Rev. 3, published in September 2023, is a useful companion for OT performance, reliability and safety considerations. The open-by-default editors change the risk in both tools. Node-RED serves its editor on the network interface it is configured to use, and NiFi binds only to 127.0.0.1 when no security configuration is provided, so a plant engineer who opens a port for convenience can expose a flow editor that can reach machines. n8n's editor requires an account setup, but its credentials and execution data sit wherever the instance is hosted, so the same mistake exposes integration secrets. Before any flow reaches a plant network, confirm who can edit flows, how the editor is authenticated, and which network segment the editor itself lives on.
Which regulations and standards shape where flows may run
This table maps the standards and regulations most likely to govern manufacturing automation to the decisions they affect: where a flow runs, who can edit it and what it must log. Read each row as a question to answer with your OT, compliance and integration owners before choosing a placement for any Node-RED or n8n flow.
| Requirement | What it asks for | Build impact on flows |
|---|---|---|
| ISA/IEC 62443 zones and conduits (ANSI/ISA-62443-3-2-2020, ISA-62443-3-3-2013) | Group assets into zones by risk, define conduits between zones, and assign target security levels to each zone and conduit. | Place flow runtimes inside a defined zone, not on the enterprise network by default. Every flow that crosses a zone boundary becomes a conduit that needs documented controls and a named owner. |
| ANSI/ISA-62443-2-1-2024 (asset owner security program) | Requires the asset owner to run a security program covering policies, roles, training, change management and monitoring of automation systems. | Flow editors, deployments and credential changes must fall under the plant's change process. Confirm who approves a flow change before it reaches a production gateway. |
| NIST SP 800-82 Rev. 3 (OT security guide) | Describes OT scope including PLCs, SCADA and DCS, and addresses OT performance, reliability and safety alongside security. | Treat any flow that reads from or writes to a PLC or SCADA system as OT. Test flows for latency and failure behavior before they touch control paths, and agree which flows may only read process data. |
| NIS2 Annex II and Article 23(4) (Directive (EU) 2022/2555) | Lists manufacturing as a critical sector. In-scope entities report significant incidents with an early warning within 24 hours, a notification within 72 hours and a final report within one month. | Logs from flows that carry operational events must be retained and searchable so the incident timeline can be rebuilt. Confirm which flows are part of the incident response path and how alerts reach the on-call team. |
| CRA Article 14 reporting (Regulation (EU) 2024/2847) | Manufacturers' reporting duties for actively exploited vulnerabilities and severe incidents have applied since 11 September 2026. Other CRA obligations apply from 11 December 2027. | If your plant builds products with digital elements, vulnerabilities in your own flow runtimes or custom nodes may enter your reporting scope. Keep an inventory of Node-RED and n8n versions and custom nodes per site. |
| Machinery Regulation essential requirement 1.1.9 (Regulation (EU) 2023/1230) | From 14 January 2027, machinery must be protected so that connecting another or remote device does not lead to a hazardous situation. | Remote or cloud-hosted flows that send commands to machines may conflict with this requirement. Keep command paths local, gate remote access, and document how connected devices are authorized. |
| 21 CFR Part 11 (electronic records and signatures) | Where regulated records such as batch records are kept electronically, requires controlled access, audit trails and validated handling of electronic signatures. | Flows that move batch data between MES and quality systems fall under validation and audit trail expectations. Confirm whether the flow platform itself needs validation and how edits are recorded. |
| Editor access and logging (applied across standards) | Assessors expect access control, change history and retained logs for systems that change production data. | Disable open editors on production runtimes or restrict them behind SSO and role controls. Log every deploy, credential change and admin login to a store the plant cannot silently alter. |
Where Node-RED and n8n flows should run on the plant network
Place each tool in the zone that matches its job before writing a single flow. Business-side n8n belongs in the IT zone, where it can reach MES, ERP and ticketing APIs and where its credentials live in the same controlled store as other enterprise secrets. Edge Node-RED belongs close to the machines, either in a DMZ or in a cell zone, because it reads PLC, historian and sensor data that should not depend on an internet path or a central server to keep running. The decision to make first is which zone owns each credential, since whoever holds a PLC or MES login effectively controls that equipment. Any flow that bridges the two zones crosses a conduit, and that crossing is where most of the risk sits. Document each conduit with its source, destination, protocol, direction and owner, then filter it at the firewall so that only the required ports and endpoints pass. The ISA/IEC 62443 series, which sets the security requirements for industrial automation and control systems, is the usual reference for zone and conduit design, and NIST SP 800-82 Rev. 3 covers the same ground for operational technology. Confirm with your OT security team which of these frameworks your plant already follows before drawing the diagram.
Defaults differ between tools, so check each one rather than assuming it is safe. Apache NiFi binds to 127.0.0.1 when no security configuration is provided, which keeps its UI on the loopback interface, but a production deployment must be configured deliberately for its authentication provider and bind address. For n8n in queue mode, the main instance's encryption key must be shared with every worker and webhook processor so they can decrypt stored credentials. If workers run in a different zone from the main instance, that key has to cross the conduit, so treat it as a secret with its own storage, rotation and access list. Confirm with your implementation partner exactly where each worker runs and who can read that key before the first worker is deployed.
Which platforms fit plant-floor and MES integration
Plant integration spans machines, MES, ERP and analytics, and no single tool covers every layer well. The cards below match each platform to the layer where it fits best, with the license, version and operational checks to settle before a flow runs on a plant network.
Node-RED for edge connectivity
Node-RED suits flows that run close to machines, such as reading PLC or sensor data over common industrial protocols and forwarding it to a broker or historian. Its Apache-2.0 license imposes no internal-use restriction, which matters when flows are copied to many sites. Check which protocol nodes your equipment needs, who maintains community nodes after go-live, and whether the edge host can be patched on the plant's change window.
n8n for business-side integration
n8n fits business-side work such as pushing MES production orders into ERP, notifying quality staff, or syncing maintenance tickets. Its Sustainable Use License permits use for your own internal business purposes, but distribution or offering it to customers is restricted, and files marked .ee need an enterprise license. Confirm that every flow stays internal, that SSO and environments needed for change control are on the plan you buy, and that no flow runs on the plant floor network.
Apache NiFi for high-volume data movement
NiFi is built for moving large volumes of machine and historian data with back-pressure, provenance tracking and clustering. Only the 2.x line should be deployed, since the project states that 1.x can no longer be maintained. Confirm the Java 21 runtime, the migration path from flow.xml.gz if you inherit a 1.x estate, and how the cluster coordinates through ZooKeeper or Kubernetes before committing to it for production lines.
Flowable for human task orchestration
Flowable runs BPMN processes that combine system steps with human tasks, such as a deviation approval that waits for a quality engineer before a batch is released. It is Apache-2.0 licensed, so it can run in production without a commercial agreement. Confirm how task assignments map to your identity provider, how process versions are migrated when a routing rule changes, and which parts of the batch record must be kept under your validation rules.
Apache Airflow for scheduled batch pipelines
Airflow schedules and monitors batch pipelines that move shift reports, scrap counts and energy readings from MES and historians into the analytics platform on a fixed cadence. It is Apache-2.0 licensed and suits dependency-heavy jobs with retries and alerting. Confirm where the scheduler and workers run relative to the plant network, how DAG changes go through review, and how credentials for source databases are stored and rotated.
Camunda 8 source is non-production only
Camunda 8 is a capable BPMN platform, but its source code is licensed under the Camunda License 1.0, which permits use only in non-production environments without a commercial license. A plant that plans to run Camunda 8 on the production line must budget for a commercial license or choose Flowable instead. Ask the vendor or Camunda directly which edition and terms apply to your deployment, and keep the license decision in the architecture record before development starts.
How to secure editors that are open by default
Node-RED is licensed under Apache-2.0 and its editor is served over HTTP by the runtime, so the security of the editor depends on how the runtime is configured before it reaches a plant network. A flow editor that can deploy code to a gateway is effectively a remote control for that gateway, so the first question is who can reach the port at all. Treat the editor as an administrative interface, not as a dashboard for operators. The points below are controls to confirm in your own build, not guarantees from the project.
- Editor network exposure: Confirm the address and port the editor listens on, and bind it to an admin VLAN or a jump host rather than the plant floor network.
- Editor authentication: Confirm that the
adminAuthblock insettings.jsis enabled with hashed passwords, and that anonymous access to the editor is disabled. - Read-only and deploy rights: Confirm whether a separate read-only permission is in use so that operators can view flows without deploying them.
- Credential storage: Confirm that the
credentialSecretkey is set, stored outside the flow files, and that flows are not exported with credentials in plain text. - Deploy path: Confirm who can push a flow to a production gateway, and whether deploys pass through version control and a reviewed change.
Before handover, check that the settings.js file is under change control and that the editor is unreachable from any network where a flow could be changed without an approved ticket.
n8n is a fair-code platform under the Sustainable Use License, and its editor sits behind a login by default. The security question for manufacturing is less about the login itself and more about which identity option your plan includes, how the encryption key is handled in queue mode, and whether any worker can reach OT systems. SSO is a paid feature, so the plan choice is part of the security design, not an afterthought.
- SSO plan requirement: According to n8n's pricing page, SSO and LDAP are included only in the Business and Enterprise plans, so confirm the plan before designing the login flow.
- SAML setup: n8n SAML single sign-on is available on the Business and Enterprise plans, and the vendor documents setup steps for Okta Workforce Identity and Azure AD. Confirm the identity provider you use is covered by those guides or agree a tested configuration.
- Encryption key distribution: In queue mode, the main instance's encryption key must be shared with all worker and webhook processor nodes, so confirm where that key is stored and who can read it.
- Worker placement: Confirm which workers run on the plant side, and that they can reach only the specific machine or MES endpoints each flow needs.
- Editor access: Confirm that the editor is reachable only from the admin network, and that production instances are not used for building new flows.
Ask your partner to show which edition is quoted, which identity features it includes and how the encryption key is rotated and distributed to workers.
Apache NiFi is an Apache Software Foundation project under Apache-2.0 with no paid edition from the project itself. Its security defaults are stronger than a typical editor: when no security configuration is provided, NiFi binds to 127.0.0.1 so the UI is reachable only through the loopback interface. The version you deploy matters, because NiFi 1.x is no longer maintained and the 2.x line changes configuration files and runtime requirements. Plan authentication and upgrade path together.
- Supported authentication: NiFi supports single-user, LDAP, OpenID Connect, SAML 2.0 and X.509 client certificate authentication, according to the administration guide. Confirm which of these matches your directory and certificate authority.
- Deprecated Kerberos: The Kerberos provider is deprecated, so do not design new login flows around it without a documented exception.
- Loopback default: Confirm that the loopback binding is replaced by a deliberate listener on the admin network, with TLS configured on that listener.
- Runtime and version: Confirm the Java 21 runtime and the 2.x line are in use, since NiFi 1.28 was the last minor release of the 1.x series and 1.x cannot be maintained further.
- Flow deployment: Confirm whether flows are versioned through a flow registry client such as GitHub or GitLab, and who can commit or promote a version to production.
Ask your partner to walk through the authentication provider, the TLS listener and the change path for a flow from development to a plant runtime.
How a manufacturing automation rollout moves from assessment to handover
The sequence turns an open-ended wish list of machine, MES and ERP connections into a segmented, tested and documented set of flows that plant staff can own after the project closes. Each phase ends with a named output so the next phase starts from evidence rather than assumption.
Inventory assets, zones and flow candidates
The team lists production lines, PLCs, historians, MES and ERP instances, directories and network zones, then records which data exchanges are worth automating and which must stay manual. Plant engineering, OT owners and IT owners all review the list, because the people who run a line know which signals are safety-relevant. The step is complete when every candidate flow has a named source system, destination system, data owner and the zone it would run in.
Assess risk and set target security levels
Each zone and conduit is assessed against the ANSI/ISA-62443-3-2-2020 approach to security risk assessment for system design, which groups assets by consequence and identifies threats and vulnerabilities. The output is a documented target security level for each zone, along with the controls the team expects to need before any flow is allowed to touch it. Ask the partner to show how the assessment links to the asset inventory, so that a later change to a line updates the risk record.
Build the platform in a non-production lab
The chosen runtime, whether Node-RED, n8n or another tool, is installed in an isolated lab network that mirrors the plant's production configuration without connecting to live machines. The team hardens the editor, enables authentication, confirms that the instance does not expose its editor beyond the intended interface, and tests credential storage and backups. The step closes when a test flow runs against simulated or recorded machine data and the configuration is captured in version control.
Pilot one flow on a single line
One well-understood flow is deployed on a single production line, with change control approval, a tested rollback procedure and a defined maintenance window agreed with plant management. Operators and the named flow owner observe the first runs, and error handling is checked against real edge cases such as dropped connections and malformed messages. The output is a signed change record, a rollback test result and a short review of what the pilot did and did not prove.
Expand with documented conduits
Further flows are added one zone at a time, and every new data path across a zone boundary is recorded as a conduit with its purpose, protocol, direction, credentials and approving owner. Firewall rules and edge device configurations are checked against that record, and any flow that would cross into a higher security level waits until the required controls exist. The step is complete when the conduit register matches the deployed network and each zone has an accepted residual risk.
Hand over runbooks, owners and Git versioning
The team delivers runbooks for deployment, restart, credential rotation, backup restore and incident response, and assigns a named owner to every production flow. Flow definitions are stored in a Git repository with branch rules, review before promotion from lab to production, and a tagged release for each change, so the plant can see what is running and who approved it. The handover is complete when the plant's own staff have performed a supervised change and a rollback using only the runbooks.
Who maintains flows after the integrator leaves
Every flow needs a named owner before the integrator hands over, and that owner must be a person inside the plant or IT organization who can approve changes. Partners often build flows that plant engineers later edit directly in the Node-RED or n8n editor to adjust a set point, add a machine or fix a mapping. Without a written ownership record, nobody knows which version is running on the line or who is accountable when a change breaks a shift report. Confirm the owner, the backup owner and the approval path for each flow, and record them alongside the flow's purpose and the systems it touches.
Version control is what makes that ownership enforceable. n8n's pricing page places environments with Git in the Business and Enterprise plans, so confirm whether the plant's chosen plan includes it before assuming promotion from a test environment to production is available. For Apache NiFi, the registry clients for GitHub and GitLab are documented by the project, which lets flow versions be committed and promoted, though the team must still define who may commit and who may deploy. Ask the integrator to deliver flows in a repository, with exported definitions, environment-specific settings kept out of the flow files and a documented promotion step that a plant engineer can run.
The NiFi upgrade path is a planning item in its own right. NiFi 1.28 is the last minor release of the 1.x series, and the project states that 1.x cannot be maintained further because it depends on Jetty 9.4, Spring Framework 5.3 and AngularJS 1.8. The migration guidance requires upgrading to NiFi 1.27.0 before moving to 2.0.0, and it changes the flow configuration file from flow.xml.gz to flow.json.gz. Plants running older NiFi flows should inventory the flows, check the variable registry and distributed map cache usage that changed in 2.0, and schedule the upgrade with the integrator or internal owner before the flows are needed for a change window.
What auditors and plant reviewers ask for, and which component produces it
This table maps each item a plant reviewer or auditor typically requests to the component that produces it, whether that is the flow platform, Git history, the network layer or a separate record. Read it as a checklist for design: any row without a named owner or source is a gap to close before the first assessment. The main takeaway is that most evidence comes from the automation platform only if its logs, version control and key custody are configured on purpose.
| Evidence item | What it shows | Component that produces it |
|---|---|---|
| Asset and zone diagrams, conduit list | Which machines, MES and ERP segments exist, and which conduits carry flow traffic between zones (ISA/IEC 62443-3-2 output) | Risk assessment workpapers, maintained with the OT team; the flow platform only documents its own endpoints |
| Flow inventory with named owners | Each flow, its source and destination systems, its zone, and the person accountable for it after handover | Flow platform export plus a register kept under change control; confirm the platform can export workflow metadata |
| Change records for flow edits | Who changed a flow, what changed, who approved it and when it was promoted to the plant | Git history of exported flow files, linked to tickets; in Node-RED, the flow file history in the repository |
| Access logs for editors and deployments | Who opened the editor, who deployed, and from which network address | Platform audit or execution log, combined with reverse proxy logs and the identity provider's sign-in records |
| Credential storage and key custody records | Where machine and MES passwords live, who holds the encryption key, and how keys rotate | Credential store configuration and key custody register; in n8n queue mode, confirm how the shared encryption key is distributed to workers |
| Network segmentation evidence | That only permitted flows cross from the plant network to IT, and that the editor is not reachable from the plant floor | Firewall and conduit rule logs, plus host bindings such as NiFi's loopback default when no security configuration is set |
| Alert and incident timelines for NIS2 reporting | Detection, early warning within 24 hours, notification within 72 hours and final report within one month for in-scope entities | Alerting service and incident ticket timestamps; the flow platform supplies failure events, not the reporting decision |
| Part 11 electronic record controls | Where batch or quality data passes through flows, that records are attributable, unaltered and retained, with signed approvals where required | Audit trail on the flow platform, validated change control and retention in the quality record system; confirm scope with quality assurance |
Questions manufacturers ask before automating plant flows
What drives the effort and cost of automating machines, MES and ERP flows?
Effort depends mostly on how many machine protocols and MES or ERP interfaces are involved, how plant network zones are laid out, and how much validation the flows need. Each protocol adds a connector to build and test, each MES vendor API adds its own authentication, rate limits and documentation to work through, and zone design decides where edge runtimes and gateways can sit. The build is usually a one-time cost. Maintenance recurs: upgrades to the flow runtime, changes to machine logic and vendor API versions all need regression testing. Ask any partner to price these items separately: integration count by protocol, zone and gateway count, validation documentation, and the support model after handover, with the named people who will own each flow.
How long does a plant flow project take, and what sets the timeline?
No duration can be given without a written scope, so treat any single number with caution. The timeline is set by the number of integrations, whether the network diagrams and asset lists already exist, how quickly the change board can review and approve changes, and how many maintenance windows the plant allows for testing on live lines. Validation and sign-off on the flows often take longer than the build itself. A practical first step is a scoped pilot on one line or one interface, with milestones agreed in writing. Ask the partner to show how each milestone depends on plant access, not only on build effort.
What must the plant team provide before implementation starts?
The plant team needs to supply accurate network diagrams showing zones, conduits and the existing firewalls, an asset list with machine models, controllers and protocols, and the names of the system owners for MES, ERP and each line. The change board must agree how flow changes are reviewed, and the team must confirm maintenance windows for testing and cutover. Credentials for each system should be provided through an approved vault rather than shared in email. Missing diagrams and unclear ownership are the most common causes of rework, so ask the partner to list these inputs in the statement of work with a named owner for each.
Can our internal engineers run plant flows without an outside partner?
Yes, many plants run flows with internal staff once the platform and the first flows are in place, but it requires skills in the flow runtime, networking, industrial protocols, credential management and version control. Node-RED is commonly used by automation engineers, and n8n is commonly used by IT integration staff, so the team that will own each flow should be identified early. Plan for training, a review process for every change, and a fallback for when the in-house owner is unavailable. A partner can build the first flows, document them, and train the owners, with support retained if the plant wants help with upgrades.
Does the n8n license allow us to use it in a plant?
n8n is distributed under the Sustainable Use License, which permits use for your own internal business purposes, so running it inside a manufacturing company for its own plant integrations is generally within that grant. The license does not allow you to offer n8n to customers or distribute it commercially. Files marked .ee require a valid n8n Enterprise License, and features such as SSO and LDAP, environments with Git and log streaming are included only in the Business and Enterprise plans according to n8n's pricing page. Have your legal team confirm the terms against your use case, especially if a supplier or subsidiary will operate flows for you. Node-RED, which is Apache-2.0 licensed, is an alternative if the license review is a concern.
Can a workflow automation flow be used in a regulated manufacturing environment?
A flow can be used in a regulated environment if its records, approvals and access controls meet the requirements of that regime. Regulations that may apply include NIS2 for manufacturers in the listed NACE divisions, the Machinery Regulation for connected machinery from 14 January 2027, and, for life sciences plants, the record and signature rules in 21 CFR Part 11. The flow itself must keep execution logs, change approvals and restricted production access, and the platform should be documented and validated in proportion to the risk. Our role is to prepare systems, controls and evidence for an assessment, but independent auditors and certification bodies issue any audit result. Ask each candidate partner which of these regimes they have prepared evidence for and how the evidence will be retained.
Questions to ask an implementation partner before handover
Start with zone and conduit documentation: ask the partner to show, for a past project, how it documented zones and conduits under the ISA/IEC 62443 series, and which requirements of ANSI/ISA-62443-3-2-2020 its risk assessment covered. Ask who decides which flows may cross from the plant network to the business network, how that rule is enforced (firewall policy, one-way data diode or broker), and whether the flow runtime sits in the zone it serves. Ask how the partner locks down the editors: for Node-RED, whether the editor is bound to loopback or a management network, whether adminAuth is configured with hashed passwords, and whether the HTTP endpoints are restricted. For n8n, ask how SSO and access roles are set, and confirm which features need a paid plan, since SSO, environments with Git and log streaming are listed for Business and Enterprise plans on the n8n pricing page.
Next, ask how credentials and the n8n encryption key are held across zones. In queue mode, workers need the main instance's encryption key to read stored credentials, so ask where that key lives, who can read it, and how it is rotated without breaking worker access. Ask how flow changes are approved, exported and versioned, and whether editing on the plant is blocked in favor of a promotion path from a test environment. Ask how failures reach an operator on shift, not only an inbox, and who receives alerts when a flow stops reading a PLC or MES endpoint. Finally, ask how custom nodes are maintained and patched, and request the handover package in writing: architecture diagrams, network rules, key custody records, runbooks, owner per flow, and a dated patch schedule.
Ask for named owners after handover too. The partner should state which flows the plant team will maintain, which it will keep under retainer, and how the in-house team proves it can edit a flow safely before the partner leaves. Confirm the scope of any retainer in writing, since ongoing support is contracted separately from the fixed-scope implementation.
How DeployOpen scopes and supports manufacturing automation
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source automation inside the client's own infrastructure, including plant networks and edge hosts where the client allows it. For manufacturing, the work starts with a written scope that separates IT flows from anything touching operational technology, so each flow runs where its risk and ownership belong.
How we scope
- Inventory of machines, MES, ERP and quality systems each flow would read from or write to
- Written mapping of which flows run in IT, the DMZ or plant networks, with named owners
- Agreed list of editor access, credential stores and test environments before any build starts
How we build
- Flows built on the agreed platform, such as n8n or Node-RED, with credentials held in the client's own store
- Editor access restricted, admin pages kept off the open network and changes made through version control
- Test runs against non-production copies of MES and ERP interfaces before any plant deployment
How we hand over
- Runbooks covering each flow's purpose, inputs, outputs, failure alerts and recovery steps
- Documented change approval for flow edits, plus a register of community or custom nodes in use
- Training for the client's own maintainers so flows can be changed after the engagement ends
How we support
- Ongoing support, upgrades and testing available as a retainer after handover
- Patch and version review for the automation platform, scheduled with plant change windows
- Periodic review of editor access, credentials and flows against the client's OT segmentation rules

