# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ism-docs.xnarum.com/ism-admin-ui/channel/mqtt.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
