Read the alert → collect what the responder types → deliver it by email, REST call, or channel message.
Building a Custom Alert Action
Go to Settings → Shared Resources → Automation Actions → New, and pick User runs a custom alert action as the trigger. To make the action appear only on one team’s alerts, create it under that team instead of at the organization level.Conditions
A custom alert action can be limited to the alerts it makes sense for, with conditions on the alert’s Field, Severity, Provider, and — for an organization-level action — Team. Set them on the whole action, on an individual delivery step, or both. The Variables input step takes no conditions: it always runs, so every delivery step has its values. Conditions decide which alerts offer the action, and which steps run when a responder picks it. An action for Datadog alerts only never appears on a PagerDuty alert; an action that emails one team forSEV0 and another for everything else carries that split as two Send email steps with their own conditions.
Step order
A custom alert action has a fixed shape:- An optional Variables input step.
- One or more delivery steps — Invoke REST connection, Send email, or Publish to Channel. At least one is required.
Defining the input fields

The delivery steps can then use these values as placeholders anywhere they accept them — an email subject and body, a REST URL, headers, query, or JSON body — alongside the usual alert placeholders like
{{ alert_title }} and {{ alert_severity }}. Your own fields are written with a prefix, as {{ __variables__.customer_name }}. Pick both kinds from the placeholder list in the editor rather than typing them by hand.

Who Sees the Action
An action appears on an alert only when all of these hold:- The automation is Enabled.
- It is organization-level, or scoped to the team the alert belongs to. An alert with no team sees only organization-level actions.
- The alert matches the action’s conditions, and at least one delivery step’s conditions. An action with no conditions appears on every alert in its scope.
- The person viewing the alert has the Run alert actions permission. Read-only members never do, and the Actions menu does not show for them.
Running One from an Alert

- The input fields, if the action defines any.
- What this runs — a preview of exactly what will be sent: recipients, subject, channels, message body, with the alert values and their inputs already filled in. A delivery step whose conditions the alert does not match is listed as Skipped: conditions not met and does not run; only the steps that ran are marked Succeeded or Failed afterwards.
- Run action.


