Opsgenie

Opsgenie is an incident management tool that lets development and operation teams plan for and manage service disruptions. In the context of Nintex Automation Cloud, Opsgenie is a connector Service used to define a connection required for associated actions and start events. Examples include Salesforce and Box. Method of integration to cloud services, business applications and content stores. and is used to create connections for Opsgenie actions A tool for building the processes, logic, and direction within workflows..

You can use Opsgenie actions to manage the users and teams that deal with a service disrupting incident. Use the user actions in a workflow to create, delete, and retrieve a list of users. Use the team actions to add and remove members of a team, retrieve a list of teams, and get the details of a particular team.

For more information on Opsgenie, see the company website.

Create an Opsgenie connection

Create a connection from the connections page or from the action configuration panel when configuring the action. For information about creating connections and assigning permissions, see Manage connections.

Complete the following fields when creating the connection:

Field Description
Connection name A name for the new connection.
API Key Your API key. Prepend the key with 'GenieKey '. For example: GenieKey 1Nr52r1sZxxxn6ySXxXt6C85. Get your API token from the API tokens tab of your Account settings page in Opsgenie.
Host URL The URL for the data center region that stores your Opsgenie specific product data. You choose the data center region when you first sigh on to Opsgenie. For example, you can choose either the US or EU data center. The host URL for the US is api.opsgenie.com, the host URL for the EU is api.eu.opsgenie.com

Opsgenie account requirements

  • The account you use to create a connection for Opsgenie is the account that has access to the Opsgenie actions.
  • When you create your Opsgenie account a subdomain is assigned to your account. You need this subdomain and your API key to create the connector.
  • Get your API token from the API tokens tab of your Account settings page in Opsgenie.

Create an Opsgenie data source

Use the Opsgenie data source to retrieve lists of users, teams, and team details. For more information on creating a data source and assigning permissions to it, see Data sources.

For example, To allow users to select a specific Opsgenie team in a form, add a drop-down list of blog posts to the form using a Data lookup control A form control that allows users to select from a drop-down list of values that have been fetched from a third-party service.. The Data lookup control uses a Opsgenie - Get teams data source to list the teams available from the Opsgenie connection in the drop-down.

You can create a data source to:

  • Get a team: list the details of a team from your Opsgenie account.
  • Get teams: list the teams available in your Opsgenie account.
  • Get users: list the users available in your Opsgenie account.

Each data source is configured for a specific user. You can create as many data sources as you need.

Opsgenie data source fields

When you create a Opsgenie data source, you can configure some additional fields to specify which tables, views, and stored procedures the data source should retrieve.

To access the data source fields, in the Add data source section, select the Connector and the Operation.

The following operations are available.

  • Get a team: Use this operation to list the details of a team from your Opsgenie account.
  • Get teams: Use this operation to list the teams available in your Opsgenie account.
  • Get users: Use this operation to list the users available in your Opsgenie account.

The following configuration fields are displayed depending on the operation selected.

Operation

Field or selection

Description

Get a team Connection The connection to use get the name of the team from Opsgenie.
  Team name

The name of the Opsgenie team that you want to retrieve the details of.

Get teams Connection The connection to use get the name teams from Opsgenie.
Get users Connection The connection to use get user details from Opsgenie.
  Users to return

The number of users to retrieve. Used with Total count (from this data source's output) and Start at user number for paging options.

  Start at user number

The number of users to skip from the start.

  Sort by

The field to use for the sorting order.

  Order by

Direction of the sorting.

  Query

Used for advanced searches. Specify Field:value combinations. Possible fields are username, fullName, blocked, verified, role, locale, timeZone, userAddress and createdAt.