• /
  • EnglishEspañolFrançais日本語한국어Português
  • Inicia sesiónComenzar ahora

New Relic Agent actions

This page provides a comprehensive reference for New Relic agent actions available in the workflow automation actions catalog. These actions enable you to run agents configured in Agentic Platform.

Agent actions

Run agent

Runs an Agent configured in Agentic Platform.

Input Field

Optionality

Type

Description

prompt

Required

String

A prompt is simply your instruction to an AI Agent. It's the question you ask or the command you give to get a specific result.

agentId

Required

String

A unique identifier for the agent, including its version. Format: must start with a letter or underscore and may only contain letters, numbers, underscores, or hyphens.

threadId

Optional

String

A unique identifier for the conversation thread in UUID format.

selectors

Optional

List

The selectors to get the only 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.

Workflow example

name: demo-run-agent
description: Run newrelic word problem agent
steps:
- name: runAgent
type: action
action: newrelic.agent.run
version: '1'
inputs:
prompt: Sum of prime number less than 100
agentId: word_problem_agent
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.