Better Stack
Start an agent when Better Stack opens, acknowledges or resolves an incident
The Better Stack integration lets an incident in Better Stack Uptime start an agent: route the page to whoever is on call, triage the failing monitor, or post a recovery note when it clears.
Connect it from Integrations → Better Stack, then create an automation on one of its events.
Events
Better Stack can start an automation when one of these happens.
betterstack.incident.created
Incident created. Fire when Better Stack opens a new incident (a monitor or heartbeat starts failing). Typical use: on-call routing, auto-triage, or paging an agent to investigate.
Needs a connection: set integrationConfigId to the config to listen on.
| Field | Type | Description | Example |
|---|---|---|---|
payload.message_attributes.event | string | Incident lifecycle event (created, acknowledged, resolved, commented). | created |
payload.message_attributes.incident_id | string | Better Stack incident id. | 12345678 |
payload.message_attributes.name | string | Incident name — usually the failing monitor and reason. | Monitor for https://example.com is down |
payload.message_attributes.cause | string | Reported cause of the incident. | HTTP request failed with status 500 |
payload.message_attributes.status | string | Incident status as reported by Better Stack (e.g. Started, Acknowledged, Resolved). | Started |
payload.message_attributes.url | string | Monitored URL or host the incident relates to. | https://example.com |
payload.message_attributes.monitor_id | string | Id of the monitor that produced the incident, when present. | 987654 |
betterstack.incident.acknowledged
Incident acknowledged. Fire when someone acknowledges an active incident in Better Stack.
Needs a connection: set integrationConfigId to the config to listen on.
| Field | Type | Description | Example |
|---|---|---|---|
payload.message_attributes.event | string | Incident lifecycle event (created, acknowledged, resolved, commented). | created |
payload.message_attributes.incident_id | string | Better Stack incident id. | 12345678 |
payload.message_attributes.name | string | Incident name — usually the failing monitor and reason. | Monitor for https://example.com is down |
payload.message_attributes.cause | string | Reported cause of the incident. | HTTP request failed with status 500 |
payload.message_attributes.status | string | Incident status as reported by Better Stack (e.g. Started, Acknowledged, Resolved). | Started |
payload.message_attributes.url | string | Monitored URL or host the incident relates to. | https://example.com |
payload.message_attributes.monitor_id | string | Id of the monitor that produced the incident, when present. | 987654 |
betterstack.incident.resolved
Incident resolved. Fire when an incident is resolved in Better Stack (the underlying check recovered). Use for follow-up actions like posting a recovery note or closing a ticket.
Needs a connection: set integrationConfigId to the config to listen on.
| Field | Type | Description | Example |
|---|---|---|---|
payload.message_attributes.event | string | Incident lifecycle event (created, acknowledged, resolved, commented). | created |
payload.message_attributes.incident_id | string | Better Stack incident id. | 12345678 |
payload.message_attributes.name | string | Incident name — usually the failing monitor and reason. | Monitor for https://example.com is down |
payload.message_attributes.cause | string | Reported cause of the incident. | HTTP request failed with status 500 |
payload.message_attributes.status | string | Incident status as reported by Better Stack (e.g. Started, Acknowledged, Resolved). | Started |
payload.message_attributes.url | string | Monitored URL or host the incident relates to. | https://example.com |
payload.message_attributes.monitor_id | string | Id of the monitor that produced the incident, when present. | 987654 |
Every event also carries the fields common to all events. To use one, see Start when something happens in another app.