---
title: New Relic alerts actions
source: https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts
---

This page provides a reference for all New Relic alerts actions available in the workflow automation actions catalog. These actions let you create, update, delete, get, and search alert policies, NRQL conditions (static and baseline), compound conditions, and muting rules directly from a workflow.

## Prerequisites

Before using New Relic alerts actions in workflow automation, ensure you have:

-   A New Relic account with appropriate permissions to manage alerts.
-   A New Relic account ID for the account where the alert resources reside.

## Alert policy actions

The following table lists all available alert policy actions.

| Action identifier                | Description                                                     | Reference                                                                                                                                                       |
| -------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `newrelic.alerts.createPolicy`   | Creates a new alert policy.                                     | [Create an alert policy](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-create-policy)  |
| `newrelic.alerts.updatePolicy`   | Updates an existing alert policy's name or incident preference. | [Update an alert policy](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-update-policy)  |
| `newrelic.alerts.deletePolicy`   | Deletes an existing alert policy.                               | [Delete an alert policy](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-delete-policy)  |
| `newrelic.alerts.getPolicy`      | Retrieves the details of a single alert policy.                 | [Get an alert policy](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-get-policy)        |
| `newrelic.alerts.searchPolicies` | Searches alert policies with optional filtering by ID or name.  | [Search alert policies](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-search-policies) |

## NRQL condition actions

The following table lists all available NRQL condition actions.

| Action identifier                             | Description                                                                | Reference                                                                                                                                                                                 |
| --------------------------------------------- | -------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `newrelic.alerts.createStaticNrqlCondition`   | Creates a new static NRQL alert condition under an alert policy.           | [Create a static NRQL condition](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-create-static-nrql-condition)     |
| `newrelic.alerts.updateStaticNrqlCondition`   | Updates an existing static NRQL alert condition.                           | [Update a static NRQL condition](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-update-static-nrql-condition)     |
| `newrelic.alerts.createBaselineNrqlCondition` | Creates a new baseline NRQL alert condition under an alert policy.         | [Create a baseline NRQL condition](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-create-baseline-nrql-condition) |
| `newrelic.alerts.updateBaselineNrqlCondition` | Updates an existing baseline NRQL alert condition.                         | [Update a baseline NRQL condition](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-update-baseline-nrql-condition) |
| `newrelic.alerts.getNrqlCondition`            | Retrieves the details of a single NRQL alert condition.                    | [Get an NRQL condition](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-get-nrql-condition)                        |
| `newrelic.alerts.deleteCondition`             | Deletes an existing alert condition across all condition types.            | [Delete an alert condition](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-delete-condition)                      |
| `newrelic.alerts.searchNrqlConditions`        | Searches NRQL alert conditions with optional filtering.                    | [Search NRQL conditions](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-search-nrql-conditions)                   |
| `newrelic.alerts.searchAsNrqlConditions`      | Searches classic alert conditions in their NRQL-converted format.          | [Search as NRQL conditions](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-search-as-nrql-conditions)             |
| `newrelic.alerts.listCompoundConditions`      | Lists compound alert conditions for an account with optional ID filtering. | [List compound conditions](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-list-compound-conditions)               |

## Muting rule actions

The following table lists all available muting rule actions.

| Action identifier                  | Description                                                                                | Reference                                                                                                                                                         |
| ---------------------------------- | ------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `newrelic.alerts.createMutingRule` | Creates a new muting rule to suppress alert notifications for matching violations.         | [Create a muting rule](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-create-muting-rule) |
| `newrelic.alerts.updateMutingRule` | Updates an existing muting rule.                                                           | [Update a muting rule](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-update-muting-rule) |
| `newrelic.alerts.deleteMutingRule` | Deletes an existing muting rule.                                                           | [Delete a muting rule](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-delete-muting-rule) |
| `newrelic.alerts.getMutingRule`    | Retrieves the details of a single muting rule, including its condition group and schedule. | [Get a muting rule](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-get-muting-rule)       |
| `newrelic.alerts.listMutingRules`  | Lists the muting rules for an account with optional enabled-state filtering.               | [List muting rules](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/newrelic/alerts/newrelic-alerts-list-muting-rules)     |
