Run an Automation When an Alert is Created
  • 17 Jul 2023
  • 1 Minute to read
  • Dark
    Light
  • PDF

Run an Automation When an Alert is Created

  • Dark
    Light
  • PDF

Article summary

The following entitlements are required to make changes to Workflows:

  • Workflows_Update - Create, Update, and Delete Workflows
  • Workflows_View - View existing Workflows

The user roles with access to these integration entitlements are Owner and App Admin.

Set Up Automation

For Workflows that trigger an automation upon creation of the alert, we must setup the automation first. In this example, configure the StatusPageIO Outbound Integration. Once this Integration and its associated Methods are in place, we can proceed to build the Workflow.

GetImage.png


Create Workflow

  1. Click Configuration from the main menu and select Workflows.
  2. Press the Add Workflow button.
  3. Enter a name for the Workflow,
  4. Choose Alert as the Type
  5. Select Standard Alert for the Alert Type.
  6. Click Submit to save.
    GetImage 1.png

Add Start Conditions to the Workflow

  1. Under Start Conditions, click the ADD button next to Match All Conditions
  2. For the Name field, choose AlertStatus.
  3. Choose "is" for the operator.
  4. Choose Open for the Value.
  5. Press the green checkmark to save.
    GetImage 2.png

Add Action to the Workflow

  1. Scroll down the page to Actions and press Add Action.
  2. Choose Outbound Service Notification for the Action.
  3. In the resulting dialog box, select StatusPageIO - Create Incident from the Web Method dropdown.
    GetImage 4.png

Add Workflow to an Escalation Rule

  1. Start by enabling the Workflow by clicking the update button in Settings at the top of the Workflow page. Checking the Enabled box and then click the green check mark to save.
  2. To add the Workflow to an Escalation Policy, click Configurations from the main menu and select Escalation Policies.
  3. Choose the Escalation you want associated to the workflow we just created.
  4. Expand the Automation tab.
  5. Press the Add Workflow button.
  6. In the resulting dialog, select your Workflow (it must be enabled to be visible here) and press the arrow button to move it to the Selected Workflows list.
  7. Click Submit to save the Workflow to the Escalation Policy.
    GetImage 7.png

Was this article helpful?