Skip to main content
What you’ll get: Two complementary workflows, ewake can automatically investigate new incidents the moment they are declared, and build a production knowledge map from your past incidents and postmortems to surface historical context during live investigations.

Two ways to connect

The webhook needs the integration to be connected first, so connect the API key before you set up the webhook. The webhook handles real-time response; the API key enriches the knowledge map over time.

Option 1, Webhook (automatic investigation)

When a new incident is declared in Incident.io, ewake receives the event on its Incident.io webhook and immediately begins investigating, before anyone has to manually trigger it. Ewake joins the incident’s Slack channel by itself, posts its first message there, and runs the investigation in that thread. You set up the webhook once, on the Incident.io integration. Every ewake flow that reads Incident.io uses it: incidents go to your incident flows, and Incident.io alerts go to your On-Call flows of Incident.io.

Prerequisites

  • Incident.io is connected with an API key
  • An Incident.io account with admin access to the Webhooks settings
  • Access to your ewake dashboard

Configuration

1

Open the webhook of the integration in ewake

In your ewake dashboard, go to Integrations → Incident.io and open the card. The Webhook section shows the Webhook URL and the steps below.
2

Add an endpoint in Incident.io

In Incident.io, go to Settings → Webhooks and click Add Endpoint.Under Subscribe to events, tick these events, then click Create:Ewake ignores every other event type, so do not subscribe to more.
3

Paste the signing secret in ewake

On the endpoint page in Incident.io, show the Signing Secret. It starts with whsec_. Copy it, paste it in the Signing Secret field of the ewake Webhook section, and click Set up the webhook.Incident.io webhook signing secret field in ewakeEwake confirms that the signing secret is saved. It checks the signature of each push from Incident.io with it, and refuses a push with no valid signature.
Ewake never shows the signing secret again. To change it, paste the new one and click Replace the Signing Secret.
4

Create an incident flow

In your ewake dashboard, go to On-call, click New on-call agent, then An incident. Under Where incidents start, tick incident.io under Incident trackers. Under What ewake does, keep ewake’s own incident instructions or write yours, and choose where the postmortem draft goes. Then keep the flow On and click Create the flow.
Webhook is active. Ewake will automatically start investigating the next time an incident is declared in Incident.io.
Ewake starts one investigation for each incident. If ewake is also invited to the incident channel while its investigation runs, the invite starts nothing more.Ewake skips a private incident: incident.io sends only its id.

Option 2, API Key (knowledge map)

Connecting via API key gives ewake read access to your past incidents and postmortems. This enriches the knowledge map, so during a live investigation, ewake can surface patterns like “this looks like incident #47 from three weeks ago, caused by a deploy on payments-api.” The webhook needs the API key: ewake shows the webhook only on a connected integration.
Ewake reads closed incidents only. Close your resolved incidents in incident.io, so that ewake can learn from them.

Prerequisites

  • An Incident.io account with admin permissions to create API keys
  • Access to your ewake dashboard

Configuration

1

Open Settings in Incident.io

Click the ⚙️ gear icon at the bottom left → Settings.
2

Go to API Keys

Under Extend → click API Keys → Create New API Key.
3

Set permissions

Grant the following permission groups:Test connection in ewake shows whether the key has View data, View on-call resources and Manage postmortems.
4

Copy the API key

Copy the key immediately, you won’t be able to see it again.
5

Connect in ewake

Go to your ewake dashboard → Integrations → Incident.io → paste the API key → click Save.
Incident.io is connected. Ewake will begin ingesting your incident history.

Put the postmortem draft in incident.io

When an incident is over, ewake offers to write its postmortem draft in the incident’s Slack channel. An incident flow that takes incident.io incidents can put that draft on the incident in incident.io, in place of the Slack thread.
1

Give the API key the permission

In incident.io, edit the API key and add the Manage postmortems permission. In ewake, Test connection then shows Write postmortem drafts as granted.
2

Choose incident.io in the flow

In the What ewake does step of a new incident flow, or under Instructions in the editor of an existing one, set Postmortem draft to In incident.io, with a link in Slack. A new flow starts on this choice. Pick In the Slack thread to keep the draft in Slack.
The offer then reads Generate postmortem in incident.io. A click writes the draft on the incident in incident.io, and ewake answers in Slack with its link. The draft starts with the line Drafted by ewake. Review it before you share it. If the write fails, ewake answers with the full draft and the reason.
The Postmortem draft field shows only while incident.io is connected, and only on a flow that takes incident.io incidents. A flow made before this field keeps its draft in Slack until you choose incident.io. If the key lacks Manage postmortems, the draft stays in Slack and the flow warns about it.

Auto-invite ewake to incident channels

With the webhook, ewake joins each incident channel by itself. An invite is the other way to start ewake on an incident: when it is invited to an incident channel, ewake reads the incident from Incident.io and starts its investigation. Use it if you do not set up the webhook. Configure Incident.io to automatically add ewake to every new incident channel the moment it is created:
1

Open Workflows

In Incident.io → Settings → Workflows.
2

Create or edit a workflow

Add a workflow that triggers when an incident is declared.
3

Add the Slack bot step

Add the “Invite a Slack bot user to an incident channel” step → select ewake.
Ewake will be in every incident channel from the first message onward.