{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":24458,"path":"intelligent-experiences/sfa-opportunity-ai-agent.md","title":"Opportunity AI agent","bundle":null,"doc_type":null,"release":"australia","body":"\n# Opportunity AI agent\n\nThis AI agent helps sales agents read, create, update, and summarize opportunities and their related records, such as accounts, contacts, touchpoints, opportunity tasks, line items, and meetings. It previews changes to opportunities, accounts, contacts, and line items and makes them only after the user approves.\n\n## Workflow\n\nThe agent helps sales agents manage opportunities and their related records through natural-language requests.\n\n1.  Identify the action the user wants to take and the record it applies to, and ask a clarifying question if the request is unclear or not supported.\n2.  Use the record the user names, or the record open in the workspace if the user doesn't name one.\n3.  Retrieve and present the matching records or an opportunity summary, showing the first 10 results when more exist.\n4.  When creating an opportunity, help the user choose a sales cycle type and a stage that belongs to it.\n5.  Preview changes to opportunities, accounts, contacts, and line items, and apply them only after the user approves.\n6.  Apply changes to touchpoints, opportunity tasks, competitors, associated contacts, and meetings directly, and confirm removal of a competitor or line item before deleting it.\n7.  Report the result, including the reason for any failure, and suggest up to three next steps the user can take.\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\nOpportunity Create\n\nOpportunity Delete\n\nOpportunity Lookup\n\nOpportunity Update\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\n-   sn\\_sales\\_common.sales\\_agent\n-   sn\\_sales\\_common.sales\\_restricted\\_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\n-   sn\\_sales\\_common.sales\\_agent\n-   sn\\_sales\\_common.sales\\_restricted\\_agent\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\nEnable the AI agent for the ServiceNow Otto panel.\n\n</td></tr><tr><td>\n\nUsed in agentic workflows\n\n</td><td>\n\nOpportunity Agentic Workflow\n\n</td></tr></tbody>\n</table>Learn more about Opportunity Management at [Opportunity Management](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/order-management/opportunity-management.md).\n\n**Parent Topic:**[Sales Automation AI agents](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/sales-automation-ai-agents-overview.md)\n\n"}}