Prerequisites: Local MQTT broker, Slack incoming webhook. On-prem host for MQTT subscribe.
Build a smart-home or edge notification workflow from template #132: forward MQTT device events to a Slack channel.
What this template does
- MQTT Event — subscribes to
home/sensors/#. - Notify Slack — posts topic and payload to
#home-automation.
Step 1 — Load the template
- Studio → Templates → search
MQTT Device Event Slack. - Load template #132.
Step 2 — MQTT topic
- Match topic filter to your device layout (e.g.
factory/line1/#). - Set broker credentials if authentication is enabled.
Step 3 — Slack
- Add webhook URL and target channel.
- Customize message with
{{topic}}and{{payload}}.
Step 4 — Test
- Activate on-prem, publish a test MQTT message, confirm Slack delivery.
- Review runs in Jobs → History.
Related tutorials
- HTTP to MQTT Bridge — publish side of MQTT.
- Modbus Threshold → Slack Alert — industrial alerts.