Your legal team just approved using AI to process customer support tickets. You're about to paste the first batch of emails into ChatGPT when you remember: those emails contain names, account numbers, and complaint details. You're now sending personal data to an AI system, and GDPR applies.
Every prompt containing a customer name, every input file with employee records, and every API call with user data triggers GDPR obligations. Whether you're a controller or processor depends on your discretion in selecting the AI, deciding what data goes in, and setting retention conditions. Most internal AI use cases make you the controller.
Here's how to implement GDPR-compliant AI workflows before your first prompt goes live.
The Problem: Why This Matters Now
Including personal data in AI prompts means you're processing that data under GDPR. The regulation doesn't distinguish between "just asking a question" and running a formal data pipeline. If the prompt contains "summarize these ten customer complaints" and those complaints include names and contact details, you've triggered Articles 5, 6, 12-17, 28, 30, 35, and 44-50.
Controllers must identify a lawful basis under Article 6 before processing starts. You'll likely rely on either user consent or your legitimate interest, but you can't decide that retroactively. You also can't assume the AI vendor handles GDPR compliance for you. If you control what data goes into the prompt and how the AI processes it, you're the controller.
What You Need Before Starting
Legal groundwork:
- Documented lawful basis for processing (Article 6). For internal efficiency tools, legitimate interest is common; for customer-facing AI features, you'll likely need consent.
- Updated privacy notice disclosing AI processing, data types, retention periods, and third-party hosting (Articles 12-14).
- Vendor contract with processor clauses if using third-party-hosted AI (Article 28).
Technical inventory:
- List of AI tools your teams currently use (ChatGPT, Claude, internal LLMs, API-based summarization services).
- Data classification showing which datasets contain personal information.
- Cross-border data flow map if your AI provider hosts outside the EEA (Articles 44-50).
Process documentation:
- Record of processing activities template covering AI use cases (Article 30). Include: data categories processed, individuals affected, processing purpose, retention limits, and any restrictions on the AI's use or retention of data.
- Data protection impact assessment (DPIA) framework for high-risk AI deployments (Article 35). You'll need this if you're using new technologies likely to result in high risk to individuals.
Step-by-Step Implementation
Step 1: Classify your AI use cases by data exposure
Create a matrix:
- No personal data: Market research summaries, public dataset analysis. No GDPR trigger.
- Incidental personal data: Prompts occasionally include names or roles. Low-risk controller obligations.
- Systematic personal data processing: Customer service automation, HR screening, medical record summarization. Full controller obligations apply.
Document each use case in your Article 30 records. Specify the data categories (names, email addresses, complaint text), the individuals affected (customers, employees), and the purpose (efficiency improvement, automated triage).
Step 2: Implement data minimization controls
Before any prompt goes live, configure technical guardrails:
- Redact identifiers in preprocessing scripts. Replace names with "Customer A," strip email addresses, remove account numbers unless essential to the task.
- Set input field character limits to prevent bulk data dumps.
- Disable prompt logging where possible. If the AI vendor retains prompts for model training, negotiate opt-out clauses in your processor agreement.
- Define retention windows. Personal data in prompts should be deleted after processing completes, not retained indefinitely in the AI's accessible dataset.
Data minimization (Article 5(1)(c) and (e)) requires you to limit both the type of data and how long it remains identifiable. If you're asking the AI to summarize ten customer complaints, you don't need to include full postal addresses.
Step 3: Configure access, correction, and erasure workflows
Your GDPR obligations don't end when the prompt completes. Individuals can request:
- Access (Article 15): Copies of any personal data you processed via AI, including prompt logs.
- Correction (Article 16): Fixes to inaccurate data in prompts or training datasets. Some supervisory authorities expect you to build online tools for this if you're processing publicly sourced data.
- Erasure (Article 17): Deletion of their data from prompt logs and any datasets the AI can access for future training.
Set up:
- Prompt log retention policies with automated deletion after 30-90 days (or justify longer retention).
- Search capability across prompt archives so you can respond to access requests.
- Deletion procedures that cover both your internal logs and any data retained by the AI vendor. Your Article 28 processor contract should guarantee vendor cooperation.
Step 4: Update your privacy notice
Your existing privacy notice likely doesn't mention AI. Add a section covering:
- That you process personal data using AI tools.
- The types of data involved (customer inquiries, employee performance reviews, etc.).
- The purpose (operational efficiency, automated summaries).
- The lawful basis (legitimate interest or consent).
- Retention periods for prompts and outputs.
- Third-party hosting details if applicable.
- How individuals can exercise their rights (access, correction, erasure, withdrawal of consent under Article 7(3), or objection under Article 21).
If you're processing publicly sourced data, like scraping LinkedIn profiles for recruitment AI, some supervisory authorities suggest informing the public via mass media about the scraping and how to find your privacy notice.
Step 5: Conduct a DPIA for high-risk deployments
Article 35 requires a DPIA when using new technologies likely to result in high risk. AI-driven profiling, automated decision-making, or large-scale processing of sensitive categories typically qualify.
Your DPIA should assess:
- What personal data the AI will process and why.
- Risks to individuals (incorrect outputs, data leakage to other users, unauthorized retention).
- Mitigation measures (access controls, redaction, vendor security audits).
- Whether the residual risk is acceptable.
If the DPIA reveals high residual risk, consult your supervisory authority before proceeding.
Validation: How to Verify It Works
Test your data minimization controls:
- Submit a test prompt containing full personal data. Verify that your preprocessing script redacts identifiers before transmission.
- Check prompt logs. Confirm that personal data isn't retained longer than your documented retention period.
Audit vendor compliance:
- Request evidence that your AI provider deletes prompts on your defined schedule.
- Verify that your processor agreement includes the Article 28 mandatory clauses (processing instructions, confidentiality, subprocessor notification, deletion assistance).
Simulate a data subject request:
- Pick a real individual whose data you've processed via AI.
- Execute an access request. Can you retrieve their data from prompt logs within 30 days?
- Execute an erasure request. Can you confirm deletion from both your systems and the vendor's?
Maintenance and Ongoing Tasks
Quarterly:
- Review your Article 30 records. Add new AI use cases as teams adopt tools.
- Audit prompt logs for retention compliance. Delete logs older than your defined period.
Annually:
- Re-assess your lawful basis. If you initially relied on legitimate interest, confirm it's still balanced against individual rights.
- Update your DPIA if AI usage expands to new data categories or higher-risk applications.
- Review vendor processor agreements. Confirm they still cover all AI tools in use.
Ad hoc:
- When a new AI tool launches internally, classify it (no personal data / incidental / systematic) and document it in your records before rollout.
- When individuals withdraw consent or object to processing (Articles 7(3) and 21), delete their data from prompt logs and accessible datasets. The right to withdraw doesn't retroactively invalidate historical prompts, but it stops future use.
Your first AI prompt containing personal data isn't a one-time compliance check. It's the start of an ongoing processing activity that GDPR regulates from input to deletion. Build the controls now, before your prompt logs become an audit liability.





