# Alerts (/docs/dashboard-guides/alerts)

> Get an email when tool calls, workflow steps, integrations or WhatsApp messages start failing, and see what failed.

Alerts email you when something on your account fails more often than
you expect, such as a tool your agent calls during a call. The **Error
log** shows each failure and how to fix it.

Alerts is turned on per account. If you don't see **Alerts** in the
dashboard sidebar, [ask support](https://omnidim.io/contact-us?reason=general)
to enable it.

## What can trigger an alert [#what-can-trigger-an-alert]

| Event | When it is recorded |
| --- | --- |
| Tool failed on a call | A tool your agent called during a call returned an error. |
| Workflow step failed | A step in a live workflow run failed. Test runs don't count. |
| Integration failed | A connected integration, such as a CRM, returned an error. |
| WhatsApp message failed | A WhatsApp message could not be sent. |

## Create an alert [#create-an-alert]

### Open Alerts [#open-alerts]

Open **Alerts** in the dashboard sidebar. On the **Alert rules** tab,
create a new alert.

### Name it and pick the events [#name-it-and-pick-the-events]

Give the alert a **Name**. Under **Events**, pick **All events** or the
event types you care about.

### Set the condition [#set-the-condition]

Set **When it happens N times within** a window. The window is 5 minutes,
15 minutes, 1 hour, 6 hours or 1 day. The default is 1 time within 1 hour,
which emails you on the first failure.

For something that fails now and then, such as a slow CRM, raise the
count so one-off errors don't wake anyone up.

### Choose who gets the email [#choose-who-gets-the-email]

Under **Notify**, add up to 10 email addresses. Press Enter or type a
comma after each one.

### Write a message (optional) [#write-a-message-optional]

Add a **Message** to tell the reader what to do. You can insert
`{{count}}`, `{{event}}`, `{{window}}` and `{{account}}`. The **Preview**
shows the email as it will arrive, with a subject such as
`[Alert] CRM sync: 3 integration failures in the last 1 hour`.

### Save and test [#save-and-test]

Select **Save**. Then select **Send test** to check the email reaches
everyone. You can send up to 5 tests per hour for each alert.

## How alerts fire [#how-alerts-fire]

- Alerts are checked about every 5 minutes, so an email can arrive a few
  minutes after the failures.
- An alert fires when the count is reached inside the window. It then
  waits for that many new failures before it fires again, so you get at
  most one email per window, not one per failure.
- The alert shows **Triggered** while failures are inside the window, and
  goes back to **OK** once the window has none.
- Each account can send up to 50 alert emails a day. Firings past that
  are recorded on the alert but not emailed.

The **Alert rules** list shows each alert's events, condition,
recipients, status and when it last triggered. Turn an alert off, edit
it or delete it from its row.

## Read the error log [#read-the-error-log]

The **Error log** tab lists failures from the last 1 hour, 24 hours,
7 days or 30 days, grouped by what failed and the error message. Filter
by event type to narrow it down.

Each group shows how many times it failed, when it last failed, the
error, and numbered **How to fix** steps. Use **View call** or **View
run** to open the call or workflow run where it happened.

The link in an alert email opens the error log at the time the alert
fired. Failures are kept for 30 days.

## Related [#related]

- [Post-call actions](/docs/dashboard-guides/post-call): what runs after
  each call.
- [Workflows](/docs/workflows): build multi-step automations.