n8n workflows can write to InfluxDB via HTTP API calls, acting as a transformation and routing layer between MQTT/webhook event sources and time-series storage.
n8n's built-in MQTT Trigger node subscribes directly to Mosquitto broker topics, enabling event-driven workflows whenever a device publishes a message — connecting shop floor events to business systems.
n8n can trigger Grafana annotations, fire alerts into n8n workflows via webhooks, and write processed data to datasources (PostgreSQL, InfluxDB) that Grafana visualizes — linking automation pipelines to dashboards.