How n8n subscribes to MQTT topics for plant-floor events
n8n connects to MQTT through its built-in MQTT Trigger and MQTT nodes, and the broker is the separate component that carries device messages. The MQTT Trigger starts a workflow when a message arrives on a topic you subscribe to, and the MQTT node publishes messages back out. MQTT is a publish-subscribe protocol: sensors, PLC gateways and other devices publish readings to named topics on a broker, and any client that subscribes to those topics receives the messages. In this model n8n is only a subscriber. It does not store device data, route it between devices or act as the broker, so the broker is the system that must be secured, sized and monitored for connection limits, retained messages and authentication.
This split changes what you plan for. Your device and network team owns the broker, its TLS configuration, client credentials or certificates, and the access rules that decide which topics each device and each n8n connection may publish or subscribe to. Your n8n team owns the workflows, the stored MQTT credentials and the handling of each incoming message. Before building, confirm which broker product and version you run, how it authenticates clients and whether your device firmware can publish to the topic layout you plan. Also confirm that the n8n instance can reach the broker port on the plant network, since many plant-floor brokers sit in segments that restrict outbound connections from workflow servers.
Licensing applies to the n8n side of this design. n8n is source-available under the Sustainable Use License, not OSI open source, so confirm with your legal or procurement team that your intended internal use, including use inside a plant or for a commercial operation, fits the license terms before you make n8n part of a production event path. The broker's license is separate and should be checked on its own terms, since Mosquitto and EMQX are licensed differently. Review both licenses against the way you will deploy them, not only against the product names.
What you need before connecting n8n to the broker
Four decisions shape the MQTT integration before any flow is built: the n8n edition and version, the broker and its release, the network paths between devices, broker and n8n, and the certificates and credentials that protect each connection. Settle these first, because each one changes what the trigger can reach and who must be involved.
n8n version and edition
Confirm that your n8n instance includes the MQTT Trigger node and the MQTT node in the version you plan to run, and check the release notes before you pin a version. n8n ships minor releases roughly weekly and uses semantic versioning, so the pinned tag should be recorded in your change log. If you plan several main instances for high availability, note that multi-main setup is limited to Enterprise self-hosted deployments, which affects how many instances can subscribe to the same broker.
- Latest release cited
- 2.43
Broker choice and version
Choose the broker before writing flows, because the topic structure, authentication model and clustering options differ. Eclipse Mosquitto implements MQTT 5.0, 3.1.1 and 3.1, and Mosquitto 2.1.2 is the latest tagged release in the supplied facts. EMQX 6.3.2 is the latest EMQX release supplied, but its license changes at scale: clusters of more than one node need a license file. Confirm the version you will deploy against the release notes and each broker's own documentation.
Mosquitto home pageNetwork paths to n8n
Map every path before deployment: gateways to the broker on the broker port, the broker to n8n on the port the trigger connects to, and any bridge between brokers in different plants or sites. Plant networks often separate operational technology from the business network, so an outbound connection from the n8n host to the broker may need a firewall rule approved by the OT team. Confirm which direction each connection opens, because a trigger that subscribes needs a reachable broker, not the reverse.
Broker certificates
Plan the TLS certificates for the broker and any client certificates before flows go live. Mosquitto supports certificate and pre-shared-key options for bridge connections, and EMQX supports X.509 certificates for client authentication over TLS. Decide who issues and rotates the certificates, where the private keys are stored, and how a revoked gateway is removed. Record the expiry dates so that a lapsed certificate does not silently stop device events from reaching n8n.
mosquitto.conf manualBroker and device credentials
Create one broker account for n8n with subscribe rights only to the topics it needs, and separate accounts for each gateway or device group with publish rights limited to their own topics. Mosquitto provides the mosquitto_passwd tool for managing password files, and EMQX offers username and password, JWT and certificate authentication. Store the n8n credentials in n8n's credential store, and make sure the encryption key is shared with every worker and webhook processor in queue mode.
Topic design and sign-off
Agree the topic naming scheme with the people who own the devices and the plant systems before building triggers. A clear hierarchy, for example one that includes site, line and device type, lets a single trigger filter the events it needs and keeps wildcard subscriptions narrow. Confirm which team approves changes to the scheme and to broker access, since a wildcard subscription on a shared broker can expose events from other lines.
Configuring the MQTT credential, trigger and first flow
This sequence connects an n8n instance to a broker you control, proves that only authorized clients can publish, and turns one device event into a downstream action. Each step ends with a check so the team can confirm the path works before adding more topics or flows.
Confirm the broker and a test topic
The platform or network team confirms which broker runs the traffic, such as Eclipse Mosquitto or EMQX, and which version is deployed. They create a dedicated test topic, for example a path under a plant or site namespace that is clearly marked for testing. Confirm that the broker listens on the port and transport your network policy allows between the n8n host and the broker. Done when a client on the same network can connect and see the broker's status response. Ask the broker vendor or your own runbook which listener settings and TLS requirements apply to your version, since the defaults differ between releases and editions.
Create a broker user with topic-level permissions
Create a dedicated broker account for n8n so that it does not share credentials with device or operator accounts. Grant it subscribe rights only on the narrow topic filter the flow needs, and no publish rights unless the flow later writes commands back to devices. In Mosquitto, the mosquitto_passwd tool creates the password entry and access rules are set in the broker's ACL file. In EMQX, the same account is created through its authentication and authorization settings. Done when a test connection with that account succeeds on the test topic and a publish attempt to a topic outside its grant is refused by the broker.
Create the MQTT credential in n8n
In n8n, the administrator creates an MQTT credential that holds the broker host, port, protocol version, the dedicated username and password, and the TLS settings your broker requires. If the broker requires client certificates, load the CA certificate, client certificate and private key here rather than pasting them into a workflow. Store the credential under a project that only the flow owners can use. Done when the credential test in n8n reports a successful connection. If it fails, check the broker log: a refused authentication or certificate error appears there, which tells you whether the problem is the credential or the network path.
Add an MQTT Trigger with a narrow topic filter
The workflow owner adds an MQTT Trigger node, selects the credential, and sets the topic to the exact test topic rather than a wildcard that matches every device. Keep the trigger set to the message format your devices send, and choose a quality of service level only after confirming what your gateway publishes. Activate the workflow. Done when the trigger shows as listening in n8n and the broker shows one active subscription from the n8n account. Use the MQTT Trigger node documentation to confirm the options available in your n8n version before you rely on them.
Send a test message from a broker client
From a host that holds a device or operator certificate, the engineer runs mosquitto_pub against the test topic with a short JSON payload that resembles a real sensor reading. Use a small, clearly labeled test value so that the test cannot be mistaken for production data. Also run mosquitto_pub with an unauthorized account or to a topic outside the grant. Done when the authorized publish succeeds and the unauthorized attempt is rejected at the broker, which confirms that the access rules work as intended.
Confirm the execution in n8n
Open the workflow's executions list in n8n and find the run created by the test message. Inspect the trigger output and confirm that the topic name, payload and any metadata match what mosquitto_pub sent. If the payload arrives as text, add a parsing step before it is used downstream. Done when one execution appears for the one message sent, with the expected payload visible. If no execution appears, check the subscription in the broker, the topic spelling and whether the workflow is active.
Add the downstream action
The workflow owner adds one action that matches the business need: a ticket in the helpdesk, a notification to an operations channel, or a database write to a historian or events table. Map only the fields the action needs, and write to a test destination first. Keep the database account limited to the insert it needs. Done when the test message produces the ticket, notification or row in the destination system, and the execution shows each step as successful. Only after this check should the team expand the topic filter or add more devices.
Mapping topics, payloads and fields into workflow data
This table compares each MQTT message element with where it appears, the workflow field it should feed, and the validation rule to apply before a ticket or database write. Use it as a starting checklist for the mapping step, then confirm every payload detail with the device or gateway vendor, since structure varies widely between products.
| Source element | Where it appears | Workflow field | Validation rule |
|---|---|---|---|
| Topic name | MQTT topic string, such as a plant, line and device path | site, line, deviceId (parsed in a Code or Set node) | Match a fixed pattern; reject unknown sites and wildcard characters in published names |
| Device identifier | Topic segment or JSON field, depending on the gateway | deviceId | Must match the asset register; route unmatched IDs to a review queue, not a ticket |
| Payload format | Message body: JSON, plain text, raw bytes or vendor-encoded binary | parsed event object | Confirm encoding with the vendor; decode binary before any field checks |
| Event timestamp | Device clock field in payload, or broker receive time | eventTime (ISO 8601, UTC) | Parse as a date; flag values far from receive time, since device clocks drift |
| Measured value | Numeric field such as temperature or pressure, often with a unit | value and unit | Check type is numeric and unit matches the expected tag; apply range limits set by process engineers |
| Quality indicator | Status or quality code field, often vendor-specific | quality (good, uncertain or bad) | Map vendor codes explicitly; do not raise tickets on bad-quality readings without a secondary check |
| Alarm or severity | Alarm flag, severity code or event type field | severity, eventType | Restrict to a documented code list; unknown codes go to a default category with a note |
| Ticket or database target | Downstream ticketing or SQL table columns | ticket fields or insert columns | Enforce field length, required fields and deduplication key (deviceId plus eventTime) |
Choosing Mosquitto or EMQX as the broker
Mosquitto is dual licensed under the Eclipse Public License 2.0 or the Eclipse Distribution License 1.0 (SPDX: EPL-2.0 OR BSD-3-Clause), which gives you a choice of terms for the open-source broker. EMQX moved from Apache 2.0 to the Business Source License 1.1 starting with version 5.9.0, when its Open Source and Enterprise editions were merged into a single offering. The EMQX license permits production use of a single node, but it restricts offering the software to third parties on a hosted or embedded basis, and it grants unrestricted production use to educational and non-profit users only for non-commercial purposes. Each BSL release converts to Apache 2.0 four years after it is published.
- Mosquitto licensing: Read the permissive EPL-2.0 or BSD-3-Clause terms in the project's LICENSE file and confirm which option your legal team accepts.
- EMQX single node: Single-node production use is allowed under the license terms, but confirm that your use is not a hosted or embedded service offered to others.
- Conversion date: Each EMQX release converts to Apache 2.0 four years after publication, so note which version you deploy and when it converts.
- Commercial use: Ask whether your organization's internal use, supplier relationships or customer-facing products fall within the license grant.
- Counsel review: Have counsel review the EMQX license against your actual use before you commit to a version.
Check the license of the exact EMQX version you plan to deploy, not the one you tested.
Clustering is the factor that most often changes the cost of the broker. Mosquitto's open-source edition is documented for on-premises deployment with core MQTT features, and its bridges connect multiple brokers together with certificate and pre-shared-key TLS options. High availability, persistent queuing and professional support are features of Cedalo's commercially licensed Pro Edition. EMQX offers masterless clustering, but from version 5.9.0 a cluster of more than one node requires loading a license file.
- Single broker: One Mosquitto instance or one EMQX node can serve a single plant or site if the broker is not required to fail over.
- Bridges: Mosquitto bridges link brokers across sites, which suits a hub-and-spoke design with one broker per line or plant.
- Multi-node EMQX: Plan for a license file before you add a second node, and include that step in your change records.
- High availability: If failover is a requirement, compare Cedalo's Pro Edition terms with EMQX's clustering license and the redundancy you can build yourself.
- Persistent queuing: Confirm whether message loss during outages is acceptable, since only the Pro Edition is documented here for persistent queuing.
Write down the availability target for the broker before you compare clustering options.
Plant-floor and sensor estates often include devices that do not speak MQTT directly. Mosquitto implements MQTT 5.0, 3.1.1 and 3.1 and ships C and C++ client libraries along with mosquitto_pub, mosquitto_sub and mosquitto_rr for testing. EMQX supports MQTT 5.0, 3.1.1 and 3.1, MQTT over QUIC, and provides gateways for MQTT-SN, CoAP and LwM2M. Its rule engine can route messages to systems such as Kafka, PostgreSQL and Redis, and it supports username and password, JWT, PSK and X.509 certificate authentication.
- Native MQTT devices: If every device publishes MQTT 3.1.1 or 5.0, Mosquitto covers the protocol needs without a gateway.
- Constrained devices: If sensors use MQTT-SN, CoAP or LwM2M, EMQX's gateways may remove the need for a separate translation layer.
- Rule engine: EMQX's SQL-based rules can write to databases before n8n is involved, so decide which layer should own each transformation.
- Authentication: Compare how each broker handles device identity, including X.509 certificates and pre-shared keys, against your device fleet.
- Gateway licensing: Confirm that the gateways you need are included in the license terms that apply to your deployment.
Inventory every protocol your devices speak and every system that consumes the events before you pick a broker.
How device events reach n8n and downstream systems
Sensors and PLC gateways publish messages to a broker in a DMZ zone, which sits between the plant network and the n8n network. The broker forwards subscribed topics to the MQTT Trigger node, which starts a workflow that writes to a ticketing system, a notification channel and a database. Check each boundary: which firewall rules allow the broker connection, which credentials or certificates the n8n side presents, and which direction traffic is allowed to flow.
Device events cross three trust boundaries before reaching downstream systems.
Securing the broker, credentials and workflow paths
A workflow that reads plant-floor events is only as safe as the broker it subscribes to, the credentials it holds and the network path between operational technology and IT. The cards below cover those controls in the order a deployment team usually builds them, from broker authentication to the framework used to review the design.
Broker authentication for n8n
Give the n8n MQTT Trigger its own broker account rather than a shared device login, so revocation and audit affect only the workflow. Mosquitto authenticates with username and password files managed by mosquitto_passwd. EMQX also supports JWT, PSK and X.509 certificates, so pick the method your broker edition and gateways support, and confirm how each option is configured in your version before rollout.
Client certificates for devices and bridges
X.509 client certificates tie a connection to a known identity that is hard to copy from a configuration file. Use them for gateways and sensors where you can manage certificate issue and rotation, and for bridges between brokers. Confirm the certificate lifecycle with your broker vendor, including how revoked certificates are refused and who renews them before expiry.
TLS on every listener
Enable TLS on each listener the n8n workflow, devices and bridges use, not only on the one that faces the internet. Plain MQTT on an internal port still carries credentials and payloads in readable form. Check which listeners in your mosquitto.conf or EMQX configuration use TLS, and whether the n8n MQTT credential is set to require it.
Per-user topic authorization
Grant the n8n account subscribe rights only to the topics its workflows need, such as a single site or line prefix, and deny publish rights unless a workflow must send commands. A wildcard subscription to every plant topic exposes data the workflow does not use. Write the topic list for each workflow, test denied topics explicitly, and review it whenever a new line or gateway is added.
The n8n encryption key and its storage
n8n encrypts stored credentials with an encryption key, and in queue mode every worker and webhook processor needs the same key to read them. Store the key in a secrets manager or restricted configuration, not in workflow exports or chat. Losing it makes stored credentials unreadable, and a leaked key exposes the MQTT password as well as every other integration secret. Confirm the key handling steps against n8n's queue mode documentation.
n8n queue mode docsSegmenting OT from IT
Place the broker and any gateway in a zone that OT devices can reach, and place n8n in an IT or DMZ zone that can reach the broker only on the required port. Use firewall rules that allow outbound connections from n8n to the broker rather than inbound connections into the plant. Document every permitted flow so an auditor or plant engineer can trace why each one exists.
Keeping the broker off the public internet
Do not publish the broker or its WebSocket listener to the internet to make remote integration easier. Reach it through a VPN, a private link or a relay inside your network, and confirm that the public test server at test.mosquitto.org is never used for production data. Test the exposure from outside your network after each change to firewall or load balancer rules.
ISA/IEC 62443 as a review framework
ISA/IEC 62443 is the series of standards for securing industrial automation and control systems, grouped into general, policies and procedures, system, and component requirements. Use its system and component requirements to check segmentation, authentication and access control for this design, and its policy requirements to assign owners for keys and topic access. It is a framework for design and review, not a certification, so no broker or workflow tool is certified under it by using it.
ISA 62443 seriesWhy the trigger receives nothing or the wrong data
This table lists the failures that most often leave an MQTT Trigger silent or delivering unexpected data, with the likely cause and the fix on the n8n or broker side. Work down the rows in order when a workflow stops receiving device events, since the first three checks resolve most cases.
| Symptom | Likely cause | Fix in n8n or the broker |
|---|---|---|
| No events arrive at all | Topic filter does not match the publishing topic, or a wildcard is misused (for example, + used where # is needed, or # placed mid-path) | Subscribe to the exact topic from the gateway, then widen step by step. Use + for one level and # only as the final level. Confirm with mosquitto_sub on the same host before blaming the trigger. |
| Messages missed after a restart | Clean session enabled, or QoS 0 used for messages that must survive a workflow restart or n8n downtime | Set a stable client ID on the trigger, use a persistent (non-clean) session, and have the publisher send QoS 1 for events that must not be lost. Test by stopping n8n, publishing, then restarting. |
| TLS connection fails or drops | Certificate chain incomplete, CA not trusted by the n8n container, or hostname in the certificate does not match the broker address | Supply the full CA chain to the credential, match the broker hostname to the certificate subject, and mount the CA file into the n8n container. Check the broker's TLS listener with the same hostname n8n uses. |
| Connected but subscription refused | Broker ACL or EMQX authorization denies the subscribe for that username or client ID | Grant read access on the topic filter for the n8n client account. In Mosquitto, check the ACL file referenced in mosquitto.conf. In EMQX, check the authorization rules for subscribe actions. |
| Data arrives as text, not fields | Payload is a raw string, so expressions that expect a JSON object return nothing | Parse the message in a Code or Set node with JSON.parse inside a try block, and log the raw value first. Confirm the device publishes JSON or specify the expected format with the device team. |
| Same event processed twice | Broker redelivers unacknowledged QoS 1 messages after a reconnect, and the workflow has no duplicate check | Use a message ID or device timestamp as a key, store processed keys in PostgreSQL, and skip repeats before creating tickets or writing rows. |
| Lag, backlog or dropped events under load | High message rate runs every message through a full workflow execution, and executions queue behind slow downstream steps | Filter early with a narrow topic, aggregate readings in the device or gateway, and move heavy work to a queue-mode worker. Confirm execution volume limits for your plan with n8n before sizing. |
Questions buyers ask before connecting n8n to MQTT
What drives the cost and effort of an n8n and MQTT integration?
The main drivers are the broker setup, the certificates, the payload mapping, the number of device types and the number of downstream systems that receive events. A single Mosquitto or EMQX broker with one sensor type and one ticketing target is a small job. Each added device family usually means another set of topics, another sample payload to decode and another test pass. Broker hardening, TLS certificate issuance and client certificate rollout add effort that depends on how many gateways must be enrolled. Ask for the cost to be split into one-time work (design, build, testing, documentation) and any recurring work (broker upgrades, certificate renewal, workflow changes). A written quote should list each device type, each downstream target and each certificate path separately.
Can our own team connect n8n to MQTT without outside help?
Yes, a team with Linux, networking and workflow skills can often do a basic setup alone, because n8n ships an MQTT Trigger node and an MQTT node. The harder parts are usually outside the workflow: agreeing topic names with the controls or automation team, issuing TLS and client certificates, opening firewall paths from the broker to n8n, and mapping inconsistent device payloads into stable fields. Teams that run plant-floor networks often find the approvals take longer than the build. A partner can take on any of these pieces under a written scope, or review the design your team has drafted before it goes to production. Decide which pieces your team owns before you ask for a quote.
How long does an MQTT integration take to deliver?
The duration depends on scope, and the figure belongs in the written plan rather than in a generic estimate. The main variables are how many topics and device types are in scope, whether the broker already exists and is configured for TLS, how many downstream systems receive events, and how quickly network and security approvals return. A pilot with one device type and one target can be scoped separately from a rollout across several sites. Ask for milestones that cover a design review, a build with recorded sample payloads, a test run against real or simulated devices, and a go-live with a rollback step. Any date should be tied to the client providing the inputs listed in the plan.
What do we need to provide before the work starts?
The work moves fastest when the client supplies the following before the build starts:
- Broker access, including the host, port, version in use (MQTT 3.1.1 or 5.0 is typical for Mosquitto and EMQX) and an account with the rights to create users and topics
- Sample payloads for each device type, captured from the topic over a representative period
- Network approvals for the paths from the broker to n8n and from n8n to ticketing, notification or database targets
- Test devices or a simulator that can publish to a non-production topic
- A named owner for each downstream system and for the plant-floor or OT side of the change
Ask the partner to confirm this list in writing, with the owner and due date for each item.
Is the n8n Community edition enough for an MQTT integration?
For a single-instance, internal deployment, the Community edition covers the MQTT Trigger and MQTT nodes, because n8n advertises access to all integrations on every plan and counts executions per whole workflow run. Plans that include SSO, LDAP, Git-based environments and log streaming are limited to the Business and Enterprise plans, according to n8n's pricing page. Multi-main high availability is restricted to Enterprise self-hosted deployments. Confirm the license terms with your legal team before you use n8n in a plant that serves third parties, because the Sustainable Use License limits use to internal business purposes and non-commercial use. Your choice of plan should follow from whether you need SSO, audit logs or high availability for the event pipeline.
Can the MQTT integration run in a restricted or air-gapped network?
It can, provided the broker, n8n and every target system sit inside the same controlled network and the required connections are approved. Mosquitto supports bridges for connecting multiple brokers, with certificate and pre-shared-key TLS options for bridge connections, which helps when site brokers forward events to a central one. EMQX supports TLS, X.509 certificates, JWT and username and password authentication. Confirm the chosen broker's license before deployment: Mosquitto is dual licensed under EPL-2.0 or BSD-3-Clause, while EMQX 5.9.0 and later use the Business Source License 1.1, and a cluster of more than one EMQX node requires a license file. Plan the offline update path for n8n and the broker before go-live, since patches must reach a network without internet access.
Which security standards apply to IoT event pipelines in industrial sites?
The ISA/IEC 62443 series is the main reference for industrial automation and control systems, and its asset owner requirements, such as ANSI/ISA-62443-2-1-2024, shape how a site should govern changes to event pipelines. NIST SP 800-82 Rev. 3, published in September 2023, covers operational technology security and addresses performance, reliability and safety. If your plant sits in the EU, check whether NIS2 applies to your sector (manufacturing is listed in Annex II) and whether the Machinery Regulation's requirement on connected devices affects your machines from 14 January 2027. Ask your compliance lead which control mapping the site uses, because DeployOpen prepares systems and evidence for assessments but does not issue audit reports or certifications.
What breaks most often in MQTT workflows, and how do we test for it?
The most common failures are topic wildcard mistakes that subscribe to more traffic than intended, payloads whose field names change after a firmware update, expired TLS certificates, and duplicate messages after a reconnect. Build test cases for each device type using recorded payloads, including malformed messages, and check how the workflow behaves when the broker restarts. Verify that retained messages and quality-of-service settings match what the workflow expects. Keep the MQTT Trigger node's credentials and certificates in n8n's credential store rather than inside workflow JSON. Record each test result so the team can rerun the set after a broker or n8n upgrade.
What DeployOpen confirms before any MQTT work starts
DeployOpen puts the integration scope in writing before any build starts. The scope document records the broker and its edition, the device and gateway inventory, the topic tree, sample payloads for each device type, the target systems that receive events, the security requirements and the test plan. For an EMQX broker, the edition question matters early: from EMQX 5.9.0 a cluster of more than one node requires a license file, and the BSL 1.1 terms limit hosted or embedded use. For Mosquitto, the scope should state whether the team relies on the open-source broker alone or needs capabilities that Cedalo's commercial Pro Edition adds, such as high availability and persistent queuing. Confirm these facts with the vendor and against the current license text before the design is fixed.
The payload samples and topic inventory drive most of the design. Ask your plant engineers for real messages from each gateway, including the topic names, the QoS levels in use, retained message behavior and the fields that carry units and timestamps. Those samples decide how an n8n MQTT Trigger node splits device events into tickets, notifications or database writes, and they show where malformed or duplicate messages will need handling. Security requirements should also be named here: which authentication method each client uses (username and password, certificates or pre-shared keys), whether TLS is mandatory, and which network zones may reach the broker. If your sites fall under ISA/IEC 62443 or NIS2 obligations, record that in the scope so the test plan covers it.
DeployOpen does not issue audit reports, attestations or certifications. Its role is to prepare systems, configuration and evidence that your auditors or certification bodies can review. The written scope sets the deliverables, the environments covered, the responsibilities of your team and DeployOpen's team, and the timelines agreed for each phase. Ask for the scope to name who approves each change to the broker configuration and who signs off the test results. A quote follows from that written scope, so any item left vague in the document will show up as a cost or schedule question later.
How DeployOpen delivers n8n and MQTT integrations
DeployOpen plans, builds and hands over n8n workflows that subscribe to MQTT topics from your brokers and turn device events into tickets, notifications or database writes. The work runs on servers and brokers you control, with the broker, topic design, credentials and licensing agreed in writing before the build starts. Engagements are fixed-scope and ongoing support is available as a retainer.
How we scope
- Inventory the broker platform in use (Mosquitto, EMQX or another) and confirm MQTT protocol versions, TLS and client authentication settings.
- Map topics, payload formats and the business action each device event should trigger, such as a ticket, alert or database row.
- Confirm the n8n edition and license position for your use before design, since SSO, environments and multi-main high availability depend on the plan.
How we build
- Configure the MQTT Trigger node with topic subscriptions, quality of service and TLS settings, and test each topic against sample device messages.
- Build payload parsing, validation and error branches so malformed device messages are logged and quarantined rather than silently dropped.
- Set up credentials, the encryption key handling for queue mode workers, and rate or volume controls appropriate to your event load.
How we hand over
- Deliver the workflow set with a written topic and payload specification, credential inventory and a list of external systems each flow writes to.
- Document the runbook for broker failover, topic changes, adding devices and rotating broker credentials, with owners named for each task.
- Run a joint test session with your operations and OT teams, then record the results and any open items in the handover pack.
How we support
- Review workflow execution logs and error rates with your team on a schedule agreed in the written scope.
- Plan n8n and broker upgrades in a test environment first, checking release notes for changes to the MQTT node and broker settings.
- Offer ongoing support, upgrades and continuous testing as a retainer, with the scope of each retainer agreed in writing.

