Connectors
Messaging & Event Streaming
MQTT
Lightweight pub/sub messaging for IoT: publish and subscribe to broker topics
MQTT specificationAPI checked August 18, 2026
- Signs in with
- Connection details
- Runs on
- Cloud or On-Prem Worker
- Operations
- 2
- Ready-made triggers
- 0
Connect MQTT
- In Neblex open Connect › Connections and click New Connection.
- Search for MQTT and give the connection a clear name.
- Fill in the fields. Secret values are encrypted and never shown again.
- Click Test, then Create Connection.
If the system is only reachable inside your network, choose an On-Prem Worker under Test from and run the flow on that Worker. See On-Prem Workers.
| Field | What to enter |
|---|---|
| Connection setupRequired | |
| HostRequired | |
| PortOptional | Example: 8883 |
| UsernameOptional | Optional MQTT 3.1.1 user name. A username without a password is valid; a password without a username is rejected. |
| PasswordOptionalSecret | Optional sealed MQTT password bytes represented by the connection URL. It is used only when Username is present. |
| Use TLSOptional | Turning this off sends traffic and credentials without transport encryption. Use plaintext only for a customer-controlled endpoint that explicitly requires it. |
| Connection stringRequiredSecret | Paste a root-only mqtt://, mqtts://, ssl://, or tls:// broker URL. Paths, queries, fragments, and password-only userinfo are rejected. |
Use it in a flow
- Open a flow, open the node library and search for MQTT.
- Drag it onto the canvas and choose an Operation and your connection.
- Map the operation's fields from earlier steps, or click Map with Matt.
- Use Test this step to see what it returns, then save.
To start a flow from MQTT without a ready-made trigger: a Live stream trigger with MQTT as the stream source starts a run for each message as it arrives (see Streaming triggers).
Operations
2 operations in 2 groups. Each one is a step you can add to a flow.
Connection1
Test the connectionping | Complete an MQTT 3.1.1 CONNECT/CONNACK exchange with the configured broker. |
Message1
Publish a messagepublish | Publish byte-exact application data to an MQTT 3.1.1 topic and wait for the QoS-defined completion boundary. |