Skip to main content

Overview

Alert rules tell Zentien when and how to notify you. Each rule defines a condition (what to watch for) and a destination (where to send the notification).

Creating an alert rule

Go to AlertsNew Alert Rule and configure:
  • Org — which org to watch (or all orgs)
  • Event type — which error type to trigger on (or all types)
  • Minimum severity — only alert on errors at this severity or above
  • Channel — Slack, Microsoft Teams, or Email
  • Destination — your webhook URL or email address

Slack alerts

  1. In Slack, go to Apps → Incoming Webhooks → Add New Webhook
  2. Select the channel you want alerts posted to
  3. Copy the webhook URL
  4. Paste it into the Destination field in your Zentien alert rule
Slack alerts use Block Kit formatting and include the error type, class name, error message, severity, environment, and a direct link to the error in Zentien.

Microsoft Teams alerts

  1. In Teams, open the channel you want alerts posted to
  2. Click ···ConnectorsIncoming WebhookConfigure
  3. Give it a name (e.g. “Zentien”), click Create
  4. Copy the webhook URL
  5. Paste it into the Destination field in your Zentien alert rule, and select Teams as the channel
Teams alerts use Adaptive Cards with colour-coded severity (red for CRITICAL, orange for ERROR, amber for WARNING, blue for INFO) and a direct link to the error in Zentien.

Email alerts

Email alerts are coming soon. Slack and Teams are the recommended channels for now.

Severity colours (Teams)

SeverityColour
CRITICALRed
ERROROrange
WARNINGAmber
INFOBlue

Tips

  • Create a CRITICAL severity rule that alerts immediately for your most important flows and classes
  • Use org-specific rules if you want different alert behaviour for production vs sandbox
  • You can have multiple rules — e.g. Slack for all errors, email for CRITICAL only