1. Sensor alert → maintenance work order
A machine's readings drift out of range; today an operator notices late (or after a breakdown), then phones maintenance and fills a work order by hand.
Trigger: Webhook (IoT/SCADA sensor threshold)
How the workflow runs
- Trigger
Sensor crosses a threshold. A Webhook trigger receives the telemetry event from your IoT/SCADA layer.
- Condition
Confirm it's real. A Condition node filters noise (sustained vs momentary) so you don't cry wolf.
- Agent
Diagnose + prioritize. An Agent node correlates the reading with the asset history and sets urgency.
- Device
Safe-state the equipment. A Device Control node can trigger a safe stop / mode change where that's wired up.
- Output
Dispatch the technician. An Output node raises the work order and messages the on-shift technician with the fault and part.
Channels & connectors
- Webhook (IoT/SCADA)
- Device Control
- Tool (MCP → CMMS)
Outcome
Drifting equipment is caught and dispatched automatically, often before failure.
Why it helps
Replaces late human noticing + manual work-order entry with an instant, prioritized dispatch — the core of predictive maintenance.
Build spec
1 agent — 1 diagnosis agent; noise filtering is a Condition node and the safe-stop is a Device Control node.
System prompt (paste-ready)
You are a maintenance-diagnosis agent. Given a confirmed sensor event {asset_id, metric, value, threshold, duration} and the asset's history, assess the likely fault, set urgency (low/medium/high/critical), and identify the probable part or check needed. Recommend whether the equipment should be safe-stopped. Base the diagnosis only on the telemetry and maintenance history provided — never fabricate a fault code or part number. Output {asset_id, likely_fault, urgency, recommended_action, part?}.MCP connectors
- IoT/SCADA telemetry — inbound via Webhook trigger
- CMMS (work orders) — via a Tool (MCP) node
- WhatsApp — technician channel
Built-in tools
- knowledge_search (asset manuals + maintenance history)
Guardrails
- The Condition node filters momentary noise — only sustained, confirmed threshold breaches reach the agent
- Safe-stop via the Device Control node only where that interlock is explicitly wired — otherwise it advises, never forces
- Diagnoses use real telemetry + history — no fabricated fault codes or parts
Output & delivery
On a confirmed breach, the agent diagnoses and prioritizes, a Device Control node can safe-state the equipment where wired, and an Output node raises the work order and messages the on-shift technician with the fault and part.