--- title: Exchange online integration handling AI agent description: This Security Incident Response agent searches for and deletes emails related to a security incident. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/intelligent-experiences/sir-exchange-online-integration-handling-ai-agent.html release: australia topic_type: reference last_updated: "2026-08-14" reading_time_minutes: 2 breadcrumb: [Security Incident Response AI agents, Security Incident Response, AI agents library, AI assets, Enable AI experiences] --- # Exchange online integration handling AI agent This Security Incident Response agent searches for and deletes emails related to a security incident. ## Workflow 1. Run an email search based on the incident context. If no search criteria exist, ask the user how to proceed. Wait for user confirmation that the search is complete before fetching results. 2. Only available after a search has been performed. If the search returned no emails, stop. Otherwise, run the deletion, wait for user confirmation that it is complete, and fetch results.
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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/na-aia-reference.md).
Tools - **Script** Delete email from server Fetch email deletion results Fetch email search results Search email on server
Allowed user roles The specific user roles that can access this AI agent. sn\_si.analyst
Data access roles The specific user identity roles that determine which data the AI agent can access and what actions it can take. sn\_si.analyst
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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/add-trigger-aia.md).
Channels Enable the AI agent for the ServiceNow Otto panel.
Used in agentic workflows Resolve security incident
Learn more about Security Incident Response at . **Parent Topic:**[Security Incident Response AI agents](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/sir-ai-agents-overview.md)