# Alerts overview

How APX tells your team about calls that score below an agent's threshold, by email and in Slack.

An alert is a message APX sends when a call scores below the line you set on an agent. Alerts go to inboxes and Slack channels, so the people who coach or review calls hear about the ones that need attention without watching the **Calls** page.

Alerts belong to the whole workspace. They are separate from your personal email settings: for those, see [Notifications](/docs/workspace/notifications).

## What triggers an alert

Every agent has a **Flag below score** threshold, set in the agent editor. When an active agent scores a call, APX compares the score with that threshold:

| Result | What happens |
|---|---|
| The score is below the threshold | The call is flagged and APX sends an alert |
| The score equals or beats the threshold | No alert |
| The agent has no threshold | No alert, ever, for that agent |
| The agent couldn't score the call | No alert |

A threshold of 70 alerts on a 69, not on a 70. The same check drives the flag you see on the call itself, so a flagged call and an alert always agree.

Under **Flag below score**, the agent editor shows where that agent's alerts go (for example **Alerts go to** followed by the destination names), or **Set a threshold to get alerts.** when there is no threshold. Building agents is covered in [Build an agent](/docs/agents/build-an-agent).

## Where to find alerts

Go to **Settings**, then **Alerts**. The page has two tabs:

- **Log**: every alert APX sent, queued or skipped.
- **Configure**: **Destinations** (where alerts can go) and **Routing** (which agents send to which destinations).

The line under the **Alerts** heading tells you when the last alert went out, for example **Last alert sent 5m ago to Sales managers**, or **No alerts sent yet**.

If you manage the workspace, you also see the buttons and menus to add, change, pause and delete things. If you don't see them, ask whoever set up APX for your team.

## Destinations and routing

Two ideas make up alerts:

- A **destination** is a place an alert can go: an email address or a Slack channel. See [Email destinations](/docs/alerts/email-destinations) and [Slack destinations](/docs/alerts/slack-destinations).
- A **rule** says which agents send to which destinations. The **All agents** rule covers every agent, and you can add a rule for one agent to send its alerts somewhere extra. See [Routing rules](/docs/alerts/rules).

Every new workspace starts with one destination, the email address you signed up with, on the **All agents** rule. So once an agent is active and has a threshold, its low-scoring calls already reach you.

## Grouping: one message, not twenty

The first alert to a destination goes out as soon as the call is scored. If more calls score low soon after, APX holds them and sends one summary when the window is up, instead of a stream of messages.

Each destination has a setting called **After the first alert, group follow-ups for**:

| Option | What it does |
|---|---|
| **No grouping** | Every alert is sent on its own, straight away |
| **3 minutes (recommended)** | The default. Alerts in the 3 minutes after one goes out are held, then arrive together as one summary |
| **10 minutes**, **30 minutes**, **1 hour** | Longer windows, fewer messages |

The summary lists the calls grouped by agent, each with its score, the threshold and a link to the call. It lists up to 10 calls and links to the Alert log for the rest.

## The Alert log

The **Log** tab shows one row per alert per destination, newest first, with four columns: **To**, **Status**, **Alert** and **When**. You can search by address or name, and filter by destination, agent and status.

| Status | Meaning |
|---|---|
| **Queued** | Waiting to go out, usually because it's part of a group |
| **Sending** | Going out now |
| **Sent** | Handed to the email service or posted to Slack |
| **Delivered** | Email only: the recipient's mail server accepted it |
| **Skipped** | Not sent. The line under it says why: **Not verified**, **Paused**, **Destination in error** or **Hourly limit reached** |
| **Failed** | APX tried and couldn't send it. The line under it gives the reason |
| **Bounced** | Email only: the address bounced |
| **Complained** | Email only: the recipient marked it as spam |
| **Suppressed** | Email only: blocked after an earlier bounce or spam report |

Skipped rows are there on purpose: if someone asks "why didn't I get an alert?", the log answers it.

Each row has a menu with **View call** and **View destination**. On a **Failed** row, if you manage the workspace, **Retry** sends it again.

## Limits

A workspace can send up to 200 alerts an hour, counting each destination an alert goes to. Past that, further alerts that hour are **Skipped** with **Hourly limit reached**, and a banner at the top of the Alerts page names the agent that flagged the most calls. That usually means a threshold is set too high: the banner's **Open agent threshold** button takes you to it. If you genuinely need more, use **Email support** on the same banner.

## When something stops working

If deliveries to a destination keep failing, APX stops sending to it, marks it **Error** and shows a banner: **Alerts to** the destination name **stopped.** APX also emails whoever manages the workspace. The fix depends on the channel: see the troubleshooting sections in [Email destinations](/docs/alerts/email-destinations#troubleshooting) and [Slack destinations](/docs/alerts/slack-destinations#troubleshooting).

If no destination on the **All agents** rule is active, the page says **Alerts have nowhere to go. Add a destination or resume one.**

## What's coming

SMS alerts are coming. Today alerts go to email and Slack. See [What's coming](/docs/alerts/whats-coming).
