Skip to navigation

Send alerts to email, Slack, and Teams

Choose where the alerts of your AI Agent go: the email inboxes of your team, a Slack channel, a Microsoft Teams chat or channel, or your own system. Go straight to the part you need:

Overview

To get alerts by email, a team member enables the Status toggle on the Recipients tab of the Alerts page. No other setup is needed. Alerts reach Slack, Teams, and your own system through endpoints on the Webhooks page. An endpoint is one URL that receives the v1.agent_health.alert event. For Slack and Teams, a built-in connector on the endpoint turns each alert into a message.

DestinationHow to set it up
EmailTeam members enable their alert emails on the Recipients tab of the Alerts page. Owners and Admins can also add other email addresses there.
SlackAn endpoint with the Send Alerts to Slack connector and a webhook URL from your own Slack app.
Microsoft TeamsAn endpoint with the Send agent health events MS Teams connector and a webhook URL from a Teams workflow.
Your own systemAn endpoint with your URL and the v1.agent_health.alert event type.

Every team member can enable their own alert emails. Only Owners and Admins can open the Webhooks page. For each role, see Roles and permissions.

When anyone gets alert emails, the Webhooks page also lists an entry for alert emails that Ada created. Its description starts with “Ada emails agent health alerts”. Ada manages this entry. If you disable or delete it, alert emails stop for everyone.

Limitations

These limits apply to the places that alerts go.

  • Each email goes to every team member whose alert emails are enabled, and to each other email address. A rule cannot choose its recipients.
  • Alert emails go to team members of the AI Agent’s dashboard and to a maximum of 5 other email addresses.
  • You cannot send a test alert email.
  • Each endpoint gets every alert of the AI Agent. A rule cannot choose its endpoint. To post alerts in more than one channel, add one endpoint for each channel.
  • An endpoint with a value in its Channels field gets no alerts. Leave the field empty.

Email

Each team member can get every alert of the AI Agent by email. Each email has the same content as the Slack or Teams alert, with every rule change of that hour. The last line of each email links to the Recipients tab, where the team member can disable the emails.

The Recipients tab lists the team members of the AI Agent, with their Name, Email, and a Status toggle. A team member of any role can get the emails.

The Recipients tab also shows where else alerts go. When an enabled endpoint on the Webhooks page has the v1.agent_health.alert event type, a line names Slack, Microsoft Teams, or your own webhook endpoint.

To enable alert emails:

  1. Go to Analytics > Alerts.
  2. Open the Recipients tab.
  3. Enable the Status toggle of the team member.

The change saves at once, and a message confirms it.

Every team member can enable or disable their own alert emails. An Admin can change the alert emails of every team member except an Owner. An Owner can change the alert emails of every team member. If you cannot change a toggle, the toggle is inactive, and its tooltip says who can change it.

Other email addresses

An Owner or Admin can send alert emails to a maximum of 5 email addresses that have no dashboard account, such as a team inbox. On the Recipients tab, under Other email addresses, enter the address in Email address, and click Add or press Enter. Use a business email address. Ada does not accept an address on a public email domain, such as gmail.com, or the address of a team member of the AI Agent.

Alert email warnings

If someone disables or deletes the entry for alert emails on the Webhooks page, no alert emails are sent to anyone. The Recipients tab then shows a warning. In the warning, “alert email endpoint” means that entry.

WarningWhat to do
The alert email endpoint on the Webhooks page is turned off. No emails can be sent until it is turned back on.Ask an Owner or Admin to enable the entry for alert emails again on the Webhooks page. The Recipients tab cannot enable it.
The alert email endpoint was deleted from the Webhooks page. No emails can be sent until alert emails are turned on for a user or an address is added.Enable the alert emails of a team member whose alert emails are disabled, or add another email address. If every toggle is enabled, disable your own alert emails, then enable them again. Ada then sets up alert emails again.

Slack

Alerts post in Slack through an incoming webhook of a Slack app in your own Slack workspace. The webhook URL decides the channel.

To get a Slack webhook URL:

  1. Create a Slack app in your Slack workspace, or open an app you already have, at api.slack.com/apps.
  2. In the settings of the app, select Incoming Webhooks, and enable the Activate Incoming Webhooks toggle.
  3. Add a new webhook, and pick the channel for the alerts. For a private channel, you must be a member of the channel.
  4. Copy the webhook URL.

For each step, see Sending messages using incoming webhooks in the Slack documentation.

