New Relic

Flow Designer has a New Relic Incidents trigger and built-in New Relic steps to help you integrate New Relic into your alert management and incident response flows.

New Relic Steps

The following steps are available:

  • Acknowledge or Close Incident: automatically acknowledge or close an existing incident in New Relic.

In the example above, the flow creates an alert and initiates an xMatters incident when a signal from New Relic comes into xMatters. When a user acknowledges the notification, the New Relic incident is updated, and when the incident's status to changed to Resolved in xMatters, the New Relic incident is closed.

Acknowledge or Close Incident

Use the Acknowledge or Close Incident step to automatically acknowledge or close an existing incident in New Relic. Map outputs from previous steps to the inputs to complete the incident details. The updated New Relic payload contains incident IDs in the incidentId array, and you'll need to extract a single value from the array to identify the New Relic Incident ID you want to update. Alternatively, you can enter the incident ID using text or a different variable that contains a single ID.

New Relic Incidents trigger

Flow Designer includes a built-in New Relic Incidents trigger that initiates a flow when it receives a signal from a New Relic webhook. You can configure the webhook to send the request when your configured conditions are met.

This version of the New Relic trigger lets you access additional New Relic functionality. If you want to take advantage of the new functionality but have the previous version of the trigger in your flows, you'll need to modify some steps in your flow. See Update the workflow for a list of changes and the steps you'll need to update.

Add the trigger to the canvas

  1. Go to the Triggers tab in the palette, expand the App Triggers section, and drag the New Relic Incidents trigger onto the canvas.
  2. Double-click the trigger (or click the pencil icon).
  3. Set the authenticating user, and then copy the URL and Configuration Payload — you'll use these to set up the webhook in New Relic. Alternatively, you can create an integration user to use as the authenticating user.

  4. Click the Flood Control tab to edit the trigger's default flood control settings. For more information about these settings, see Trigger Flood Control.
  5. Click Done.
  6. On the flow canvas, connect the steps you want to run when xMatters receives a request to that URL.

You're now ready to configure New Relic to target the trigger.

Configure New Relic to send requests to the trigger URL

To have New Relic send alerts to the flow trigger, you need to configure a webhook and set it to use the trigger URL.