> For the complete documentation index, see [llms.txt](https://ism-docs.xnarum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ism-docs.xnarum.com/ism-admin-ui/channel/mqtt.md).

# Mqtt

MQTT is an OASIS standard messaging protocol for the Internet of Things (IoT). It is designed as an extremely lightweight publish/subscribe messaging transport that is ideal for connecting remote devices with a small code footprint and minimal network bandwidth. MQTT today is used in a wide variety of industries, such as automotive, manufacturing, telecommunications, oil and gas, etc.

## **Trigger a flow**

You need to configura an an mqtt job to trigger the flow. The attributes of the job are these.

<table><thead><tr><th width="159">Name</th><th>Description</th></tr></thead><tbody><tr><td>Job Name</td><td>Name of the job</td></tr><tr><td>Broker</td><td>The url of the MQTT broker.<br>The url starts with tcp://</td></tr></tbody></table>

When MQTT subscriber receives a message, the message is passed to the flow as an input data and the format is like this.

PayloadFormat : 0

<figure><img src="https://support.xnarum.com/download/manuals/images/mqtt-format-binary.png" alt="" width="188"><figcaption></figcaption></figure>

PayloadFormat : 1

<figure><img src="https://support.xnarum.com/download/manuals/images/mqtt-format-utf8.png" alt="" width="375"><figcaption></figcaption></figure>
