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
No event type: your template decides what the body carries 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-relicgives you a public URL. Use **Send test notification** to test it, then confirm the request carriesAuthorization: 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
not documented but a destination can report TIMEOUT_ERROR, so respond quickly and work from a queue Retries not documented for Webhook destinations, so don't count on a failed notification being sent again After a failure snoozed for a few minutes, and New Relic sends nothing to that destination in that time Repeats by design because an issue notifies on every trigger left on, so upsert on issueId Known failure modes
From Hookdeck's New Relic guide →-
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 → -
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
Handle repeat notifications →issueIdinstead of creating a ticket per request, and turn off triggers you don't use under **Notify when**. -
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 → -
A failed notification only shows in New Relic
A failed send appears as Failed in the issue notification log and as a
Alert on notification errors →NotificationErrorinNrIntegrationError, with nothing sent to your service. Alert on that error through a different destination so you hear about it.
New Relic webhook best practices
- Put
issueId,triggerEventandupdatedAtin your template. New Relic adds nothing to identify a delivery, so anything your handler needs has to be in the template. - Upsert on
issueId. One issue notifies many times. Update one record per issue and ignore anything older than what you've stored. - Alert on
NotificationError. A failed send goes toNrIntegrationError. Build an alert condition on it that notifies a different destination. - Respond before you do the work. New Relic publishes no timeout, so store the notification, respond and run remediation or ticket creation from a queue.
- Treat template edits like API changes.
Keep one template for every workflow that targets an endpoint, and guard optional variables with
{{#if}}. - Allow only New Relic's network blocks. New Relic publishes the blocks webhooks come from. They're shared with its other traffic, so keep checking the credentials too.
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.