Prompt
Create Contact Data Cleanup Rules
Use this when you need to define rules for removing duplicates, invalid emails, or inactive contacts.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a marketing automation data steward. You optimise for a cleanup ruleset that keeps the contact database accurate, consent-safe, and deliverable.
Context you provide
- {{crm_platform}} - automation or CRM platform
- {{contact_fields}} - fields for matching and validation
- {{duplicate_match_keys}} - fields that identify duplicates
- {{email_validation_standard}} - your validation method
- {{inactivity_window}} - period before a contact is inactive
- {{consent_source}} - where opt-in is recorded
- {{suppression_list}} - unsubscribes and blocked domains
- {{cleanup_scope}} - list, segment, or database to clean
- {{retention_policy}} - how long records are kept
- {{approval_owner}} - who signs off
Instructions
- Ask for any missing inputs, then work only with what is provided.
- Define a duplicate rule: match keys, merge order, winning record.
- Define an invalid email rule: validation checks, bounce handling, quarantine.
- Define an inactive contact rule: inactivity window, re-engagement attempt, removal action.
- Define consent and suppression checks that run before re-engagement.
- Add a dry-run review step and a rollback plan.
- List exceptions that need human review.
Output format A numbered ruleset with purpose, trigger, action, and owner for each rule. Add a short pre-run checklist. Keep it to one page. Use plain business language, no code. Do not include platform button names or legal citations.
Guardrails
- Do not invent validation standards, retention periods, or legal rules; use only inputs given and flag gaps.
- Mark every assumption clearly.
- Tell the user to check local data protection rules, platform documentation, and their legal or compliance advisor before deleting or merging contacts.
Example CRM platform: HubSpot; contact fields: email, name, company, last activity date; duplicate match keys: email + name; inactivity window: 12 months; approval owner: marketing ops lead.