Skip to main content

MQTT Component

Interact with an MQTT Queue

Component key: mqtt ·
· Changelog ↓

Description

Message Queuing Telemetry Transport (MQTT) is a light-weight, efficient publish-subscribe network protocol for sending messages between devices. This component enables publishing messages to an MQTT queue topic.

Protocol Specification

This component was built using the MQTT protocol specification.

Connections

MQTT Connection

key: mqtt

An MQTT broker connection requires a host, protocol, and optionally authentication credentials.

Prerequisites

  • An MQTT broker instance accessible from the network (e.g., Mosquitto, HiveMQ, AWS IoT Core)
  • Broker credentials if authentication is enabled

Configure the Connection

  • Host: Enter the hostname or IP address of the MQTT broker
  • Protocol: Select the connection protocol:
    • TCP — standard unencrypted connection
    • MQTT — MQTT protocol (typically port 1883)
    • MQTTS — MQTT over TLS/SSL (typically port 8883)
  • Port: Enter the broker port (optional - defaults depend on the selected protocol)
  • Username: Enter the broker username (optional, required if authentication is enabled)
  • Password: Enter the broker password (optional, required if authentication is enabled)
InputNotesExample
Host

Provide the string value for the host of the MQTT server.

Password
Port

The port of the MQTT server.

Protocol

The protocol used to connect to the MQTT server.

Username

Actions

Publish Message

Publish a message to a MQTT topic. | key: publish

InputNotesExample
Message

Provide a string value to be sent to the MQTT topic.

Message to Queue
Connection
Topic Name

Provide a string value for the name of the MQTT topic.

myTopic

{
"data": "Message published successfully."
}

Changelog

2026-04-13

  • Updated Example Payloads

2026-04-07

Added global debug support across all actions for improved troubleshooting