This page provides a reference for the Run Autopilot action (newrelic.autopilot.run) available in the workflow automation actions catalog.
Run Autopilot
Runs New Relic Autopilot — an AI agent that analyzes alerts, investigates potential root causes, and suggests remediation actions. You select Run Autopilot from the Workflow Editor's Action Catalog — you don't need to specify an agent ID.
Input field | Optionality | Type | Description |
|---|---|---|---|
prompt | Required | String | A prompt is your instruction to an AI Agent. It's the question you ask or the command you give to get a specific result. |
threadId | Optional | String | A unique identifier for the conversation thread in UUID format. |
context | Optional | List | Additional contextual information for the request. This field has the following constraints:
|
selectors | Optional | List | The selectors to get only the specified parameters as output. Example: |
Output field | Type | Description |
|---|---|---|
response | Object | Response of the agent. |
success | Boolean | Status of the request. |
errorMessage | String | Failure reason as message. |
name: demo-run-autopilotdescription: Run Autopilot to analyze an issuesteps: - name: runAutopilot type: action action: newrelic.autopilot.run version: '1' inputs: prompt: Summarize recent alert activity for my account context: - description: accountId value: "12345678" - description: slack_channel_id value: "CXXXXXXXXX" selectors: - name: success expression: .success - name: error expression: .errorMessage - name: response expression: .response