← Templates
Alert Escalation Chain
Alert Escalation Chain

A three-step chain that detects anomalies, triages severity, and escalates to the right stakeholders automatically.

alerting workflow_trigger ⏱ ~5 min setup alertingescalationmonitoringworkflow
Inputs
entity_type string Type of entity to monitor (venture, project)
entity_id string ID of the entity being monitored
threshold number Alert threshold value (e.g. days stale, % drop)
Outputs
alert_fired boolean Whether an alert was triggered
severity string Severity level: low, medium, high, critical
escalation_sent boolean Whether an escalation notification was sent
Steps (3)
1
Detect intelligence

Analyse the entity for anomalies or threshold breaches.

Analyse the following entity for anomalies, stale status, or performance issues. Entity type: {{context.entity_type}} Entity ID: {{context.entity_id}} Threshold: {{context.threshold}} Return a JSON object with: { "alert_fired": true/false, "anomalies": [...], "raw_metrics": {...} }
show more
on_success: next on_failure: halt
2
Triage intelligence

Assess severity of detected anomalies and classify them.

Triage the following anomalies detected for {{context.entity_type}} {{context.entity_id}}. Anomalies: {{context.anomalies}} Classify severity (low/medium/high/critical) and recommend escalation path. Return a JSON object with: { "severity": "...", "escalation_path": "...", "summary": "..." }
show more
on_success: next on_failure: halt
3
Escalate inline

Send escalation notifications to the appropriate stakeholders.

Send an escalation notification based on the triage results. Entity: {{context.entity_type}} {{context.entity_id}} Severity: {{context.severity}} Escalation path: {{context.escalation_path}} Summary: {{context.triage_summary}} Draft and send the escalation message. Return a JSON object with: { "escalation_sent": true, "message_preview": "..." }
show more
on_success: next on_failure: halt
Ready to use this template?
Clone it into your Agent Chains in one click.