Skip to contentSkip to navigationSkip to topbar
On this page

Intelligent Alerts for Twilio Messaging


(information)

Public Beta

Intelligent Alerts for Twilio Messaging is currently in Public Beta. Learn more about beta product support(link takes you to an external page).


Overview

overview page anchor

Twilio proactively monitors the health of your messaging traffic by analyzing changes in error code volumes against your most recent SMS traffic. Our systems leverage a mix of rules and machine learning (ML) models to identify patterns in your real-time traffic and automatically configure dynamic thresholds based on your account's historical data and other signals from our messaging ecosystem. If an anomaly is detected, our systems will flag it for processing.


Why Intelligent Alerts?

why-intelligent-alerts page anchor

Intelligent Alerts take the burden away from having to configure alarms manually and setting thresholds that will give meaningful results. Our models identify anomalies in the volume of each supported error code and dynamically calculate thresholds per mobile network code (MNC) for the sub-account based on historical data.


How to be notified of Intelligent Alerts

how-to-be-notified-of-intelligent-alerts page anchor

You can find the Intelligent Alerts settings by navigating to Twilio Console > Monitor > Insights > Messaging Intelligence > Intelligent Alerts > Manage notifications(link takes you to an external page). From there, provide your preferred email addresses where you can be notified in real-time.

Twilio dashboard with Messaging Intelligence and Manage alarms sections highlighted, focusing on intelligent alerts and notifications.

Anomaly detection

anomaly-detection page anchor

Intelligent Alerts provide proactive alerting when abnormal volume increases are detected in the following error codes:

Thresholds are dynamically configured based on the most recent account data, ensuring that alerts are relevant and timely.

Monitoring is done at the sub-account level per mobile network code (MNC), providing detailed insights into your messaging traffic.

Traffic is ingested in real-time as it becomes available to Twilio and analyzed in 5-minute intervals.

Alerts are delivered via email to the email you specify and your Twilio account team. A one-hour "quiet period" is set up by default for alerts of the same type. Alerts resume if new anomalies are detected after the quiet period expires.

Review in Twilio Console

review-in-twilio-console page anchor

An aggregated view of all anomalies detected in your accounts is available on the Intelligent Alerts summary page in the Twilio Console.


Reviewing Intelligent Alerts

reviewing-intelligent-alerts page anchor

The main Intelligent Alerts page provides an aggregated view of all the Intelligent Alerts identified on your accounts. Global and page filters are incorporated into the page to help narrow down searches and streamline troubleshooting. This page offers links that allow you to configure their notification preferences and drill down into each of the anomalies in the Alert Details page.

Intelligence Alerts monitoring dashboard showing global filters, intelligent alerts, and alerts details.

In the Intelligent Alerts summary page(link takes you to an external page), you have two filter options that carry through any current or future tabs in the Intelligence section:

  • Time range: You can choose from a range of predefined time periods. The Intelligent Alerts summary banner and the event table will update based on the user selection.
  • Sub-account: Provide the sub-account SID or the sub-account name. All the Intelligent Alerts identified for that sub-account will be populated.

Alert Impact Score and Impact Category

alert-impact-score-and-impact-category page anchor

Intelligent Alerts automatically categorize anomaly events within four groups: Urgent, Critical, Important, and Warning. We use metrics such as deliverability rate, data sparsity, and traffic volume fluctuations, which are calculated in real-time from your most recent period of observation. Each of these metrics is weighted to calculate an Impact Score ranging from 0 to 1. After comparing them to your historical patterns, we can estimate the impact the anomalous event may have on your traffic.

Based on the calculated Impact Score, we map each anomaly to an Impact Category following this logic:

  • Urgent: Impact score is > 0.9
  • Critical: Impact score is > 0.6 or < 0.89
  • Important: Impact score is > 0.3 or < 0.59
  • Warning: Impact score is < 0.29

Some anomalies may not fit into any of these categories as certain error codes we monitor do not appropriately fit into the logic above.

Understanding the Impact Category section

understanding-the-impact-category-section page anchor

Immediately after the global filters, you will find a summary section that provides a snapshot of all the alerts identified based on global filters applied. You will find the total number of anomalies for the time range to the far left and a breakdown of each alert into their specific Impact Category next to it. Below each category, you can see the percentage change from the prior period (based on the global time range filter).

Intelligent Alerts summary table

intelligent-alerts-summary-table page anchor

You are presented with an aggregated view of all of their alerts based on the global filters applied. You can filter the table by event types, error code, or impact. An option to export a CSV file with the current page content is also available.

Intelligence Alerts summary table showing various error code alerts with their impact levels, descriptions, and dates.

Intelligent Alerts details page

intelligent-alerts-details-page page anchor

When selecting one of the alerts in the Summary table, you will be taken to the alert details for that alert. The Alert Details Page breaks down into the following sections:

  • Event Properties: Specific to each alert.

    • Impacted account friendly name: Friendly name configured by the customer for the impacted Account SID.
    • Impacted account: The Account SID of the impacted account. Monitoring happens at the sub-account level, and in most cases, sub-account = Account SID unless a Parent Account has no sub-accounts.
    • Alert ID: Unique Alert ID given to the anomalous event.
    • Day of anomaly: Date in UTC for when the anomaly occurred.
    • Time of occurrence: Time window in UTC for when the anomaly occurred. Currently, anomalies are evaluated based on 5-minute evaluation windows.
    • MCC/MNC: Mobile Country Codes (MCC) and Mobile Network Codes (MNC).
    • Carrier Route: Carrier Name.
    • Alert threshold: Dynamic threshold calculated by the Intelligent Alerts platform based on the customer's own historical trends.
    • Number of errors: The sum of all of the errors in the 5-minute evaluation window for the impacted error code and carrier combination for which the anomaly was identified.
    • Number of messages: The sum of all of the outbound SMS in the 5-minute evaluation window for the impacted carrier route for which the anomaly was identified.
    • Historical graph: Shows the historical trends for the impacted Account SID. Note that the historical trend is based on the aggregation key, meaning that trends only look at messages and error codes for the carrier route identified as an anomaly.
    • Possible causes: A description of the possible causes for the anomaly.
    • Possible solutions: A list of the possible solutions for the anomaly.
    • Error description: Includes a high-level description and possible causes and solutions for the error code where the anomaly was identified.
    Intelligence Alerts details page showing properties of an alert, possible causes, solutions, and error description.

AI Nutrition Facts for Intelligent Alerts (Public Beta)

ai-nutrition-facts-for-intelligent-alerts-public-beta page anchor

Twilio's AI Nutrition Facts(link takes you to an external page) provide an overview of the AI feature you're using, so you can better understand how the AI is working with your data. Intelligent Alerts' AI qualities are outlined in the following Nutrition Facts label. The AI Nutrition Facts for Recommendations apply to both the Public Beta and Private Beta offerings. For more information and the glossary regarding the AI Nutrition Facts Label, please refer to Twilio's AI Nutrition Facts page(link takes you to an external page).

Intelligence Alerts Nutritional Label showing AI qualities.

Next steps and additional resources

next-steps-and-additional-resources page anchor

Here are some possible next steps and additional resources to help you get started:

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.