Anyone who has the webhook URL can post in the channel. Paste the URL only into the Endpoint URL field.

To add the Slack endpoint:

  1. Go to Config > PLATFORM > Webhooks.
  2. Click Add Endpoint.
  3. Open the Webhook menu, and select Send Alerts to Slack.
  4. Paste the webhook URL into the Endpoint URL field.
  5. Click Create.

The endpoint shows on the Webhooks page, with the v1.agent_health.alert event type.

Then send a test alert.

Microsoft Teams

Alerts post in Teams through a workflow that receives webhook requests. You make the workflow in your own Teams, in the chat or the channel for the alerts. You need permission to create workflows in your Teams.

To get a Teams webhook URL:

  1. In Microsoft Teams, open Workflows.

  2. Search for the webhook template. For a channel, select Send webhook alerts to a channel. For a chat, select Send webhook alerts to a chat.

  3. Select the team and the channel, or the chat.

  4. Click Save.

    Teams opens the details page of the workflow.

  5. Copy the webhook URL from the details page.

These steps follow the Microsoft guide Create incoming webhooks with Workflows for Microsoft Teams. If Teams shows different steps, follow the Microsoft guide.

To add the Teams endpoint:

  1. Go to Config > PLATFORM > Webhooks.
  2. Click Add Endpoint.
  3. Open the Webhook menu, and select Send agent health events MS Teams.
  4. Paste the webhook URL into the Endpoint URL field.
  5. Click Create.

The endpoint shows on the Webhooks page, with the v1.agent_health.alert event type.

Then send a test alert.

Send a test alert

A test alert shows that the endpoint can post in your channel. Send one for each new endpoint.

To send a test alert:

  1. On the Webhooks page, open the endpoint.
  2. Open the Testing tab.
  3. Select v1.agent_health.alert.
  4. Click Send Example.
  5. Check that the example alert shows in the Slack channel or the Teams chat.

The example alert uses sample data. It names the AI Agent acme, not your Agent.

If the example alert does not show, see When an alert does not arrive.

Keep the endpoint as the connector made it

The connector sets up the endpoint for alerts. These changes stop alerts or change the messages:

  • Do not add other event types. The connector turns any other event into a one-line message with only the event type.
  • Do not add a value to the Channels field. An endpoint with a channel in this field gets no alerts.
  • Do not edit the connector code on the endpoint. Every hour, Ada updates the code on each endpoint that has the code of the connector. Code that you edit gets no updates.
  • Do not add a header with a Slack or Teams token. The endpoint needs only the webhook URL.

Your own system

Your own system can receive each alert as JSON. Use the event data to post alerts in another tool, or to store them.

To send alerts to your own system:

  1. Go to Config > PLATFORM > Webhooks.
  2. Click Add Endpoint.
  3. In Endpoint URL, enter a URL that your system controls.
  4. In the event types, select v1.agent_health.alert.
  5. Click Create.

For the fields of the event, see Agent health alert. To check that a request comes from Ada, see Signing secrets. For retries, see Retry policy.

When an alert does not arrive

For an alert email, open the Recipients tab. Check that the Status toggle of the team member is enabled, and that the tab shows no warning.

For Slack, Teams, or your own system, the Logs tab of the endpoint shows each delivery attempt and the response that Slack, Teams, or your system gave.

To find why an alert did not arrive:

  1. On the Alerts page, open the History tab. Check that the alert shows Sent in the Delivery column.

    Sent means that Ada sent the alert out. It does not show that a destination received it. An AI Agent with no destination set up also shows Sent.

  2. Check that the alert has a destination:

    • For email, a team member has the Status toggle enabled on the Recipients tab, or another email address is on the list there.
    • For Slack, Teams, or your own system, an enabled endpoint on the Webhooks page has the v1.agent_health.alert event type, or has no event types selected, which means that it gets every event.
  3. On the Webhooks page, open the endpoint, and open the Logs tab.

  4. Read the last delivery attempt:

    • If no attempt exists, check that the endpoint has the v1.agent_health.alert event type, and that its Channels field is empty.
    • If the attempt failed, read the response.
  5. For Slack, act on the response:

    • no_service: The webhook was removed or is not valid. Get a new webhook URL, and update the endpoint.
    • action_prohibited: A Slack admin restricts posting in the channel. Ask your Slack admin.
  6. For Teams, give the response to the person who made the workflow.