Browse AI Workflows & Automation Section 3: Data Processing

Data Validation Prompt

6 fill-in slots · from The AI Prompt Handbook for AI Workflows & Automation

Your details

0/6 filled

Data Validation Prompt

Validate this data against requirements:

DATA TO VALIDATE:
[The data]

VALIDATION RULES:
1. [Rule 1: e.g., "email must be valid format"]
2. [Rule 2: e.g., "age must be 18-120"]
3. [Rule 3: e.g., "required fields: name, email"]
4. [Rule 4: e.g., "date must be in future"]

OUTPUT FORMAT:
{
  "is_valid": true | false,
  "errors": [
    {
      "field": "field_name",
      "rule": "rule_name",
      "message": "Human-readable error",
      "severity": "error" | "warning"
    }
  ],
  "warnings": [...],
  "validated_data": { ... } // cleaned version if valid
}

VALIDATION BEHAVIOR:
- Check ALL rules, don't stop at first error
- Distinguish errors (blocking) from warnings (informational)
- Attempt to auto-correct minor issues and flag them

Highlighted [slots] are still empty. Downloads are plain .txt — paste into any AI assistant.