# New Relic Workflow Integration

With [New Relic](https://newrelic.com/)’s integration in ilert, alerts from application or infrastructure monitoring – like error rates, transaction slowdowns, or deployment impacts – are sent to on-call teams via ilert. Automated routes and escalation policies help teams detect issues and respond before they affect service quality.

## In ilert: Create a New Relic alert source

1. Go to **Alert sources** --> **Alert sources** and click on **Create new alert source**

   <figure><img src="/files/rmL9OoRxcWnDwcJZQm4Y" alt=""><figcaption></figcaption></figure>
2. Search for **New Relic** in the search field, click on the New Relic tile and click on **Next**.

   <figure><img src="/files/1WoRRYB5U40PbeMJ7Hit" alt=""><figcaption></figcaption></figure>
3. Give your alert source a name, optionally assign teams and click **Next**.
4. Select an **escalation policy** by creating a new one or assigning an existing one.

   <figure><img src="/files/y4Bakf2apGhBN56U8ZPR" alt=""><figcaption></figcaption></figure>
5. Select you [Alert grouping](/alerting/configure-alerting/alert-sources.md#alert-grouping) preference and click **Continue setup**. You may click **Do not group alerts** for now and change it later.

   <figure><img src="/files/nTlB0ZCIW1SP3dj6P9nO" alt=""><figcaption></figcaption></figure>
6. The next page show additional settings such as customer alert templates or notification prioritiy. Click on **Finish setup** for now.
7. On the final page, an API key and / or webhook URL will be generated that you will need later in this guide.

   <figure><img src="/files/iFF3BpyuIYMi49K1j7uk" alt=""><figcaption></figcaption></figure>

## In New Relic: Add ilert as a Destination

1. In the sidebar, go to **Alerts & AI** -> **Destinations** -> **Webhook**

<figure><img src="/files/gnjfmTuYsFEV5SDpqkHm" alt=""><figcaption></figcaption></figure>

2. Enter a **Webhook name** and in the field **Endpoint URL** insert the Webhook URL generated in ilert.

<figure><img src="/files/YMlBjEXM9ejJ9uLqyu9I" alt=""><figcaption></figcaption></figure>

3. On the sidebar go to **Alert conditions (Policies)**

<figure><img src="/files/7Fg7fYkNuNbYvqkSjCWJ" alt=""><figcaption></figcaption></figure>

4. Click on the **New alert policy** button.

<figure><img src="/files/HnxMFzo4k1s7hwQfDGHC" alt=""><figcaption></figcaption></figure>

5. Enter an **Alert policy name** and click on the **Set up notifications** button

<figure><img src="/files/SCrrmRgKGnS6EPyqdbCA" alt=""><figcaption></figcaption></figure>

6. On the next step click on **Webhook**

<figure><img src="/files/QO5dWVm4kU07HfZLtaXJ" alt=""><figcaption></figcaption></figure>

7. Enter a channel name and choose the previous created destination in the **Destination** field.

<figure><img src="/files/OSuOTjY4YqIs9vOTCrWI" alt=""><figcaption></figcaption></figure>

8. To test this channel, we need to change the values of both keys: `state` and `trigger` to "ACTIVATED" and "STATE\_CHANGED". This prevents the testing of an already closed alert. Click on **Send test notification**. After testing, click on **Revert changes** and save the message.

<figure><img src="/files/yBtVD1xppJhozY3HFBle" alt=""><figcaption></figcaption></figure>

9. On the next page click on **Activate workflow**, to save and activate the workflow.

<figure><img src="/files/UIzK5iQLdr2iCX1j85eZ" alt=""><figcaption></figcaption></figure>

## FAQ

**Will alerts in ilert be resolved automatically?**

Yes, as soon as an issue has been closed in New Relic, the associated alert in ilert will be resolved automatically.

**Will alerts in ilert be accepted automatically?**

Yes, as soon as an issue has been acknowledged, the associated alert in ilert will be accepted automatically.

**Can I use customised tags for my alerts?**

Yes, customised tags will appear in the alert details tab.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ilert.com/integrations/inbound-integrations/new-relic/new-relic-workflow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
