# Datadog: Get the Alerting Monitor

Returns the ID of the specific Datadog monitor that triggered the current incident, for use fetching its live status or a graph snapshot.


> **Availability:** See the [Incident Workflow Actions Overview table](/workflow-actions) for the plans this workflow is available on.

## Description

Get the ID of the Datadog monitor that triggered the incident. This can be used to get a graph snapshot, or the current monitor status.

## Instructions

1. If you have not done so, follow the instructions to [Create an Incident Workflow](/ai-automation/automation/incident-workflows#create-an-incident-workflow).
2. When the instructions prompt you to [add actions](/ai-automation/automation/incident-workflows#add-actions), select **this action**.
3. Enter the following **Inputs** and click **Save**.
4. Continue following instructions to **Publish** the Workflow.
5. When the action runs, you will see the **Outputs** listed below.

Reference the `Monitor ID` output field reference in a subsequent action such as **Datadog: Get a Monitor’s Details** or **Datadog: Create a Graph Snapshot**.

## Inputs

This action has no inputs.

## Outputs

| Name           | Description                                                                         |
| :------------- | :---------------------------------------------------------------------------------- |
| Monitor ID     | The ID of the Datadog monitor that triggered the incident.                          |
| Result         | Value that shows if the action was successful or not. Either "Success" or "Failed". |
| Result Summary | Brief description of what the action did or if it failed.                           |
| Error          | Brief description that is populated if the action fails.                            |
