• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with StackStorm

StackStorm logo

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. Go to Settings → Integrations. Search for StackStorm and select Add

Under the Free and Essentials plans, the tabs under the Team dashboard are limited to Main, Integrations, Members, and Activity Stream.

2. Specify who is notified of StackStorm alerts using the Responders field. Auto-complete suggestions are provided as you type.

Did you know that you can also add this integration from your team dashboard? 

If you want your team to be the owner of this integration, add it from your team dashboard. Opsgenie will assign the alerts received through this integration to your team only.

To do that:

  1. Go to Teams,

  2. Find your team and select it to go to your team dashboard,

  3. From your team navigation, select Integrations,

  4. Select Add integration.

3. Copy the API Key.

4. Click Save Integration.

StackStorm integration settings

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:


1 2 --- api_key: "XXXXXXXXXXXXXXX"

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.

StackStorm packs

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

StackStorm packs

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.

StackStorm actions tab

Additional Help