Data Validation Rule Suggestions is a Copilot for the Data Validation Templates. Data validation templates provide a way to specify the rules about data that should be completed on particular tables, such as fields that are mandatory or should be limited to particular values or formats of data. To use Clever Data Validation, you first create a set of templates that define the rules of each table where the data entry should be verified. With Suggest Data Validation Rules assist, instead of doing this task manually, you achieve much of the same—or least as a start—by using words. By expressing the rules you want in natural language, like "name must be mandatory and a minimum of 5 characters" or "Credit Limit must be less than 10,000", Data Validation Rule Suggestions uses AI to generate a suggest set of data validation rules.

Available Languages

This Copilot feature was validated in English only. While it can be used in other languages, it may not function as intended. Language quality may vary based on the user’s interaction or system settings which may impact accuracy and the user experience.

Prerequisites

Data Validation Rule Suggestions capability is activated and you're granted permissions to use it. This task is typically done by an admin. Learn more about configuring Copilot and AI capabilities.

Get Started

  1. Open the data validation template you want to create rules for (or create a new template and specify the Table).

  2. Select Suggest Rules:
  3. In the Suggest Rules with Copilot window, enter a description of the rules you want. This description is known as a prompt.

    Tip: For help in writing a prompt, select Shows the view prompt icon Prompt guide, and choose one of the options to get you started. The text in brackets [ ] is shown only as an example and isn't included in the Copilot window.
  4. Select Generate and then wait while Copilot generates the suggested rules.

  5. Review the Suggested rules:

  6. If you want to change the generated rules by building on the previous instructions or to start from scratch by adding new instructions, select the Shows the edit prompt pencil icon Edit prompt:, add or change the prompt, and then select Generate.

  7. If you want to use the generated rules select Insert to insert the rules into the current data validation template. If you don't want to use the suggested rules, select Cancel.

Prompt Tips and Examples

Creating effective prompts for Copilot is essential to get accurate and relevant data validation rule suggestions. There are also ways to minimise text you add in prompts to make it faster when typing. Here are some tips and guidelines followed by some examples:

  • Be concise and avoid long sentences or multiple sentences.
  • Make sure field names used in prompts are somewhat close to actual field names on the page.
  • Use natural language, expressing the data structure you want in a friendly and conversational manner.
  • If the initial response isn't what you want rephrase the last instruction.
  • Common abbreviations are acceptable.
  • Letter case isn't important.