A prompt classifier can help route or redact inputs, but it cannot determine legal compliance by assigning a label. A prompt mentioning a loan or diagnosis is not automatically a prohibited automated decision. Start with how the service processes identifiable information and what decisions it actually makes.
Build a prompt classification and action record
Map the Prompt Data Flow
List collection, classification, model inference, logging, support access, analytics and training as separate stages. Identify what information each vendor receives and whether prompts, outputs and labels remain linked to a person. A classifier’s own records may contain personal data.
Record purposes, retention, access, recipients and relevant locations. Minimize information sent to external services. Redaction should occur before the intended disclosure when feasible; copying the full prompt to a separate screening provider can create another disclosure to assess.
Pseudonymous identifiers and embeddings are not automatically anonymous. The EDPB AI-model opinion overview explains that anonymity and lawful processing need a case-specific assessment.
Apply the Correct Legal Question
Under the EU GDPR, personal-data processing needs an appropriate lawful basis. Special-category data may require an additional Article 9 condition. Consent is not the only possible basis, and typing information into a box does not establish every required form of consent.
Article 22 concerns decisions based solely on automated processing that produce legal or similarly significant effects, subject to its exceptions and safeguards. It is not a general ban on automated prompt sorting or every AI-generated suggestion.
Examine the practical downstream effect. A label that only sends a support request to a queue differs from a score that determines credit access. Adding a nominal reviewer does not necessarily create meaningful human involvement. Consult the EDPB-endorsed automated-decision guidance for the relevant assessment.
Test Errors Before Using Classifications as Controls
Build a test set reflecting supported languages, spelling variation, indirect disclosures and normal product use. Measure false negatives, false positives and downstream harm separately. “Sensitive data detected” is a technical signal, not a final legal conclusion.
Illustrative test: among 200 prompts containing the targeted data, the classifier flags 180 and misses 20. That is 90% recall for that test set. It says nothing about false alarms among other prompts or performance in a different population. Review the misses before deciding the control is adequate.
Define the response to each signal: redact, request less information, block a particular workflow or send it for authorized review. Avoid automatically denying a service merely because the classifier is uncertain. Keep review capacity and correction procedures proportionate to the use.
Evaluate the Vendor Contract and Operational Cost
- Identify controller and processor roles, permitted purposes and any separate training use.
- Review subprocessors, security, international transfers and incident cooperation.
- Confirm deletion, export, access controls and support for applicable individual rights.
- Budget testing, review staff, integration, latency and recurring usage charges.
A security certification is not a GDPR compliance certificate. Ask for evidence covering the service and configuration you will use. Where processing is likely to create high risk, assess the need for a data protection impact assessment with qualified privacy staff.
For example, 100 daily false-positive referrals requiring three minutes each create five hours of review work. Include this in the pilot budget rather than comparing subscription prices alone. For employment use, see workplace AI and accommodation checks.
Last reviewed: November 15, 2026. General information; individual circumstances, laws and contract terms vary.
Create a prompt classification and action record
Start with one real workflow, such as routing customer support requests. Write down the input, classification label and resulting action as separate facts. A label called “financial” tells you little about whether a person receives a loan, is sent to a help page or is simply assigned a support queue. Review the deployed behavior rather than the product name.
Use the following worksheet for each material workflow. Store evidence in an access-controlled system; this is a record structure, not a request to copy identifiable prompts into an unrestricted spreadsheet.
| Record field | What to document | Evidence to inspect |
|---|---|---|
| Purpose and people affected | Why classification is necessary, who submits information and whose information may appear | Product flow, notice and privacy assessment |
| Input and recipients | Raw text, attachments, identifiers, labels and embeddings sent at each stage | Request schema and a safely prepared trace |
| Action following a label | Queue assignment, redaction, temporary hold, escalation or another downstream use | Rules, integration settings and observed result |
| Retention and access | Separate periods for prompts, outputs, security logs, support tickets and backups | Configuration, permissions and deletion test |
| Reviewer and correction path | Who can change the result, what evidence they see and how the user can raise an error | Review screen, authority and completed test case |
| Version and owner | Classifier version, thresholds, prompt template, policy version and accountable owner | Release record and change history |
Include the classification provider itself in the map. Redacting text before sending it to a language model does not erase the earlier disclosure if an external classifier already received the full text. Consider whether a local rule, less detailed input or different architecture can achieve the purpose with less exposure. A local tool still needs appropriate access and retention controls.
Distinguish production traffic from development and support use. A developer copying a failed prompt into a ticket, an observability tool capturing request bodies or a vendor retaining samples for troubleshooting can create a different data flow from the main API request. Test these paths before relying on a promise that prompts are “not stored.”
Separate the three decisions in your review
- Technical decision: what did the classifier detect and how reliable is that detection for this use?
- Processing decision: what purposes, lawful basis, conditions and safeguards apply to the information being processed?
- Service decision: what happens to the person because of the label, and who has authority to change that outcome?
A classifier can support the first question. It does not settle the other two. In particular, an inferred health label may itself create information requiring assessment even when the original message avoids a diagnosis. A “no sensitive data” label should not bypass every privacy check.
Test missed detections, false alarms and the review queue
Define the target before calculating an accuracy number. Detecting explicitly stated account numbers, inferring health information and identifying a prohibited product request are different tasks. Keep test labels and acceptance criteria specific. Use appropriately authorized test material and protect any personal data in the test set.
Hypothetical acceptance test: 1,000 test prompts contain 200 examples of the targeted information and 800 other examples. The classifier flags 180 of the 200 targeted examples and incorrectly flags 80 of the others.
| Result | Calculation | Meaning for this test |
|---|---|---|
| Recall | 180 / 200 = 90% | Twenty targeted examples were missed |
| Precision | 180 / 260 = 69.23% | Of the flagged examples, 80 were false alarms |
| False-positive rate | 80 / 800 = 10% | One tenth of the other examples were incorrectly flagged |
| Overall accuracy | (180 + 720) / 1,000 = 90% | This combined figure hides the difference between misses and false alarms |
These percentages are arithmetic illustrations, not recommended thresholds or a compliance finding. Production precision can change when the prevalence of the target changes. Report the test population, languages, version and sampling limits alongside the numbers. Avoid treating an unsupported language as a clean result simply because nothing was detected.
Inspect error consequences individually. Missing a disclosure may expose information; a false alarm may delay a legitimate request or send unnecessary personal data to a reviewer. Measure latency, abandoned requests and repeated referrals as well as the model metric. Break out critical categories instead of letting many easy examples conceal an important failure.
Translate referrals into staffing and cost
Suppose a pilot generates 100 false-positive referrals a day. At three minutes each, those false alarms alone require 300 minutes, or five hours, of review. At an illustrative loaded labor cost of $40 an hour, that is $200 a day. Across 20 operating days, it is $4,000. This excludes review of genuine detections, quality checks and appeals unless those activities are already included in the time estimate.
If the service also costs $600 a month and integration monitoring takes five additional hours at $80 an hour, the illustrated monthly total is $5,000: $4,000 + $600 + $400. Do not add review time again if the subscription already includes that same labor. Compare the full workflow with the actual baseline; routing more messages to people is not automatically a saving.
Set a queue owner, response target and overload rule before release. Test what happens when the reviewer is unavailable, the classifier times out or the vendor returns an unknown label. A timeout should have its own visible state. Quietly treating it as “safe” can turn a temporary outage into an undetected disclosure path.
Verify vendor evidence and approve a limited release
A supplier questionnaire should produce verifiable answers for the service you are buying. Ask which legal entity provides each activity, where information is processed, which subprocessors participate and how changes are communicated. The EDPB’s 2024 processor opinion overview emphasizes information about the processing chain and verification proportionate to risk. A vendor’s involvement does not remove the controller’s responsibility to assess its arrangement.
Review EDPB Guidelines 07/2020 on controller and processor roles with the actual purposes and decisions in mind. A contractual label alone does not resolve the factual role. Separate processing on customer instructions from any vendor use for its own purposes, including model improvement, where relevant.
- Contract and instructions: identify permitted activities, confidentiality, incident assistance and the process for additional instructions.
- Processing chain: retain current supplier identities, approved subprocessors, locations and applicable transfer documentation.
- Operational evidence: test role restrictions, logging behavior, export and deletion against the selected plan and configuration.
- Use restrictions: confirm whether training, evaluation, human support access and abuse monitoring use the same data under different settings.
- Exit: identify what can be exported, what is deleted, any retained exceptions and how access ends when the contract terminates.
The EDPB’s October 2024 explanation of processor obligations also distinguishes maintaining oversight from automatically demanding every subcontract. Ask for evidence that answers the risk in your arrangement; a large document bundle without a clear processing map is not a substitute.
Test meaningful review in practice
Where the workflow calls for human judgment, give the reviewer enough information, time and authority to reconsider the result. A preselected approval button or a reviewer who cannot change the outcome may not resolve concerns about solely automated significant decisions. Test a deliberately incorrect label and record whether the reviewer can identify and correct the resulting action before it affects the person.
Use a narrow initial release: named workflow, approved data categories, supported languages, fixed configuration and monitored volume. Record unresolved issues, the person accepting each operational risk and the condition that pauses the rollout. A model update, new downstream decision or new recipient can require renewed assessment even when the API endpoint stays the same.
Questions buyers often miss
Does a consent checkbox solve the problem? No. Identify the processing purpose and applicable legal requirements first. A generic checkbox does not establish that every use, disclosure or significant automated decision is permitted.
Does an EU hosting region settle international transfers? Do not infer the complete processing chain from the primary storage region. Check support access, subprocessors and other relevant processing locations and assess the applicable transfer requirements.
Can we publish a “GDPR compliant” accuracy score? A detection score measures a defined technical task. Describe its test conditions and limits. Assess legal and operational requirements separately, and avoid presenting a benchmark as approval of every customer use.
What belongs in the release evidence? Keep the approved flow map, applicable privacy assessment, contract references, test results, configuration, reviewer instructions, rollback route and next review trigger together. Link to protected evidence rather than duplicating raw prompts unnecessarily.
Source check: November 15, 2026. The linked EDPB guidance supports the legal distinctions; the worksheets, test figures and costs above are illustrative implementation aids, not official forms or legal thresholds.
