---
title: ServiceNow Incident actions
source: https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/servicenow/servicenow-incident
---

This page provides a reference for ServiceNow incident actions available in the workflow automation actions catalog. These actions enable you to create and manage incidents in ServiceNow.

## Prerequisites

Before using ServiceNow actions in workflow automation, ensure you have:

-   A ServiceNow instance with appropriate permissions.
-   A ServiceNow REST API Key for authentication (passed as the `x-sn-apikey` header).
-   The necessary permissions to create and manage incidents in your ServiceNow instance.

In the action input, `apiKey` must be provided. It is used to authenticate the user — the key is passed as part of the request header `x-sn-apikey`.

## Set up API key authentication

For more information, see [Create REST API access policy with API Key authentication profiles](https://www.servicenow.com/docs/r/platform-security/authentication/create-api-access-policy.html) in the ServiceNow documentation.

To generate and configure a REST API Key in ServiceNow:

### Create an Inbound Authentication Profile

1.  Navigate to **System Web Services > API Access Policies > Inbound Authentication Profile**.
2.  Create a new **API Key authentication profile**.
3.  Define the **Auth Parameter** as an HTTP header (recommended) using the parameter name `x-sn-apikey`.

### Generate a REST API Key

1.  Navigate to **System Web Services > API Access Policies > REST API Key**.
2.  Create a new key associated with a dedicated service account that has the appropriate roles and permissions.
3.  Save and copy the generated token value — it is a secret key.

### Configure an API Access Policy

1.  Navigate to **System Web Services > API Access Policies > REST API Access Policies**.
2.  Create a new policy, select the target REST API (for example, **Table API** or a **Scripted REST API**).
3.  Add the **Inbound Authentication Profile** to this policy's related list.

## Available incident actions

| Action name                                                                                                                                                        | Description                                                      |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------- |
| [**Create a ServiceNow incident**](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/servicenow/servicenow-incident-create)   | Creates a new incident in ServiceNow using the Table API.        |
| [**Get a ServiceNow incident**](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/servicenow/servicenow-incident-get)         | Gets an existing incident from ServiceNow using the Table API.   |
| [**List ServiceNow incidents**](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/servicenow/servicenow-incident-list)        | Gets a list of incidents from ServiceNow using the Table API.    |
| [**Update a ServiceNow incident**](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/servicenow/servicenow-incident-update)   | Updates an existing incident in ServiceNow using the Table API.  |
| [**Resolve a ServiceNow incident**](https://docs.newrelic.com/docs/workflow-automation/setup-and-configure/actions-catalog/servicenow/servicenow-incident-resolve) | Resolves an existing incident in ServiceNow using the Table API. |
