MQTT (Message Queuing Telemetry Protocol) is a publish-subscribe based messaging protocol working at the top of the TCP/IP protocol. It sets up the connections with remote locations where there is a limited network bandwidth.
Triggers when a a subscriber receives a message from the publisher
o use MQTT in your workflow, you will first need to connect it with Built.io Flow.
Go to your canvas, double-click on the Start icon, and select MQTT service. Then, click on the Add New option listed under the Connect to MQTT field in the configuration window. The Add Connection window will prompt where you need to select the connection type by which you want to establish the connection.
You need to enter the credentials in the ADD Connection field depending the mode of connection type you select.
To retrieve these credentials, login to your MQTT account.. On the Get Started page, you can see the credentials using which you can establish the connection.
The broker URL of your account starts with https:// and contains the Broker host and Broker port parameter. E.g., https://mqtt.dioty.co:1234. Here, mqtt.dioty.co is your broker host and 1234 is your broker port. You can copy the User id from this window. Similarly, use the password sent to you via email.
Enter these credentials in the respective field of the Add Connection window. Then, click the ADD button. You can now see the added authorization under the Connect to MQTT field.