MQTT is an open OASIS and ISO standard lightweight, publish-subscribe network protocol that transports messages between devices.
You can find authentication information for this node here.
Examples and templates
For usage examples and templates to help you get started, refer to n8n's MQTT Trigger integrations page.
This workflow allows you to receive messages from a queue using the MQTT Trigger node. You can also find the workflow on the website. This example usage workflow would use the following node.
The final workflow should look like the following image.
1. MQTT Trigger node#
- First of all, you'll have to enter credentials for the MQTT Trigger node. You can find out how to do that here.
- Enter the name of the topic in the Topics field.
- Click on Test step to run the workflow.
Activate workflow for production
You'll need to save the workflow and then click on the Activate toggle on the top right of the screen to activate the workflow. Your workflow will then be triggered as specified by the settings in the MQTT Trigger node.