• /
  • EnglishEspañolFrançais日本語한국어Português
  • Log inStart now

Run Autopilot action

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:

  • Structure: Each element within the list must be an object strictly containing a description and a corresponding value.
  • Capacity: You may provide a maximum of 10 contextual items per request.
  • Security: Do not include secret references in this field.
context:
- description: accountId
value: "12345678"
- description: slack_channel_id
value: "CXXXXXXXXX"

selectors

Optional

List

The selectors to get only the specified parameters as output.

Example:

selectors:
- name: success
expression: .success
- name: error
expression: .errorMessage
- name: response
expression: .response.finalAnswer

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-autopilot
description: Run Autopilot to analyze an issue
steps:
- 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
Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.