Use AI agent as an activity

task australia Updated Sep 10, 2026 3 min read ai-agent-as-activity.md
Raw file servicenow.com

Use an existing AI agent as an activity in your playbook to automate tasks. The AI agent gathers the required context, performs the work, and produces outputs that subsequent activities can consume.

Before you begin

Make sure that ServiceNow Otto® AI agents plugin is installed and you have AI agents available in your instance. For information about installing the ServiceNow Otto® AI agents plugin, see . For information about creating an AI agent, see .

Role required: playbook.admin or pd_author.

About this task

When you add an AI agent to the activity, you select the agent, provide an objective for the agent to complete, and define the expected outputs. You can also define whether you want to run the agent on behalf of the user who triggered the playbook, or the current user. You can interact with the agent from within the playbook, without opening the ServiceNow Otto® panel.

Procedure

  1. Navigate to All > Process automation > Workflow Studio.

  2. Select the playbook where you want to add the Use an AI agent activity.

  3. In a new or an existing stage, select Add an activity.

    [Omitted image "use-ai-agent.png"] Alt text: Image showing the option to add an activity.

  4. From the list of activities, under Common Activities, select Use an AI agent.

  5. In the Automation tab, configure the AI agent.

Field

Description

AI agent

The AI agent that you want to add to the activity.

Objective

Text directions for the AI agent. You can use a combination of plain text and data pill picker. Provide a descriptive instruction for the AI agent about what do you want to achieve. For example, Summarize the incident (Parent record->Incident-> Number) and suggest the next steps to resolve the incident..

Run as

The user on behalf of whom you want the agent to run.- Active user: The AI agent performs the actions on behalf of the active user that starts the conversation.

  • User who triggered the playbook: The AI agent performs the actions on behalf of the user that triggered the playbook.
  • User who completed a prior activity: The AI agent performs the actions on behalf of the user that completed a previous activity.

Expected outputs

Outputs that you want the AI agent to generate.

6. Select **Show additional options** to configure the optional properties.

 

 

Assigned to

An optional field where you can specify a user who can complete, skip, or restart the activity when the agent is working.This field is visible only when you select Show additional options.

Assignment group

An optional field where you can specify a user group who can complete, skip, or restart the activity when the agent is working. This field is visible only when you select Show additional options.

Conversation label

A name to identify the conversation.

7. Select **Save and close**.

Using AI agent in a CSM playbook

In the following example, Alex, a CSM/FSM Workspace user, is working on a customer complaint about a product issue. The playbook uses the Complaint Case Research Plan Agent in the research stage to analyze the complaint and create relevant tasks for the next steps. The AI agent is configured to run as the active user in this playbook.

Alex performs all interactions with the AI agent within the playbook, without opening the Now Assist panel.

  1. When the playbook reaches the research stage, Alex selects Start Now Assist to run the AI agent.

    [Omitted image "use-ai-agent-start.png"] Alt text: User clicks Start Now Assist button to run the AI agent.

  2. Alex can view the tasks that the AI agent is performing.

    [Omitted image "use-ai-agent-status.png"] Alt text: The AI agent is running and Alex can view the tasks being performed by the agent.

  3. After analyzing the case and similar cases, the AI agent recommends adding four tasks and prompts Alex for confirmation. Alex can remove any of the recommended tasks or select Confirm for the AI agent to create the tasks.

    [Omitted image "use-ai-agent-worknote.png"] Alt text: The AI agent prompts for permission before creating tasks for the next steps.

  4. After receiving the confirmation, the AI agent creates the tasks and marks the activity as complete.

    [Omitted image "use-ai-agent-complete.png"] Alt text: AI agent completes the activity.

Parent Topic:Stages and activities

Keywords ServiceNow OttoAI Agentsgenerative AIagentic AI
Search documentation
Search document titles and file paths on the australia branch