Ops & Monitoring · n8n

Log Machine Downtime and Alert Maintenance Instantly

Cut costly downtime — when a machine reports a stoppage, log it with the reason and alert maintenance so repairs start immediately.

difficulty Advancedsetup 40 minresult Every stoppage is logged and maintenance is alerted at once, minimizing production downtime.
  1. 1

    Ingest Machine Signals

    Add an MQTT Trigger (or Webhook) node receiving stoppage events with the machine ID and code.

  2. 2

    Log the Downtime

    Add a Google Sheets node recording the machine, start time and reason code.

  3. 3

    Alert Maintenance

    Add a Slack node notifying the maintenance channel with the machine and fault details.

  4. 4

    Track Resolution

    Add a step capturing when the machine restarts to compute total downtime.

  5. 5

    Activate and Test

    Activate the workflow and send a test stoppage. Confirm logging and alerting work.

Frequently asked questions

Can I report downtime trends?

Aggregate the log weekly to find the machines and fault codes causing the most downtime.

What about planned maintenance?

Flag scheduled stops separately so they don't skew your unplanned-downtime metrics.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.