Slack · PagerDuty · Any

Webhook Integrations

Push decisions to Slack, PagerDuty, or any webhook. Real-time alerts for high-risk actions.

Supported Integrations

💬
Slack
Real-time alerts
🚨
PagerDuty
Incident routing
🔗
Custom Webhook
Any HTTP endpoint

Configure Webhooks

// Create a webhook
await omega.webhooks.create({
  name: "High Risk Alerts",
  url: "https://hooks.slack.com/services/T00/B00/xxx",
  events: ["decision.blocked", "decision.escalated"],
  filters: {
    riskScoreAbove: 0.8
  },
  secret: "whsec_xxx" // For signature verification
});

// Test webhook
await omega.webhooks.test({ webhookId: "wh_abc123" });

Webhook Payload

{
  "event": "decision.escalated",
  "timestamp": "2026-01-14T12:00:00Z",
  "decision": {
    "id": "dec_abc123",
    "outcome": "ESCALATE",
    "riskScore": 0.85,
    "scenario": "Transfer $100k to new vendor",
    "policyMatches": ["high_value_transfer", "new_vendor"],
    "auditId": "aud_xyz789"
  },
  "signature": "sha256=xxx"
}

Available Events

decision.allowedAgent action was approved
decision.blockedAgent action was blocked
decision.escalatedHuman review required
fuzz.findingRed team found vulnerability
quota.warningUsage approaching limit