Skip to main content
What you’ll get: By the time your on-call engineer opens their laptop, ewake has already investigated the alert, probable cause ranked by confidence, supporting evidence assembled, and the actions you approved already taken. Only what needs a human decision is left for you. The work that takes 30 minutes manually happens in seconds, automatically.

What it does

The On-Call Agent runs on flows. A flow says where alerts come from, which ones ewake investigates, and where ewake answers. When an alert fires, ewake immediately queries your connected sources, metrics, logs, recent deployments, past incidents, and posts its investigation in Slack. Alerts reach ewake in two ways:
  • From Slack. Ewake watches one or more channels and answers the alerts a bot posts there, for example the Datadog bot.
  • Pushed straight to ewake. Alertmanager or Grafana, incident.io, Datadog, FireHydrant, Sentry or a custom webhook sends the alert to ewake over HTTP. No Slack channel in between. A failed GitHub Actions run reaches ewake through the ewake GitHub App.
One flow can read several channels and answer in several places, so you can bring alerts from many sources into one on-call channel, or send each team its own.

When to use it

  • Your alerts land in a Slack channel (#alerts, #incidents, #monitoring), or come from Alertmanager, Grafana, Datadog, incident.io, FireHydrant or Sentry
  • You want ewake to explain a failed GitHub Actions build
  • Your team is on-call and needs faster first-response context
  • You want to reduce the time between alert firing and understanding what’s happening

What you’ll get

The alert card

For every alert it investigates, ewake posts an alert card in each place the flow answers in. The card has two parts:
  • Ewake’s part, on top. While ewake works, it shows ewake’s live plan: the steps of the investigation, each one ticked off as it completes. When the investigation is done, the plan gives way to the verdict.
  • The alert, below. The alert as it fired. Its bar is red while the alert fires and turns green once it resolves.
So a reader can tell at a glance what fired, and what ewake is doing about it.

The report

Under the card, in its thread, ewake posts the report:
  • Summary, one-line description of what happened
  • Probable cause, top hypothesis with confidence indicator
  • Evidence, log excerpts, metric spikes, recent deploys that correlate
  • Actions and next steps, what ewake did on your behalf, and what still needs a human decision
Each place gets the same card and report, with its own thread for follow-up questions.

Prerequisites

Before setting up the On-Call Agent, make sure these integrations are connected:

Slack

Alert source

Datadog, Grafana, Alertmanager, or another connected tool

Source control

GitHub or GitLab
For the strongest alert investigation context, also connect:

Incident.io

Lets ewake reference past incidents and postmortems, surface patterns like “this looks like incident #47 from last month.”

Deployment Tracking

Sends deployment events to ewake so it can immediately correlate an alert with a recent deploy.

The On-call tab

In your ewake dashboard, click On-call in the sidebar. The page lists every flow, with what starts it, what ewake investigates, and where it answers. Each flow shows its counts of the last 7 days: how many events arrived, how many ewake investigated, and how many your conditions skipped. A scheduled flow shows its next run instead.
The On-call tab, with three flows and the counts of the last 7 days
Use the switch on a flow to pause it without deleting it, useful during a planned maintenance window. Click Edit to open it.

Create a flow

Click New on-call agent, then An event. The wizard sets up a flow in five steps.
The first step of a new event flow: how ewake answers
1

How ewake answers

Pick what your team sees in Slack. Each choice shows a picture of the result.An alert pushed straight to ewake has no Slack message to reply under, so a pushed flow always posts in channels.
2

Where events come from

With Post in an on-call channel, pick the source:For Slack, pick one or more Slack channels, then the Bot whose messages are alerts (e.g. Datadog). This ensures ewake only responds to real alerts, not other messages in the channel. Invite @ewake to each channel.For GitHub Actions, pick one Repository, then the Workflows and the Branches to watch. All three are required.When the integration of Datadog, incident.io, FireHydrant or Sentry is connected, the flow reads the webhook of that integration. You set that webhook up once, on the integration’s card in Integrations, for every flow of the vendor, and the flow needs no setup of its own. The step says whether the webhook is set up. For Sentry without the integration, paste the Client Secret of your Sentry internal integration.
3

What ewake investigates

Choose which alerts ewake investigates:
  • Every event, or Only the events that match every condition, for example attributes.severity is critical.
  • Exclusions: alerts ewake never investigates, for example attributes.env contains dev.
Ewake keeps the other alerts without investigating them. Under each condition, ewake shows how many of your recent alerts it matches, so you can check it before you save.Then write the Prompt: the instructions ewake gets when an alert fires. Start from a template if you like:A GitHub Actions flow offers one template instead, Build failure: name the failed job and step, the error, and the commit that most likely caused it.Last, choose Where ewake answers: the channels, the thread under the alert, or both. You can add routing rules here or later.
4

Report and follow-ups

Both are optional. Pick a report shape, Concise or Detailed, or write your own report guidelines. Then describe the follow-up actions ewake takes after the report. Without an action, ewake stops after the report.
5

Check and turn on

Ewake reads the flow back to you in plain words: where alerts come from, which ones it investigates, where it answers, and what runs after. Leave the switch On to start with the next alert, then click Create the flow.For a pushed flow, this step then shows the endpoint, its token or signing key, and the steps to point the sender at it. The token and the key show once, so copy them before you leave. A flow that reads the webhook of its integration shows that webhook instead, and a GitHub Actions flow needs no setup.
The On-Call Agent is live. The next alert gets investigated, and its card appears where the flow answers. To try it right away, trigger a test alert from your monitoring tool.
Click A schedule instead of An event to create a flow that runs at set times, for example a digest every morning. See Scheduled Tasks. Click An incident to have ewake investigate each incident of incident.io, FireHydrant or Rootly, or each incident channel it is invited to. See incident.io and FireHydrant.

Send alerts from a custom webhook

Use a Custom webhook flow for a tool that has no source of its own. When you create the flow, choose how the sender proves it is the sender. You cannot change this later.
  • Bearer token: ewake makes a token. The sender puts it in an Authorization: Bearer <token> header.
  • Signature: the sender puts the hex HMAC-SHA256 of the raw body in a header you name, x-signature by default. Pick ewake makes the key, or The sender gave me a key and paste its Signing secret.
The sender posts each alert to the flow’s endpoint as a POST, with the Content-Type: application/json header. Without that header, ewake does not read the body. Only title and status are required:
Ewake answers 202 with "status": "accepted", or with "status": "ignored" for a body it cannot read or a flow that is off. A missing or wrong token or signature gets a 401.

Route alerts to several destinations

A flow can read several channels and answer in several places. Under Where ewake answers:
  • By default lists the places that get every alert: any number of channels, plus the thread under the alert for a Slack flow.
  • Rules send some alerts somewhere else. A rule has an Event field, a Match (is, contains, starts with or is at most for a number), a Value, and the places to Answer in. For example, attributes.service is payments → #payments-oncall.
Where ewake answers: the default places, and two routing rules with the count of recent alerts each one catches
Ewake checks the rules from top to bottom and uses the first one that matches. An alert that matches no rule goes to the default places. Matching ignores case. Use the arrows to reorder the rules, and put the narrow ones above the broad ones. A flow holds up to 20 rules. The field box suggests the fields your recent alerts carried, and the values they held. You can also type any top-level field, or attributes.<name> for a field of your vendor. Invite @ewake to every channel a flow answers in, including the channels of its rules.

Preview a flow against your last 7 days

Open a flow to edit it. Next to the form, ewake replays your last 7 days of alerts through the settings on the page, saved or not. Change a condition or a rule, and the numbers update before you save.
The preview of a flow: recent events through it, and where one event would go
  • Recent events through this flow: how many alerts arrived, how many your conditions skip, how many ewake investigates, and how many land in each place.
  • Where would this event go?: pick a recent alert and follow it, step by step: where it came from, whether a condition skips it, which rule it matches, and where ewake answers.
  • What #channel sees: a picture of the card that alert gets.
The wizard shows the same counts under each condition and each rule, so you can tune a new flow before it exists.

Edit a flow

Click Edit on a flow in the On-call tab. The page holds the same settings as the wizard, numbered in the order ewake uses them on every alert: Click Save to apply your changes. Use the On/Off switch to pause the flow. For a pushed flow, section 1 shows the Webhook URL and lets you rotate the token. Rotating shows the new token and the connect steps again, and the old token stops working at once. A flow signed with a key has no token: FireHydrant, Sentry, or a custom webhook with a signature. To change its key, create a new flow, then delete the old one. When the integration of the vendor is connected, section 1 shows the webhook of that integration. A flow created before that webhook keeps its own endpoint, which still works. Send each alert to one of the two, or ewake investigates it twice. You can also change the prompt from Slack: in the thread of an alert, tell @ewake how to answer the alerts of this source. Ewake edits the prompt of the flow at once and links to the flow. Prompt examples:

Report format

The Report section says how the answer looks in Slack. Pick one of the two shapes, or write your own Report guidelines: the format, length and tone you want, in plain words. Prefer shorter updates with more links? Want charts included? Say it here.
  • Concise: a few lines the on-call engineer reads in seconds: the verdict, the likely cause and the evidence. A new flow starts with this one.
  • Detailed: a full write-up: impact, timeline, evidence and root cause. For postmortems and handovers.
The Report section of an On-call flow: the Concise and Detailed shapes, and the Report guidelines field
Examples:
Leave the field empty to keep ewake’s own report rules. Whatever you write, ewake always adds the response time, the investigation id and the feedback buttons.
Keep the two fields apart: the Prompt says what to investigate, the Report guidelines say how to write it up. A length or tone rule belongs in the report.
Report guidelines are set per flow, so each flow keeps its own style. To change the style everywhere, update every flow.

Follow-up actions

Follow-up actions are how ewake acts on your behalf after an investigation. You approve them here, when you set up the flow. In the Action field, describe the follow-up in plain words, for example:
For the FireHydrant write-back, see Post the investigation on the FireHydrant alert. When you leave the field, or click Parse action, ewake shows the exact actions your wording becomes, with the tools each one uses. Review that list before saving, it’s the whole point of the step.
Follow-up actions of an On-call flow, with a parsed action
For each parsed action you can:
  • Set a Delay (s) before it runs, from 0 to 86400 (24 hours).
  • Tick Report this action in the Slack thread to post in the thread when it runs.
  • Remove it with the delete icon.
If an action needs a tool from an integration you haven’t connected, ewake tells you: it either runs the action without that tool or drops the action. Connect the integration, or rephrase the text, then parse again. Editing the text clears the parsed actions, so parse again before you save.
Actions only ever do what you approved, they only use integrations you’ve connected, and they’re bounded by the access those credentials already grant. Some actions, such as opening a pull request, also wait for someone on your team to click to confirm in Slack.

How Actions fit the security model →


Need help setting this up? Contact support@ewake.ai.