New Relic webhooks

New Relic webhooks are HTTP POST requests that an Alerts workflow sends to a Webhook destination when an issue it matches is activated, acknowledged, updated or closed.

How New Relic webhooks work

A workflow pushes issue updates to your service, so you don't have to poll New Relic for open issues. By default a Webhook destination is notified on all six triggers: Activated, Acknowledged, Investigating, Closed, Priority changed and Other updates. You can narrow them per destination under **Notify when**, so one issue usually produces several requests.

The JSON body is a Handlebars template you edit in the workflow, starting from a default that New Relic's docs don't print. New Relic has no event names or event header, so you tell deliveries apart by what your template sends. The documented variables for that are state (CREATED, ACTIVATED, CLOSED), triggerEvent, such as STATE_CHANGE or PRIORITY_CHANGED, and isAcknowledged. Nothing versions the format, so the shape changes when someone edits the template.

Key facts

Signature header
None (unsigned)
How events are identified
No event type: your template decides what the body carries
Body format
JSON

Content type: application/json.

Agent skill
npx skills add hookdeck/webhook-skills --skill new-relic-webhooks

Verify New Relic webhooks →

Setting up New Relic webhooks

  • Go to **Alerts**, **Destinations**, then **Webhook**. Enter a name and an Endpoint URL, and under **Use authorization** choose **Basic Authentication**.
  • Open **Alerts**, then **Workflows**, add or edit a workflow, choose the destination and edit the payload. The **Preview** pane shows what will render, and a template that isn't valid JSON can't be saved.
  • New Relic can't reach your machine, so hookdeck listen 3000 new-relic --path /webhooks/new-relic gives you a public URL. Use **Send test notification** to test it, then confirm the request carries Authorization: Basic.
  • New Relic documents no way to resend a notification. The issue notification log under **Workflows** shows each one's status, error details and JSON payload.

Delivery behaviour

  1. A failed send can pause the whole destination

    After a failed send, New Relic snoozes the destination for a few minutes and sends it nothing in that time. Its docs don't say those notifications are sent later, so reconcile against open issues through NerdGraph after any failure.

    Plan for missed notifications →
  2. One issue sends many notifications

    A Webhook destination is notified by default on six triggers, and Other updates fires whenever an alert event is added or closed. Upsert on issueId instead of creating a ticket per request, and turn off triggers you don't use under **Notify when**.

    Handle repeat notifications →
  3. A template edit breaks your handler

    The body is whatever the workflow's template renders, and each workflow can have its own. A valid edit still saves and sends, so a renamed key reaches your handler without warning. Treat the template as an API contract, and include a schema version in it.

    Design the template →
  4. A failed notification only shows in New Relic

    A failed send appears as Failed in the issue notification log and as a NotificationError in NrIntegrationError, with nothing sent to your service. Alert on that error through a different destination so you hear about it.

    Alert on notification errors →

New Relic webhook best practices

In this hub

MCP events → How an agent subscribes to New Relic events as MCP events.
Verify signatures → Signature facts, verification code and common failures.
Production guide → Production problems, such as timeouts and retries, and how to handle them.
Agent skill → Install the webhook skill in your coding agent. npx skills add hookdeck/webhook-skills --skill new-relic-webhooks

Keep an outage on your side from snoozing your New Relic destination.

Event Gateway checks the Basic credentials, stores each notification as it arrives and delivers it to your service with retries you control, so New Relic's send succeeds even while your service is down.

Not affiliated with New Relic. Facts are compiled from public sources and linked inline.