mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
| .. | ||
| README.md | ||
| workflow.png | ||
| permalink | description |
|---|---|
| /nodes/n8n-nodes-base.mqttTrigger | Learn how to use the MQTT Trigger node in n8n |
MQTT Trigger
MQTT is an open OASIS and ISO standard lightweight, publish-subscribe network protocol that transports messages between devices.
::: tip 🔑 Credentials You can find authentication information for this node here. :::
Example Usage
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 Execute Node to run the workflow.
::: tip 💡 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. :::
