Alerts & Webhooks
Real-time Alerts
5min
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 get an email for any customer that exceeds 1000 hours per week get a slack message for any customer that used 20% less week over week the account manager receives an email whenever customer usage surpasses the number of prepaid credits in their wallet the head of finance receives email alerts when 25, 50, 75, and 90 percent of the quarterly revenue target is reached you can find the alerts api reference create a notification docid\ f6y3dmmq5u0ffdwbcxkjq the easiest way to configure alerts is via the ui https //ui amberflo io/alerts 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 all customers (across the customer base as a whole) each customer individually 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 it with another messaging tool like slack 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 docid\ zmxohaxrly9hk72ccfku1 for details sample email sample webhook for slack