IT OPS

Edge Box Missed Heartbeat to Discord Triage Thread

When a site's edge device stops sending its periodic heartbeat, this opens a dedicated triage thread in Discord with the site's last-known status so on-call can start working…

CategoryIT Ops
Enginesim
Difficultyintermediate
Triggerschedule
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerEvery minute: scan heartbeat ledger
  • ActionQuery Postgres for devices past their check-in windowPostgreSQLPostgres
  • LogicDrop devices already in an open incident
  • ActionRead last-known status row for each silent devicePostgreSQLPostgres
  • OutputOpen a per-site Discord triage thread with contextDiscordDiscord
  • ActionRecord open incident back to PostgresPostgreSQLPostgres

What it does

Watches the heartbeat ledger for every on-prem edge box and, when a device misses its expected check-in window, spins up a focused Discord triage thread named after the affected site. The thread is pre-loaded with the device's last-seen timestamp, firmware version, and recent status so responders skip the lookup phase.

When to use it

Use it when you run fleets of remote edge boxes (retail, warehouses, clinics) and a silent device means a site is effectively offline. It replaces noisy channel pings with one tidy thread per incident that the whole on-call team can collaborate in.

How it works

  1. 1A scheduled check fires every minute and queries the Postgres heartbeat table for devices whose `last_seen` is older than their allowed interval.
  2. 2A logic step filters out devices already in an open incident so threads aren't duplicated.
  3. 3For each newly-silent device, an action reads its last-known status row (firmware, site, uptime).
  4. 4The workflow creates a Discord thread titled with the site and device ID, posting the enriched context as the first message.
  5. 5The new incident is recorded back to Postgres so the dedupe filter stays accurate.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect PostgresAny Postgres URL — query, write, migrate.
  2. 2
    Connect DiscordCommunity channels + voice + bots.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.