--- title: Generate a custom data pattern by using ServiceNow Otto for Vault description: Use the generate custom data pattern skill to create a custom regular expression data pattern from your description and add it as an active data pattern to your instance. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/generate-custom-data-pattern-now-assist-vault.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Use generative AI skills, ServiceNow Vault] --- # Generate a custom data pattern by using ServiceNow Otto for Vault Use the generate custom data pattern skill to create a custom regular expression data pattern from your description and add it as an active data pattern to your instance. ## Before you begin - Install ServiceNow Vault. For more information, see [Configuring ServiceNow Vault](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/configuring-servicenow-vault.md). - Ensure that the generate custom data pattern skill is active. For more information, see [Activate an AI skill](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/intelligent-experiences/configure-a-now-assist-skill.md). Role required: sn\_vault\_console.vault\_console\_admin ## About this task This skill improves your efficiency by reducing the time required to understand and write regular expressions. ## Procedure 1. Navigate to **All** > **Vault** > **Vault console**. 2. In the ServiceNow Otto panel, select **Generate custom data pattern** and specify the details. Example prompt: `I need help creating a regex to detect sensitive data for a Netherlands drivers license.` **Parent Topic:**[Use generative AI skills in ServiceNow Otto for Vault](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/using-now-assist-vault.md)