Skip to content

MQTT node#

Use the MQTT node to automate work in MQTT, and integrate MQTT with other applications. n8n supports transporting messages with MQTT.

On this page, you'll find a list of operations the MQTT node supports and links to more resources.

Credentials

Refer to MQTT credentials for guidance on setting up authentication.

This node can be used as an AI tool

This node can be used to enhance the capabilities of an AI agent. When used in this way, many parameters can be set automatically, or with information directed by AI - find out more in the AI tool parameters documentation.

Operations#

Use the MQTT node to send a message. You can set the message topic, and choose whether to send the node input data as part of the message.

Templates and examples#

Receive messages for a MQTT queue

by ghagrawal17

View template details
IOT Button Remote / Spotify Control Integration with MQTT

by Hubschrauber

View template details
Send location updates of the ISS to a topic in MQTT

by ghagrawal17

View template details
Browse MQTT integration templates, or search all templates

n8n provides a trigger node for MQTT. You can find the trigger node docs here.

Refer to MQTT's documentation for more information about the service.