FruxonDocs

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.

FieldTypeDescriptionExample
payload.message_attributes.eventstringIncident lifecycle event (created, acknowledged, resolved, commented).created
payload.message_attributes.incident_idstringBetter Stack incident id.12345678
payload.message_attributes.namestringIncident name — usually the failing monitor and reason.Monitor for https://example.com is down
payload.message_attributes.causestringReported cause of the incident.HTTP request failed with status 500
payload.message_attributes.statusstringIncident status as reported by Better Stack (e.g. Started, Acknowledged, Resolved).Started
payload.message_attributes.urlstringMonitored URL or host the incident relates to.https://example.com
payload.message_attributes.monitor_idstringId 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.

FieldTypeDescriptionExample
payload.message_attributes.eventstringIncident lifecycle event (created, acknowledged, resolved, commented).created
payload.message_attributes.incident_idstringBetter Stack incident id.12345678
payload.message_attributes.namestringIncident name — usually the failing monitor and reason.Monitor for https://example.com is down
payload.message_attributes.causestringReported cause of the incident.HTTP request failed with status 500
payload.message_attributes.statusstringIncident status as reported by Better Stack (e.g. Started, Acknowledged, Resolved).Started
payload.message_attributes.urlstringMonitored URL or host the incident relates to.https://example.com
payload.message_attributes.monitor_idstringId 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.

FieldTypeDescriptionExample
payload.message_attributes.eventstringIncident lifecycle event (created, acknowledged, resolved, commented).created
payload.message_attributes.incident_idstringBetter Stack incident id.12345678
payload.message_attributes.namestringIncident name — usually the failing monitor and reason.Monitor for https://example.com is down
payload.message_attributes.causestringReported cause of the incident.HTTP request failed with status 500
payload.message_attributes.statusstringIncident status as reported by Better Stack (e.g. Started, Acknowledged, Resolved).Started
payload.message_attributes.urlstringMonitored URL or host the incident relates to.https://example.com
payload.message_attributes.monitor_idstringId 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.

On this page