Real-time Alerts

Real-time Usage and Revenue Alerts

Amberflo can send alerts via email and webhooks.

An alert can be defined for a specific customer or for all customers.

An alert trigger condition can be defined as exceeding a constant number, or a percentage change of metered data over time.

Alerts can be defined for billing data as well, and be used to help your sales and finance teams take action at the right time.

Some examples:

  1. Get an email for any customer that exceed 1000 hours per week.
  2. Get a slack message for any customer that used 20% less week over week.
  3. Account manager receives email whenever customer usage surpasses amount of prepaid credits in Wallet.
  4. Head of Finance receives email alert when 25, 50, 75, and 90 percent of quarterly revenue target is reached.

You can find the Alerts API reference here.

The easiest way to configure Alerts is via the UI.


Realtime vs Scheduled

A realtime alert is evaluated every 5 minutes. It filters out active customers based on recent usage. If the trigger condition is met for a given customer, an alert will be fired. Then alerts for this customer are suspended for an hour to prevent spam. All billing and revenue related signals are realtime.

A scheduled alert runs on a schedule which can be specified using a cron expression (see cron examples). This type of alert is best for running usage queries periodically.

Customer selection

Alerts can be defined for a specific customer or for all customers.

Email and Webhooks

When an alert condition is met, the alert can be sent as an email, a webhook, or both. A webhook payload and headers can be customized using context variables. See Alert Webhooks for details.

Sample email:


Sample webhook for Slack: