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. When configuring an alert in the UI, there are three primary steps.

Step 1 - Select the alert type

Select the alert type from one of the five options provided.

Step 2 - Name & configure the alert

Some configuration options for the alert will depend on the alert type. For all alert types, you must define the scope. Select whether the alert should be applied to:

  1. All customers (across the customer base as a whole)
  2. Each customer individually
  3. A specific customer

The screenshot below shows the options when the Meter Usage alert type is selected.

Step 3 - Select the notification frequency and method

The notification frequency determines how often an alert message will be sent once the conditions are met.

The notification method determines how the alert will be delivered once the conditions are met. The default option is email. There is also an option to create a webhook to automate downstream action in a third-party system or integrate with another messaging tool like Slack.

More details on email and webhook notification methods

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: