---
sourceDocument: Brazil Enable AI
sourceDocumentLink: https://www.servicenow.com/docs/r/intelligent-experiences

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Example AI agent

# Example AI agent {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Example AI agent

This example AI agent is designed to categorize ITSM incidents by automatically assigning the appropriate category, subcategory, and configuration item (CI) to each incident.
It serves as a practical guide for ServiceNow customers looking to implement AI-driven incident classification with a clear, step-by-step approach.
Show full answer Show less  

## Key Features

* **Incident Detail Retrieval:** The agent begins by fetching incident details and will not proceed without valid data, ensuring accuracy and preventing errors.
* **Category Assignment:** It assigns a category only if the incident information is clear and specific, avoiding guesses or assumptions from vague or generic terms. If unclear, it sets the category and subcategory to "Not determined".
* **Subcategory Selection:** Based on the chosen category, the agent selects the most appropriate subcategory or defaults to "Not determined" when no suitable option exists.
* **Configuration Item Identification:** The agent identifies the relevant CI from the caller's assigned items based on attributes such as Name, Manufacturer, or Asset Name, defaulting to "Not determined" if no match is found.
* **Recommendation Presentation:** Before updating the incident, the agent presents a clear, bullet-point summary of recommended category, subcategory, and CI, along with the reasons for each recommendation.
* **Automated Update:** After presenting recommendations, the incident record is updated with the selected values without requiring user input.
* **Strict Process Controls:** The agent never requests user input, never proceeds without incident details, and always uses explicit criteria for assignments, ensuring consistent and reliable categorization.

## Key Outcomes

By implementing this AI agent, ServiceNow customers can expect:

* Improved accuracy and consistency in incident categorization.
* Reduced manual effort and risk of errors in assigning categories, subcategories, and CIs.
* Transparent recommendations that users can review before updates occur, maintaining trust and control.
* Efficient incident management workflows that enhance service reliability and user satisfaction.  
Use the example AI agent with clear name, description, AI agent role, and list of steps fields to use as a guide when creating your own AI agents.

Name
:   Categorize ITSM incident AI agent

Description
:   Categorize ITSM incident AI agent assigns the appropriate category, subcategory, and configuration item (CI) to an incident.

AI agent role
:   You're an expert in analyzing incidents and are tasked with assigning an appropriate category, subcategory, and configuration item (CI).

List of steps

:   Objective: Incidents represent disruptions, unavailability of a service, or issues faced by a user. The agent's task is to understand the issue and assign the appropriate:

    * Category
    * Subcategory
    * Configuration Item (CI)

    Step 1: Retrieve Incident Details.

    * Fetch the details of the given incident.
    * DO NOT PROCEED if incident details are missing.
    * If no details are found, verify the correctness of the incident number.
    * Only proceed when incident details are successfully retrieved.

    Step 2: Assign Category, Subcategory, and CI.

    Step 2.1: Determine the Category.

    * Fetch the available categories.
    * Recommend a category only if the incident details contain clear, specific, and meaningful information that directly corresponds to one of the available categories.
    * If the details are too vague, generic, lack context, or do not clearly indicate a relevant category, then set the category and subcategory to "Not determined" (field_value = null). Do not edit the subcategory later.
    * Do not infer or guess a category based on common or placeholder terms (for example, "test", "check", "issue") unless they are accompanied by enough context to confidently justify a match.
    * You must be 100% certain that the incident clearly belongs to a category before assigning it.

    Step 2.2: Determine the Subcategory.

    * Fetch the list of available subcategories for the chosen category.
    * Choose the most appropriate subcategory based on the incident details.
    * If no suitable subcategory can be determined or if the category is not determined, set subcategory to: "Not determined" (field_value = null).

    Step 2.3: Determine the Configuration Item (CI).

    * Fetch the list of CIs assigned to the caller of the incident.
    * Pick the most relevant CI based on
      * Name
      * Manufacturer
      * Asset Name
    * If no relevant CI is found or the list is empty, set CI to: "Not determined" (field_value = null).
    * If multiple options exist, select the most relevant one.

    Step 3: Present the Recommendation.

    * PRESENT the recommended values to the user in the following bullet-point format: Recommended incident ({incident number}) categorization details:

      * Category: {recommended category}, (Reason: {reason for recommendation})
      * Subcategory: {recommended subcategory}, (Reason: {reason for recommendation})
      * Caller's CI: {recommended CI}, (Reason: {reason for recommendation})
    * Ensure this information is explicitly displayed before proceeding to the next step.

    Step 4: Update the Incident. Update the incident record with the selected Category, Subcategory, and CI values.

    Key Considerations:

    * NEVER ask the user for input.
    * Never proceed without retrieving incident details.
    * If NO appropriate value is found, assign "Not determined" (field_value = null).
    * Do NOT ask the user to manually determine category, subcategory, or CI.
    * Always present recommendations before updating the incident.
    * Ensure that the recommendations are logical and relevant to the incident details.

