Integration settings: What opens and closes alerts
At a glance
| Audience | Integrations Admin |
| Plan | All plans (Free, Standard, Premium, Enterprise) (200+ integrations, no-code open API) |
| Where in the app | Integration > 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
Plans and permissions
| What | Available on | Permission needed | Built-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_GlobalAccess | Owner, App Admin |
| Dynamic recipients and escalation policy overrides (Dynamic Assignee Mapping) | Premium, Enterprise (dynamic routing) | InboundIntegrations_GlobalAccess | Owner, 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.
| Field | Set it to |
| Alert Source | A unique name for this integration, such as DatabaseMonitoring. It's also the last part of the endpoint URL. |
| Alert Source Name | A fixed name (Static) or a field |
| Alert Source ID | The 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
Status field
| Option | Compares the rules against |
| Body | The whole payload |
| Subject | The mapped subject from How |
| SourceStatus | One 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) 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, 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
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) Assignee, (2) its tooltip: username or official email (the section banner says username or external ID)
Template example: Prometheus
| Setting | Value |
| Alert Source | Prometheus |
| Source Name and Source ID | commonLabels^monitor |
| Status | status: open on firing, close on resolved |
Worked example
| Event | status | Result |
| First event | CRITICAL | Mapped Opened, alert 216980 |
| Repeat, same alert_id | CRITICAL | Mapped Appended to 216980 |
| Recovery | RESOLVED | Mapped 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
| Result | Likely cause |
| A new alert for every event | Source ID changes each time, or isn't mapped |
| Alerts never close | Close values don't match the tool's recovery status |
| Mapping Failed | Missing Source Name or Source ID, or a Which filter excluded it |
| Alert opens as Assigned | Dynamic Assignee Mapping matched a user |
Internal review: remove before publishing |