Skip to content
  • There are no suggestions because the search field is empty.

Integration settings: What opens and closes alerts

At a glance

AudienceIntegrations Admin
PlanAll plans (Free, Standard, Premium, Enterprise) (200+ integrations, no-code open API)
Where in the appIntegration > What

Why and when to use this

What controls how an event becomes an alert: which alert it belongs to, and whether it opens, updates, or closes it. Getting this right prevents duplicate alerts and makes recoveries close alerts automatically.

(1) Alert Identifier: Source, Source Name, Source ID, (2) status field, (3) the payload field that holds the status, (4) Open alert when, (5) Update alert when

(1) Alert Identifier: Source, Source Name, Source ID, (2) status field, (3) the payload field that holds the status, (4) Open alert when, (5) Update alert when

Plans and permissions

WhatAvailable onPermission neededBuilt-in roles that include it
Inbound integrations (API, email, prebuilt) (Alert Identifier; Status field; Open, update, and close rules)All plans (Free, Standard, Premium, Enterprise) (200+ integrations, no-code open API)InboundIntegrations_GlobalAccessOwner, App Admin
Dynamic recipients and escalation policy overrides (Dynamic Assignee Mapping)Premium, Enterprise (dynamic routing)InboundIntegrations_GlobalAccessOwner, App Admin

Custom roles can include any of these permissions. See the Entitlements reference.

Alert Identifier

AlertOps updates an existing alert only when Source, Source Name, and Source ID all match. If the Source differs, it's a new alert even when the ID matches.

FieldSet it to
Alert SourceA unique name for this integration, such as DatabaseMonitoring. It's also the last part of the endpoint URL.
Alert Source NameA fixed name (Static) or a field
Alert Source IDThe payload field that stays the same for one problem, such as alert_id

(1) Dynamic Assignee Mapping turned on, (2) Assignee: the payload field that holds an AlertOps username or external ID

(1) Dynamic Assignee Mapping turned on, (2) Assignee: the payload field that holds an AlertOps username or external ID

Status field

OptionCompares the rules against
BodyThe whole payload
SubjectThe mapped subject from How
SourceStatusOne field you choose, such as status

(1) Select Status Field, (2) its tooltip: Subject is the mapped subject, Body is the whole payload, SourceStatus is one mapped field

(1) Select Status Field, (2) its tooltip: Subject is the mapped subject, Body is the whole payload, SourceStatus is one mapped field

(1) Define Source Status: the payload field that holds the status, (2) its tooltip: decides whether to open a new alert or close an existing one

(1) Define Source Status: the payload field that holds the status, (2) its tooltip: decides whether to open a new alert or close an existing one

Open, update, and close rules

Enter values and press Enter after each. Operators: Contains Any, Not Contains Any, Matches Regex, Not Matches Regex.

(1) open on firing, (2) close on resolved, (3) Resolution: text saved on the alert when it closes, (4) Insert Json Field, (5) Dynamic Assignee Mapping, (6) Save

(1) open on firing, (2) close on resolved, (3) Resolution: text saved on the alert when it closes, (4) Insert Json Field, (5) Dynamic Assignee Mapping, (6) Save

(1) open, update, and close operators: Contains Any, Not Contains Any, Matches Regex, Not Matches Regex

(1) open, update, and close operators: Contains Any, Not Contains Any, Matches Regex, Not Matches Regex

(1) Resolution, (2) its tooltip: resolution text for closing an alert

(1) Resolution, (2) its tooltip: resolution text for closing an alert

(1) Resolution, (2) its tooltip: resolution text for closing an alert

(1) Resolution, (2) its tooltip: resolution text for closing an alert

Add a Resolution using Insert Json Field, such as <details>, so closed alerts record what happened.

Dynamic Assignee Mapping

Turn on Dynamic Assignee Mapping at the bottom of What to assign the alert automatically. From the section's help: it "assigns the alert to a user when the incoming value exactly matches their AlertOps Username or External ID, and places the alert into Assigned status." The Assignee tooltip says "username or official email" instead; use the username, which both agree on.

Use it when the tool knows the owner, such as a ticket assignee field. Because the alert starts as Assigned, stop-delivery workflows may end paging immediately; the assignee still sees the alert.

(1) Dynamic Assignee Mapping turned on, (2) Assignee: the payload field that holds an AlertOps username or external ID

(1) Dynamic Assignee Mapping turned on, (2) Assignee: the payload field that holds an AlertOps username or external ID

(1) Assignee, (2) its tooltip: username or official email (the section banner says username or external ID)

(1) Assignee, (2) its tooltip: username or official email (the section banner says username or external ID)

Template example: Prometheus

SettingValue
Alert SourcePrometheus
Source Name and Source IDcommonLabels^monitor
Statusstatus: open on firing, close on resolved

Worked example

EventstatusResult
First eventCRITICALMapped Opened, alert 216980
Repeat, same alert_idCRITICALMapped Appended to 216980
RecoveryRESOLVEDMapped Closed

Best practices

  • Use a stable Source ID from the tool, not a timestamp.

  • Map both open and close values so recoveries close alerts.

  • Use a unique Alert Source for each Custom integration.

Troubleshooting

ResultLikely cause
A new alert for every eventSource ID changes each time, or isn't mapped
Alerts never closeClose values don't match the tool's recovery status
Mapping FailedMissing Source Name or Source ID, or a Which filter excluded it
Alert opens as AssignedDynamic Assignee Mapping matched a user

Internal review: remove before publishing