--- title: Include advanced contextual search results in Auto-Responder notifications description: Use scripted extension points to include the advanced contextual search results in email notifications for content suggested by the Auto-Responder feature. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/customer-service-management/use-extension-point-auto-responder.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Configure Auto-Responder notifications, Machine learning solutions, Implement Intelligence, Configure, Customer Service Management] --- # Include advanced contextual search results in Auto-Responder notifications Use scripted extension points to include the advanced contextual search results in email notifications for content suggested by the Auto-Responder feature. ## Before you begin Role required: admin - Activate the Predictive Intelligence for Customer Service Management plugin \(com.snc.csm\_ml\). For more information, see [Activate a plugin](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/t_ActivateAPlugin.md) and [Predictive Intelligence for CSM solution definitions](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/customer-service-management/predictive-intelligence-for-csm.md). - Set the application scope to Email Notification Script for Contextual Search Results. For more information, see [Application picker](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/application-development/c_ApplicationPicker.md). ## About this task The Email Notification Script for Contextual Search Results plugin \(com.snc.adv\_cxs\_results\_email\_script\) installs the csm\_AdvancedEmailSearchResults script, CSMAdvancedEmailSearchResults script include and CSMAdvancedEmailSearchResultsExtensionPoint extension points. The csm\_AdvancedEmailSearchResults script is preconfigured for the customer service portal and consumer service portal. Using extension points makes it easier to integrate customizations without actually altering the base code. You can extend standard base functionality using customized scripts. For more information, see [Using extension points to extend application functionality](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/api-reference/web-services/extension-points.md). An implementation is available in the base system for scripted extension points. You can modify the data and add additional fields. ## Procedure 1. Navigate to **All** > **System Extension Points** > **Scripted Extension Points**. 2. In the **API Name** column, search for and click **sn\_adv\_emailscript.CSMAdvancedEmailSearchResultsExtensionPoint**. 3. On the Extension Point form, select a script include to use the CSMAdvancedEmailSearchResultsExtensionPoint extension points. - Modify the existing script by going to the Implementations related list and clicking **CaseAutoresponder**. - Create and register a custom script include. For more information, see [Registering custom script includes against the scripted extension points](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/customer-service-management/impl-scripted-ext-pts-custom-code.md). 4. Modify the script to use the extension points available through the CSMAdvancedEmailSearchResults script include. You can create multiple implementations for each extension point and provide an order number for each implementation. The implementation that has the lowest order number is executed first.
| Configuration | Implementation |
|---|---|
| Include a custom portal and search for knowledge articles from the knowledge base associated with the custom portal.**Note:** Applies only to tasks other than customer service cases. | Modify the updateSearchRequestConfig extension point to include the custom portal for your tasks other than customer service cases. |
| Filter out the content by the duration of the last viewed content. | Modify the getViewedContent extension point by entering the last viewed content duration in days.**Note:** By default, any knowledge articles viewed in the last 30 days by the user are not included in the email notification. |
| Define the layout of the email notifications. | Modify the printSearchResults extension point to specify a custom layout for the Auto-Responder email notifications. |