Alerts
Get a message by email, in Slack, or in Microsoft Teams when an AI Agent metric drops or spikes. Go straight to the part you need:
- Quick start: create your first rule in 5 steps.
- Metrics: the metrics a rule can watch.
- When a rule alerts and recovers: the hours each check looks at, and the data it needs.
- No reading: what to do when a rule cannot be checked.
- Read an alert: an alert and a recovery as they show in Slack.
- Send alerts to email, Slack, and Teams: set up where alerts go.
Overview
An alert tells you that a metric of your AI Agent changed. Each alert comes from a rule. A rule watches one metric on the channels you pick. Its condition says when the metric has a problem.
The Agent checks every rule once an hour. When the metric meets the condition of a rule, the Agent sends one alert. When the metric is healthy again, the Agent sends one recovery. No message is sent while the rule keeps alerting or stays healthy.
Alerts go to two kinds of destination. Email goes to each team member whose alert emails are enabled on the Recipients tab, and to each other email address on that tab. Endpoints on the Webhooks page send alerts to a Slack channel, a Microsoft Teams chat or channel, or your own system. For the setup, see Send alerts to email, Slack, and Teams.
Use alerts to find a problem before end users report it. For example, a rule can catch a drop in conversations created, a drop in containment, an action that starts to fail, or a rise in silent handoffs.
Limitations
These limits apply to alerts.
- An AI Agent can have a maximum of 10 rules. A disabled rule counts toward the limit.
- The Agent checks rules once an hour.
- A rule on a rate needs a minimum number of conversations in the hours it checks. With fewer, the rule cannot alert, and its status is No reading, unless the rule is already alerting. For the minimum of each metric, see When a rule alerts and recovers.
- A rule can filter conversations by channel only.
- A rule on Automated resolution rate checks older conversations, after each one has its final result. Its alerts come hours or days after those conversations. The rule needs at least one channel.
- A rule cannot use a Custom Metric that scores test scenarios only.
- A rule on Action failure rate checks a maximum of 200 actions or groups of an AI Agent. If the Agent has more with attempts, the rule checks the 200 with the most attempts.
- Sent on the History tab means that Ada sent the alert out. It does not show that an email inbox, Slack, or Teams received it. An AI Agent with no destination set up also shows Sent. To check delivery, see When an alert does not arrive.
Capabilities and configuration
A rule has a name, a metric, channels, and a condition. You create and manage rules on the Alerts page, or with an AI assistant.
Rule fields
Each field of a rule changes what the rule checks.
Metrics
A rule watches one built-in metric or one of your Custom Metrics. Slack and Teams show some built-in metrics with a shorter name.
A rule on a Custom Metric watches its pass rate: the share of scored conversations that passed. A conversation with the verdict not applicable does not count. The Metric menu lists your Custom Metrics under Custom metrics.
If you delete a Custom Metric, each rule on it is disabled. The Status of the rule shows Metric deleted, and you can only delete the rule.
A rule on Action failure rate checks each web action and each code action on its own. It checks the HTTP Request blocks of one answer together, and the integrations of one answer together. Each action or group that meets the condition gets its own alert, and recovers on its own. A new action needs no change to the rule.
Conditions
The condition says when the metric has a problem. Select one of two types.
Outside a fixed range alerts when the metric goes below a minimum or above a maximum that you set. Set a Minimum, a Maximum, or both.
- For a rate, enter a percentage. For example, a Minimum of 80 on Containment rate alerts when containment is below 80%.
- For Conversations created, enter a whole number of conversations. For example, a Maximum of 500 alerts when more than 500 conversations start in the last 4 hours.
Different from usual alerts when the metric moves away from its usual value. Set these fields:
A rule on a rate also ignores a change that can come from chance. With few conversations, only a large change alerts. A rule on Conversations created alerts only when the count is 100 conversations or more away from usual.
Comparison period
Compare with sets what “usual” means for a Different from usual rule. The rule compares the hours it checks with the same hours in the past.
The default is The same hours in the last 2 weeks. For example, a rule that checks 9:00 AM to 1:00 PM on a Monday, set to the last 4 weeks, compares with 9:00 AM to 1:00 PM on the last 4 Mondays.
When the rule compares with more than one week, the usual value is the middle value of those weeks. With an even number of weeks, it is the average of the 2 middle weeks. With 4 weeks, one very high or very low week does not move it much. The hours follow the clock in the AI Agent’s time zone.
A past day or week with too few conversations does not count toward the usual value. If the past hours had too few conversations, the rule has nothing to compare with, and its status is No reading, unless the rule is already alerting. With the last 4 weeks, at least 2 of the 4 weeks need enough conversations. With the other options, 1 past day or week is enough.
For a rate, enough is half of the minimum in When a rule alerts and recovers. For example, a rule on Containment rate needs 75 engaged conversations in the past hours. For Conversations created, enough is one conversation.
A change that lasts for the whole period becomes the new usual value. The rule then stops alerting on it.
When a rule alerts and recovers
The Agent checks every rule once an hour. Each check looks at a set of recent hours, shown in the table below. If those hours have less data than the minimum in the table, the check cannot measure the metric. The rule then shows the status No reading. If the rule is already alerting, it keeps the status Alerting, and its tooltip gives the reason. It does not alert and does not recover until a later check has enough data.
Automated resolution rate waits until the conversations in its hours have their final result. The wait depends on the channel. When a rule counts more than one channel, it uses the hours of the channel with the longest wait for all of them. For example, a rule that counts chat and email uses the email hours for both channels.
A Different from usual rule alerts when the metric moves away from its usual value by the amount you set in By at least, in the direction you set in Direction. A move of exactly that amount alerts. With Either way, a move up or a move down alerts. The rule recovers when the metric is back within half of that amount.
For example, a rule on Containment rate set to Down by at least 8 points alerts when containment is 8 points or more below usual. It recovers when containment is less than 4 points below usual.
For Conversations created, you set By at least as a number of times usual. A rule set to Up by 2 times alerts when the count is 2 times usual or more. A rule set to Down by 2 times alerts when the count is half of usual or less. The count must also be at least 100 conversations away from usual.
The rule recovers when the count is back close to usual. For a rule set to 2 times, that is between about 0.7 and 1.4 times usual. For a rule set to 4 times, it is between half of usual and 2 times usual.
For example, with a usual count of 400 and a rule set to 2 times, Up alerts at 800 conversations or more, and Down alerts at 200 or fewer. Either rule recovers when the count is more than 282 and fewer than 566.
An Outside a fixed range rule alerts when the metric goes below the value you set in Minimum or above the value you set in Maximum. A metric exactly at that value does not alert. The rule recovers when the metric is back inside the range by 5% of the value it crossed.
For example, a rule on Containment rate with a Minimum of 80% alerts when containment is below 80%. It recovers when containment is 84% or more, because 5% of 80 is 4. A rule on Conversations created with a Maximum of 500 alerts at 501 conversations or more, and recovers at 475 or fewer.
When you set a Minimum and a Maximum close together, the 5% margin is never more than a quarter of the range. For example, a rule with a range of 80% to 82% recovers when the metric is between 80.5% and 81.5%.
Some changes to a rule end its alert. The recovery names the reason:
- You change the metric, the channels, or the condition of the rule. The next check treats the changed rule as a new rule. A change to the name only does not end the alert.
- You disable the rule, or you delete it.
- You delete the Custom Metric of the rule.
- An action of an Action failure rate rule is deleted.
The Agent sends one message for each hour with changes. The message holds every rule that started or recovered in that hour. If an hourly check does not run on time, a later check covers that hour, and the alert is marked late.
Preview
The preview runs a rule that you have not saved yet over the last 14 days. It shows when the rule would have alerted and recovered, before you create it.
The preview shows these items:
- A sentence that says how many times the rule would have alerted.
- A chart of the metric, with the usual value, or the values in Minimum and Maximum. Each hour shows OK, Alerting, or No reading. A rule on Action failure rate has no chart, because it checks each action or group on its own.
- A table of each alert, with Started, Ended, and Lasted. An alert that was open at the start of the 14 days shows Already alerting at and a time.
- If some hours had too little data to check the rule, a sentence that says in how many hours the rule could be checked, and why not in the others.
No reading
The Status column of the Rules tab shows the result of the last hourly check for each rule.
A rule with the status No reading cannot alert. Hover over the status to see the reason, and use this table to fix it:
Roles and permissions
Your dashboard role sets what you can do with alerts. For the roles, see My team.
With the Ada MCP server, only Owners and Admins can create and change rules, because write tools need the Admin role. See Tool permissions.
Quick start
Set up one place for alerts, then create one rule. For more detail, see Implementation and usage.
To create your first rule:
- Enable your alert emails, or add an endpoint for Slack or Teams. See Send alerts to email, Slack, and Teams.
- Go to Analytics > Alerts, and click Create rule.
- Enter a Name, and select a Metric. For Automated resolution rate, also select at least one channel in Channels.
- Under Alert when the metric is, select a condition and fill in its fields.
- Click Preview rule. If the preview shows the alerts you want, click Create rule.
The rule shows on the Rules tab. The rule is first checked at the next hour.
Implementation and usage
Create rules with an AI assistant or on the Alerts page. An AI assistant can read the data of your AI Agent and recommend rules that fit it.
Create rules with an AI assistant
An AI assistant, such as Claude, reads the past data of your AI Agent and its Custom Metrics. Then it recommends rules for that Agent, and previews each one. The assistant uses the Ada CLI or the Ada MCP server.
To create rules with an AI assistant:
- Connect your AI assistant to your AI Agent:
- Ada CLI: Install it and log in with the steps in Getting started.
- Ada MCP server: Connect your assistant with the steps in Getting started.
- Ask the assistant for rules. For example: “Read the last 4 weeks of data for my AI Agent, its Custom Metrics included. Recommend alert rules that catch a real problem and do not alert too often. Preview each rule.”
- Read each rule and its preview.
- Ask the assistant to create the rules you agree with.
The rules show on the Rules tab, next to the rules created on the Alerts page.
With the Ada CLI, the assistant uses the adacli <handle> alerts commands. With the Ada MCP server, it uses edit_agent_config with the agent_health_rule entity type.
Create a rule on the Alerts page
Each rule takes one metric and one condition. Preview the rule before you create it.
To create a rule:
-
Go to Analytics > Alerts.
-
Click Create rule.
-
In Name, enter a name that says what the rule watches.
-
In Metric, select the metric.
-
In Channels, select the channels to count. Leave the field empty to count all channels. Automated resolution rate needs at least one channel.
-
Under Alert when the metric is, select a condition:
- Outside a fixed range: Enter a Minimum, a Maximum, or both.
- Different from usual: Select a Direction, enter the change in By at least, and select Compare with.
-
Click Preview rule.
The preview shows when the rule would have alerted in the last 14 days.
-
Change the condition until the preview shows the alerts you want.
-
Click Create rule.
The rule shows on the Rules tab, with the status Not checked yet until the next hourly check.
Manage rules
Edit, disable, or delete a rule from the Rules tab. To see only the rules that are alerting, select Alerting now.
To edit a rule:
- On the Rules tab, open the options menu of the rule, and click Edit.
- Change the fields, and click Preview rule to check the result.
- Click Save changes.
If the rule was alerting and you changed the metric, the channels, or the condition, the next alert says that it recovered.
To enable or disable a rule:
- On the Rules tab, enable or disable the On toggle of the rule.
A disabled rule is not checked. If it was alerting, the next alert says that it recovered.
To delete a rule:
- On the Rules tab, open the options menu of the rule, and click Delete.
- Click Delete rule to confirm.
The rule stops alerting. If it was alerting, the next alert says that it recovered.
Read an alert
Each alert names the AI Agent, the hour of the check, and each rule that changed. Times show in the AI Agent’s time zone, with the offset from UTC.
For each rule that started alerting, the alert shows the change, the value and the hours it covers, and the usual value or the Minimum or Maximum. For a rate, it also shows the numbers behind the rate, such as 702 of 1,240 engaged conversations contained. A recovery shows the same lines and how long the rule alerted.
An alert in Slack, for a Different from usual rule on containment rate:
The recovery of the same rule, 6 hours later:
An alert email shows the same content. A Teams card shows the same lines.
An alert for Automated resolution rate says “for conversations from” before its hours, because those hours are older than the check. A recovery that a rule change caused shows the reason, such as “alert closed, rule deleted”.
Alert history
The History tab lists each rule change, newest first.
Best practices
These practices help a rule alert on real problems only.
- Preview each rule before you create it. Change the condition until the preview shows the alerts you want.
- For a new AI Agent or a new Custom Metric, use Outside a fixed range. A Different from usual rule needs past data before it can be checked.
- For an AI Agent with few conversations, count more channels, or use a metric with a lower minimum, such as a Custom Metric.
Related features
- Send alerts to email, Slack, and Teams: Set up where alerts go.
- Custom Metrics: Write the metrics that a rule can watch.
- Webhooks: Manage the endpoints that receive alerts.