{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":24488,"path":"intelligent-experiences/som-order-enrichment-ai-agent.md","title":"Order enrichment AI agent","bundle":null,"doc_type":null,"release":"australia","body":"\n# Order enrichment AI agent\n\nThis Sales Customer Relationship Management agent identifies enrichment tasks for order line items and their children using historic data, confirms the task list with the user, and creates them.\n\n## Workflow\n\n1.  Fetch the details for the given top-level order line item and all its children.\n2.  For each order line item, check for existing historic enrichment tasks. If none exist, identify the available tasks instead.\n3.  Display the proposed tasks grouped by order line item. If rejected, let the user provide their own task list per line item, validate it, and confirm again \\(repeating until satisfied\\).\n4.  Once confirmed, create the enrichment tasks for each order line item.\n5.  Mark the trigger task as closed complete. If no tasks were created, reset all order line item states back to new.\n6.  Display a summary of all steps taken, including created task numbers grouped by order line item, or note that none were created.\n\n<table><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nAllow third party to access this AI agent\n\n</td><td>\n\nWhen 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.\n\n</td></tr><tr><td>\n\nAllow AI specialists to access this AI agent\n\n</td><td>\n\nWhen 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.\n\n</td></tr><tr><td>\n\nManage long-term memory\n\n</td><td>\n\nWhen 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/na-aia-reference.md).\n\n</td></tr><tr><td>\n\nTools\n\n</td><td>\n\n-   **Scripts**\n\nCreate Enrichment Tasks\n\nFetch Top Order Line info.\n\nFind available Enrichment tasks for given specification\n\nFind historic enrichment tasks\n\nUpdate top OLI state back to new.\n\nUpdate Trigger task state.\n\nValidate task names\n\n\n</td></tr><tr><td>\n\nAllowed user roles The specific user roles that can access this AI agent.\n\n</td><td>\n\nsn\\_somt\\_gen\\_ai.sales\\_and\\_order\\_fulfillment\\_ai\\_agent\n\n</td></tr><tr><td>\n\nData access roles The specific user identity roles that determine which data the AI agent can access and what actions it can take.\n\n</td><td>\n\nsn\\_ind\\_tmt\\_orm.order\\_fulfilment\\_agent, sn\\_gaf.data\\_writer\n\n</td></tr><tr><td>\n\nTriggers\n\n</td><td>\n\nOptional. None defined by default. An admin can specify triggers if desired. For more information, see [Add a trigger to an AI agent](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/add-trigger-aia.md).\n\n</td></tr><tr><td>\n\nChannels\n\n</td><td>\n\nNot defined.\n\n</td></tr><tr><td>\n\nUsed in agentic workflows\n\n</td><td>\n\nDefault VA Workflow\n\n</td></tr></tbody>\n</table>Learn more about Sales Customer Relationship Management at [Sales Customer Relationship Management](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/order-management/order-mgt-overview.md).\n\n**Parent Topic:**[Order Management AI agents](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/om-ai-agents-overview.md)\n\n"}}