Templates / Remote IOT sensor monitoring via MQTT and InfluxDB

Remote IOT sensor monitoring via MQTT and InfluxDB

Ready for 3.0

by Tony Duffy · 2,365 views · created 2025-05-12 · Engineering

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 3 nodes and runs on MQTT events. Along the way it connects MQTT.

How it runs

Trigger: On MQTT events.

  1. Payload data preparation node (Code): runs custom JavaScript code
  2. Data ingest to InfluxDB bucket (HTTP Request): calls an HTTP API (POST)

Services it uses

MQTT

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (3)

From the author

. Read and store IOT sensor data with the MQTT Trigger and InfluxDB [email protected] This workflow is for users wanting a practical example of how to obtain data from remote IOT systems using the MQTT protocol in an n8n environment. The template…

Excerpt from Tony Duffy's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.