Data protection and AI tools (UK GDPR)
UK GDPR principles applied to everyday AI use: lawful basis, data minimisation, DPIAs under ICO guidance, and what should never go into a prompt. 9 min
Read
The principles still apply when the tool is new
This is general information, not legal advice. In the UK, personal data is governed by the UK GDPR and the Data Protection Act 2018. The Data (Use and Access) Act 2025 amended parts of the UK GDPR, and the ICO says its AI and DPIA guidance is under review because of it (checked 18 November 2026 on ico.org.uk). Check the ICO site before you rely on any detail.
Article 5 sets out seven principles: lawfulness, fairness and transparency; purpose limitation; data minimisation; accuracy; storage limitation; integrity and confidentiality; and accountability.
Applied to a prompt: only use personal data for a purpose people would expect, put in the least you need, check the output before acting on it, know how long the tool keeps it, use a tool with proper security, and be able to show what you did and why.
Lesson notes: Data protection and AI tools (UK GDPR)
Everything in this lesson as text, for revision or to read without the interactive steps. By the end you will be able to: You check an AI use against UK GDPR, decide whether it needs a DPIA and set clear rules on what stays out of prompts.
Step 1 of 6 · Read
The principles still apply when the tool is new
This is general information, not legal advice. In the UK, personal data is governed by the UK GDPR and the Data Protection Act 2018. The Data (Use and Access) Act 2025 amended parts of the UK GDPR, and the ICO says its AI and DPIA guidance is under review because of it (checked 18 November 2026 on ico.org.uk). Check the ICO site before you rely on any detail.
Article 5 sets out seven principles: lawfulness, fairness and transparency; purpose limitation; data minimisation; accuracy; storage limitation; integrity and confidentiality; and accountability.
Applied to a prompt: only use personal data for a purpose people would expect, put in the least you need, check the output before acting on it, know how long the tool keeps it, use a tool with proper security, and be able to show what you did and why.
Step 2 of 6 · Read
Lawful basis and DPIAs
Lawful basis. The ICO lists seven bases: consent, contract, legal obligation, vital interests, public task, recognised legitimate interest and legitimate interests. You must pick one for each purpose before you start, and write down which and why. Using AI does not give you a new basis, so ask whether this use still fits the purpose you collected the data for.
DPIAs. A data protection impact assessment is required where processing is likely to result in a high risk to people. The ICO lists innovative technology, including AI, as a trigger when combined with another factor such as evaluating people or using sensitive data. Its AI guidance goes further: it says most uses of AI with personal data will be high risk, so a DPIA will usually be needed. It must be done before the processing starts.
If you decide a DPIA is not needed, record why. If you do one, treat it as a live document and revisit it when the use or the tool changes. The ICO also publishes an AI and data protection risk toolkit you can work through.
Step 3 of 6 · Sort
What goes into the prompt?
Assume you have an approved work account. Sort each item.
- A password or API key, so Claude can fix a login script
- A complaint letter that mentions the customer's medical condition, to draft a reply
- Last quarter's sales totals by region
- The full customer list with names and emails, so it can "tidy the formatting"
- Meeting notes with names replaced by roles
- A draft press release before it goes public
Show the answers
- A password or API key, so Claude can fix a login script: Keep it out of the prompt. Credentials never go into a prompt. Use a placeholder, and rotate any key that was ever pasted.
- A complaint letter that mentions the customer's medical condition, to draft a reply: Keep it out of the prompt. Health is special category data under Article 9. Remove it, or only proceed if a DPIA and your data protection lead have approved this use.
- Last quarter's sales totals by region: Fine with care on an approved work account. Business figures with no personal data. Normal confidentiality rules still apply.
- The full customer list with names and emails, so it can "tidy the formatting": Keep it out of the prompt. Fails data minimisation. Ask for a formula or script and run it yourself, or use made-up sample rows.
- Meeting notes with names replaced by roles: Fine with care on an approved work account. Minimised first. The task still works without identifying anyone.
- A draft press release before it goes public: Fine with care on an approved work account. Confidential but not personal. An approved work account is the right place for it.
Step 4 of 6 · Read
Who is responsible: controller and processor
The controller decides why and how personal data is used. The processor handles it on the controller's instructions. When your staff use an AI tool on customer data, your organisation is normally the controller.
For its commercial products (Claude for Work and the Anthropic API), Anthropic says the customer is the controller and Anthropic acts as processor (checked 18 November 2026 on privacy.claude.com). That is one reason work accounts matter: a personal account is a different relationship with different terms.
Special category data under Article 9 needs extra care: racial or ethnic origin, political opinions, religious or philosophical beliefs, trade union membership, genetic data, biometric data used to identify someone, health, and sex life or sexual orientation. Your policy should keep these out of prompts unless a specific, assessed use allows it.
Step 5 of 6 · Quiz
Check your understanding
An office manager wants Claude to spot patterns in staff sickness absence records to plan cover. What should happen first?
- Nothing special, because it is an internal task
- Paste the records into a personal account so the work system is not affected
- Remove surnames and go ahead
- Check the lawful basis and screen for a DPIA before any data goes in, and consider using aggregated counts instead
Show the answer
Check the lawful basis and screen for a DPIA before any data goes in, and consider using aggregated counts instead Health data plus evaluating people points to high risk. Counts per team and week may answer the planning question with no personal data at all.
Step 6 of 6 · Quiz
Check your understanding
Which change best applies data minimisation to a prompt that summarises customer feedback?
- Ask Claude to delete the data after it answers
- Strip names, emails and order numbers before pasting, and keep only the feedback text
- Paste everything but mark it CONFIDENTIAL
Show the answer
Strip names, emails and order numbers before pasting, and keep only the feedback text The summary does not need identities, so leave them out. That is minimisation in practice.