StackStorm Integration

StackStorm is a powerful open-source automation platform that wires together all of your apps, services and workflows. It’s extendable, flexible, and built with love for DevOps and ChatOps.


What does Opsgenie offer StackStorm users?

Use Opsgenie's pack in StackStorm to perform most API actions used in Opsgenie. Automate systems easily by using StackStorm's other abilities, like triggering a rule. Opsgenie determines the right people to notify based on on-call schedules– using email, text messages (SMS), phone calls and iOS & Android push notifications, and escalates alerts until the alert is acknowledged or closed.

Functionality of the integration

Use defined actions of Alert API, Heartbeat API, Integration API, Policy API, User API, Team API, WhoIsOnCall API, and more in StackStorm, then see the results on the Opsgenie side.

Add StackStorm Integration in Opsgenie

  1. Please create an Opsgenie account if you haven't done so already.
  2. Go to Opsgenie's StackStorm Integration page.


For Free and Essentials plans, you can only add the integrations from the Team Dashboards, please use the alternative instructions given below to add this integration.

  1. Specify who is notified of Instana alerts using the Teams field. Auto-complete suggestions are provided as you type.


An alternative for Step 2) and Step 3) is to add the integration from the Team Dashboard of the team which will own the integration. To add an integration directly to a team, navigate to the Team Dashboard and open Integrations tab. Click Add Integration and select the integration that you would like to add.

  1. Copy the API Key.
  2. Click Save Integration.

Configuration in StackStorm

Use StackStorm administrative web UI to install and configuration for Opsgenie.

A file should exist at the path /opt/stackstorm/configs/opsgenie.yaml containing the options in the following format:


When modifying the configuration in /opt/stackstorm/configs/ please remember to tell StackStorm to load these new values by running st2ctl reload --register-configs

Navigate to Packs, search for Opsgenie and click Install.


If the configuration file is configured succesfully, the installation looks like the following image after this operation:


Check StackStorm's pack configuration document if there are any other problems.

Testing The Integration

Navigate to the "Actions" tab and select an Action to run. Then see the results of the execution in the "History" tab.


Did this page help you?