---
title: Add a trigger to an AI agent
description: In the guided setup for an AI agent, add triggers to run the AI agent automatically when certain conditions are met.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/intelligent-experiences/add-trigger-aia.html
release: australia
topic_type: task
last_updated: "2026-07-16"
reading_time_minutes: 2
breadcrumb: [Create an AI agent, AI Agent Studio \(legacy\), Enable AI experiences]
---
# Add a trigger to an AI agent
In the guided setup for an AI agent, add triggers to run the AI agent automatically when certain conditions are met.
## Before you begin
Role required: sn\_aia.admin
## About this task
Adding a trigger is optional. If you want your AI agent to be used only in chats, you don't need to add a trigger. Only add a trigger if you want to invoke the AI agent automatically when some event occurs.
**Note:** Triggers contain instance-specific information. If you're moving AI agents or agentic workflows between instances using Update Sets, you must set the triggers to inactive before adding them to the update sets and then activate them on the new instance.
If you don't want to add a trigger, skip to the final step, [Select channels and access](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/channels-access-aia.md).
## Procedure
1. Select **Add trigger**.
2. On the form, fill in the fields.
|Fields|Description|
|------|-----------|
|Select trigger|List of triggers that are available in the instance.|
|Name|Name of the trigger.|
|Trigger objective|Additional user statements or sample utterances that help guide when to trigger this AI agent.|
\[Omitted image "edit-trigger-1.png"\] Alt text: Edit/create a trigger basic description
|
Fields
|
Description
|
|---|
|
Table
|
Name of the applicable table for your AI agent.
|
|
Conditions
|
Conditions that you can add to control the trigger configuration. You must have at least one condition.Select **+ Add condition set** to add conditions to your AI agent trigger.
|
|
Active trigger toggle
|
Only enable the trigger once you’re confident in the execution of your AI agent. Try testing the [AI agent execution](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/test-ai-agent.md) and [user access](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/test-aia-access.md). To review overall trends over many executions, try an [automated evaluation](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/execute-aia-eval.md).
|
\[Omitted image "edit-trigger-2.png"\] Alt text: Define when the trigger occurs section
|
Fields
|
Description
|
|---|
|
Channel
|
Medium for the AI agent output: ServiceNow Otto panel or Virtual Agent.
**Note:** To view the output from a triggered AI agent in the ServiceNow Otto panel, you need the now\_assist\_panel\_user role.
|
|
Show an alert to users
|
Alerts appear in the selected channel.
|
\[Omitted image "edit-trigger-3.png"\] Alt text: Log and launch options for a trigger section
If you choose a scheduled trigger, additional options are available, such as the day of the week and time when you want the trigger to run.
**Note:** When running a scheduled trigger, not every record is included in the execution. By default, the value is 10. If you want to change this number, you must set the **sn\_aia.max\_scheduled\_trigger\_query** system property to a different value.
If you choose an email trigger, the target emails must exist on the Reply \[sys\_email\] table. New emails aren’t available as triggers.
3. Select **Add**.
4. Repeat the preceding steps for additional triggers.
## Result
You have added triggers to your AI agent to run it automatically under the specified conditions.
## What to do next
Select **Save and continue** to move to the final step, [Select channels and access](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/channels-access-aia.md).