How to Audit Your Candidate Database with Claude or Gemini Before AI Sourcing
Sort every record into ready, ask first, do not use or delete. Our test: both tools copied every sensitive note into the report until we added one line.
- Less legal risk
- Fairer hiring
- Consistent decisions
Sep 22, 2026 · 8 min read

Your candidate database is not a talent pool. Most of it is a pile of promises you made to people years ago, and AI matching will happily break every one of them at scale. Clean it first.
The short answer: export the records with ids instead of names, give an AI assistant your own retention and consent rules, and have it sort every row into four buckets: ready, ask first, do not use, and delete. Tell it to read the free-text notes, because that's where deletion requests and health details hide, and add this line: "for a STRIP NOTE row, name only the type and never repeat the words." In our test, Claude and Gemini both found all 5 records that should already be gone, and both copied every sensitive note into their report until we added one line.
When this is worth an afternoon
Run it before any AI sourcing or matching tool touches old records: a "rediscover past candidates" feature, a bulk match, a re-engagement campaign. Skip it if the tool only sees new applicants to that job. The AI sorts; a person checks and acts.

What leaves the building, and what doesn't
Export the fields that decide whether you may use a record, and nothing else:
- an internal id and a hashed email, so duplicates still match
- country, source, consent field and date, last activity, status
- the recruiter note, because facts hide there
The header we used:
id,country,source,consent_to_keep,consent_date,last_activity,status,email_hash,recruiter_note
Leave out names, phones, CVs and photos. The audit doesn't need them, and a chat window is one more place to leak. Use a business plan whose data isn't used for training.
Teardown: 16 records, one export
We built 16 fictional records, the kind any team has after two ATS migrations:
| What's in the row | Where the problem hides | Right bucket |
|---|---|---|
| A 2019 rejection from the old ATS | the dates | delete |
| A 2023 German applicant who reapplied in 2025 | the same email hash on two rows | delete the old row, keep the new one |
| A LinkedIn-sourced person who never replied, no consent | consent field says "no record" | delete |
| "Emailed asking us to delete all her data" | only in the note | delete |
| Consent withdrawn last month | consent field | delete |
| A finalist referral with blank consent | blank is not yes | ask first |
| A webinar signup who never applied | the source | ask first |
| Someone hired in May | status | do not use |
| Notes saying "pregnant", "medication for depression", "Older candidate, 58" | the note | strip the note |
| Withdrew from the process, consent still yes | status vs consent field | ready or ask first |
| An agency CV, fee terms expired | the note | ready or ask first |
| Unsubscribed from job alerts | only in the note | ask first or do not use |
For the last three, our answer key accepted either bucket: they're judgment calls.
The policy in the prompt was made up for the test (keep 24 months after the last consent or activity). Use your own. No single EU-wide period exists: Recruitee's 2026 GDPR guide cites about four weeks for unsuccessful applicants in the Netherlands and up to two years for talent pools in France in some cases. Your lawyer sets this number, not a chatbot; nothing here is legal advice.
The audit prompt
PERSONA
You are a careful recruiting operations analyst. You help me prepare our candidate database before we run AI matching on it. You do not make legal decisions; you sort records for a human to check.
TASK
Sort every record below into exactly one bucket:
- READY: can go into AI matching (after any note is cleaned)
- ASK FIRST: we need fresh consent or a human decision before using it
- DO NOT USE: keep the record if policy allows, but leave it out of matching and outreach
- DELETE: our own policy says this record should already be gone
CONTEXT
Today is [date]. Our retention policy:
- [your retention rule, for example: we keep a record for 24 months after the later of consent_date and last_activity, unless the candidate gave new consent]
- We use a record for sourcing only if [your consent field] is "yes".
- A deletion request or a withdrawn consent means DELETE, whatever the dates.
- Rows with the same email_hash are the same person. Say which row to keep.
Rules:
- Read the recruiter_note too. Facts that change the bucket can be hidden there.
- Flag any note that holds health, pregnancy, age, religion, family or other sensitive information, and say "STRIP NOTE" whatever the bucket. The note must not go into AI matching.
- If the data does not tell you, write "not enough information". Don't guess.
- Quote the field or note text behind every decision, except sensitive information: for a STRIP NOTE row, name only the type (for example "health" or "age") and never repeat the words.
FORMAT
1. A table: id | bucket | STRIP NOTE? (yes/no) | reason with the quoted field
2. Counts per bucket.
3. A short list "Check these by hand": anything you were unsure about.
DATA (CSV)
[paste the export]
Five deletes found, three notes leaked
The hard part went well. Both tools put all 5 delete rows in DELETE, including the deletion request that lived only in a note. Both caught the duplicate and kept the newer row. Both flagged the same 3 notes to strip. Claude added that the deletion request was about 16 months overdue and that backups and old exports may still hold copies.
Then the trap. Our first prompt said "quote the field behind every decision", with no exception. A script counted: both reports quoted all 3 sensitive notes word for word, and each mentioned the pregnancy three times. The audit meant to remove sensitive data had made a fresh copy of it, in a document someone will save and share. The last line under Rules in the prompt above fixed it in both tools.
3 sensitive notes in the data (pregnancy, health, age). Naming the type, such as 'pregnancy', was allowed.
Source: our test, 16 made-up records, counted by script
Show the data
| Prompt without the never-repeat line | Prompt with it | |
|---|---|---|
| Claude | 3 | 0 |
| Gemini | 3 | 0 |
The judgment calls are where they split. On the first run they disagreed on 3 of 16 records: the candidate who said she'd look again next year (Claude: ready, Gemini: ask first), an agency CV, and someone who unsubscribed from job alerts. On the second run, Claude moved the webinar signup into READY while its own note said there was "not enough information" on whether that consent covers recruiting. Read the "Check these by hand" list, not just the bucket. That's where Claude admitted it didn't know.
After the buckets: two more asks
For every row in DELETE, list every other place a copy could still exist in a normal recruiting setup (old ATS, exports, inboxes, shared drives, backups). Do not invent systems; ask me which ones we use.
For every ASK FIRST row, draft a short, neutral question for my privacy lead. Do not mention anything from a stripped note.
Where this goes wrong
- The note survives elsewhere. Stripping it before matching doesn't remove it from your ATS. Fix the source record too.
- Sensitive facts steer the bucket. In both runs, Gemini held back the candidate who withdrew because of her "intent to return next year", a timing that comes from the same note as her pregnancy. Claude warned that "the timing of any outreach must not be based on what the stripped note says." Treat any delay or follow-up date taken from a stripped note as off limits.
- The policy is invented. The AI applies whatever rules you give it, confidently. Get them from your lawyer.
Next step: once the database is clean, see how to re-engage past candidates and silver medalists, and check what's safe to paste into ChatGPT before you start.
This article is general information, not legal advice. Laws differ by country and change often, so consult your lawyer before you rely on it for your situation.


