---
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


---

# Validate the work item and generate stories AI agent

# Validate the work item and generate stories 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 Validate the work item and generate stories AI agent

The Validate the work item and generate stories AI agent in Strategic Portfolio Management automates the transformation of Enterprise Agile Planning work items---such as epics and features---into actionable user stories.
It ensures work items contain sufficient detail by guiding users through a structured validation process, resulting in well-formed user stories ready for execution.
Show full answer Show less  

## Key Features

* **Work Item Validation:** Collects and confirms essential information from the work item, including its number, description, and relevant contextual flags, to ensure completeness before story generation.
* **User Story Generation and Refinement:** Automatically produces user stories based on the validated work item and context. Users can iteratively refine the stories by discarding, combining, splitting, or adjusting elements such as personas and metrics until satisfied.
* **Finalization and Navigation:** Saves the finalized user stories to the system and provides users with a direct navigation link to review them.
* **Configurable Access Controls:** Access to the AI agent can be restricted by user roles (e.g., snapwadvanced.eapuser) and data access roles, ensuring appropriate permissions.
* **Optional Features:**
  * Allow third-party AI agents and AI specialists to access this agent, configurable via the AI Agent configs table.
  * Manage long-term memory to retain previous user interactions as context for the language model, controlled by a system property.
  * Integration with Virtual Agent and ServiceNow Otto panel through Assistant Designer.
  * Support for triggers and agentic workflows to automate story creation processes.

## Practical Benefits for ServiceNow Customers

* Streamlines the creation of actionable user stories from high-level agile planning work items, reducing manual effort and improving consistency.
* Guides users through validation to increase the quality and completeness of input data, which leads to better planning and execution.
* Offers an interactive refinement loop, empowering users to tailor user stories precisely before saving.
* Supports governance and security by enabling role-based access and configurable third-party or specialist agent integrations.
* Enhances integration possibilities within the ServiceNow ecosystem through support for Virtual Agent and Otto AI panels.  
This Strategic Portfolio Management agent transforms Enterprise Agile Planning work items (epics and features) into a set of well-formed, actionable user stories. It evaluates work items to verify that it contains
sufficient information, and guides users through a structured validation process.

## Workflow {#spm-validate-the-work-item-and-generate-stories-ai-agent__zsmdlwierhjt}

1. Collect the work item number, description, and any additional context as needed (based on flags from the system), confirming with the user before saving each piece of information.
2. Produce user stories based on the validated work item and collected context.
3. Display the generated stories and offer refinement options: discard stories, combine or split them, adjust personas or metrics, or add new ones.
4. If the user chooses to refine, apply their changes, re-display the updated stories, and offer the same refine-or-save choice again. This loop continues until the user chooses to save.
5. Save the finalized stories to the system and give the user a navigation link to view them.
{#spm-validate-the-work-item-and-generate-stories-ai-agent__ol_s5w_qly_zjc}  
{#spm-validate-the-work-item-and-generate-stories-ai-agent__zsmdlwierhjt__entry__2}

| Field | Description |
|-|-|
| Allow third party to access this AI agent | When enabled, third-party AI agents can use this agent. This value is off (false) by default. This setting is defined in the AI Agent configs \[sn_aia_agent_config\] table on the External discoverable field. |
| Allow AI specialists to access this AI agent | When enabled, AI specialists can use this agent. This value is off (false) by default. When set to true, more configuration options for tools become available so that an AI specialist can map inputs and response templates to tool outputs. This setting is defined in the AI Agent configs \[sn_aia_agent_config\] table on the Specialist enabled field. |
| Manage long-term memory | When enabled, all previous user interactions are used as context for the LLM. This value is off (false) by default. This setting is defined by the sn_aia.ltm.enable_long_term_memory system property. For more information, see [ServiceNow Otto AI agents reference](https://www.servicenow.com/docs/sa1bdHN6FqAGJmyqCFbo6w "Find more information about user roles, tables, and the different properties that are installed in ServiceNow Otto AI agents."). |
| Tools | Scripts :   Refine Stories :   Save stories :   Validate and Generate Stories |
| Allowed user roles The specific user roles that can access this AI agent. | sn_apw_advanced.eap_user |
| Data access roles The specific user identity roles that determine which data the AI agent can access and what actions it can take. | sn_apw_advanced.eap_user |
| Triggers | Optional. None defined by default. An admin can specify triggers if desired. For more information, see [Add a trigger to an AI agent](https://www.servicenow.com/docs/TTPcY_6jqFaCPLWj8oH1fQ "In the guided setup for an AI agent, add triggers to run the AI agent automatically when certain conditions are met."). |
| Channels | Configure an assistant for Virtual Agent or ServiceNow Otto panel using [Assistant Designer](https://www.servicenow.com/docs/access?context=configure-now-assist-va&version=brazil&pubname=brazil-conversational-interfaces&ft:locale=en-US). |
| Used in agentic workflows | Create stories |
[Table 1. Configuration]

Learn more about Strategic Portfolio Management at [Strategic Portfolio Management](https://www.servicenow.com/docs/access?context=r_ITBusinessManagement&version=brazil&pubname=brazil-it-business-management&ft:locale=en-US).

