tr Skip to content
Black Friday FlowMattic for life, 12 payments of $33.25 Or $399 once. Nothing added for splitting Ends in --Days --Hrs --Min --Sec See the deal

Send a Slack alert when a New Relic incident is opened, acknowledged or closed

Each time New Relic opens, acknowledges or closes an incident, FlowMattic posts a message to the Slack channel you choose, so the on-call team can follow the incident without watching New Relic.

New Relic Slack

2 steps Setup ~5 min Used on 837 sites Free to import

The Send a Slack alert when a New Relic incident is opened, acknowledged or closed workflow on the FlowMattic canvas, with 2 steps across New Relic, Slack
The workflow as it appears in the builder after import. Each step opens for editing.

What this workflow does

Incident updates are easy to miss when they only live in New Relic. Most engineering teams already talk in Slack, so a message there puts the opening of an incident, the moment someone picks it up and its close in front of everyone who needs to know.

The New Relic Setup Webhooks trigger receives incident events from New Relic. FlowMattic describes it as firing when an incident is opened, acknowledged or closed, so one incident can start up to three runs over its life. After import you add the webhook address the trigger gives you to New Relic, then send a test incident so FlowMattic can read the data New Relic sends.

Next, the Slack step writes the update into a channel of your choice. The step ships unmapped: you connect your Slack workspace, pick the channel and write the message, mapping in incident details from the test data, such as the incident title, its state and a link back to New Relic.

Every event becomes a message, so a noisy alert policy means a busy channel. Task History lists each run with what New Relic sent and what Slack returned, which helps when you tune the message.

On-call channel for production alerts

A SaaS team routes New Relic incidents to an #on-call channel, so whoever is on shift sees a new incident, its acknowledgement and its close in one place.

Status trail for an agency's client sites

An agency that monitors client apps in New Relic keeps a Slack channel per client, so account managers know when a site had trouble and when it was resolved.

Visibility for support staff

Support agents watch a Slack channel for open incidents, so they can tell customers a known issue is being worked on before tickets pile up.

How this workflow runs

What happens at each step once the workflow is on, and what you need before you import it.

  1. Step 1Trigger
    New Relic Setup Webhooks

    Receives incident events from New Relic through a webhook. It fires when an incident is opened, acknowledged or closed, and passes the incident data New Relic sends to the Slack step.

  2. Step 2Action
    Slack Send Channel Message

    Sends the incident update into one Slack channel. This step ships empty: choose the channel and write the text, mapping in incident fields such as the title, state and link.

What you need

  • FlowMatticCore
  • New Relic AccountAccount
  • Slack AccountAccount

After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.

Make it yours

Changes worth making after you import it.

  • Put the incident's state near the start of the Slack message, so readers can tell at a glance whether it was opened, acknowledged or closed.
  • To post only newly opened incidents, put a Filter between the New Relic trigger and the Slack step that checks the incident's state field from your test data. Pick that field and its value yourself.
  • Private channels need Slack's Send Private Channel Message action in place of this one, and Send Direct Message suits alerting a single engineer.
  • To send opened incidents to #on-call and closed ones to a quieter channel, replace the single Slack step with a Router after the trigger, giving each state its own route and its own Slack step. Keep the route conditions exclusive so a state never matches two routes.

Questions about this workflow

Will one New Relic incident post more than one Slack message?

It can. The trigger fires when an incident is opened, when it is acknowledged and when it is closed, so a single incident can produce up to three messages. To cut that down, put a Filter on the state between the New Relic trigger and the Slack step.

What do I set up in New Relic for this workflow?

New Relic has to send its incident events to the webhook address the FlowMattic trigger shows. Add that address in New Relic, send a test, and check that the data arrives before you build the message.

Which incident details can the Slack message include?

Any field New Relic sends in its webhook. Map them into the message text of the Send Channel Message step after the test data has come in, and check a real incident in Task History.

Can New Relic alerts land in a private Slack channel?

The template's Slack action targets a channel you choose from the list. For a private channel, use Slack's separate Send Private Channel Message action, which FlowMattic's Slack integration also has.

Import this workflow into your WordPress site

Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.

30-day money-back guarantee Unlimited workflows and runs Self-hosted

Customers who run it every day

Rated 4.8 out of 5 by customers
Read more reviews

It contains a lot of integrations and custom actions that allow you to easily integrate your WordPress with many 3rd party applications and automate your tasks

Tech G.

It is self hosted and wordpress based. So you can effectively run this on any shared hosting with unlimited tasks. And new integrations are constantly being added. It's crazy how valuable this tool is.