AI data-flow map template
Record where the data goes for one AI use case, in 8 tables your DPO fills in with IT or security and the business owner. Use it on this page, print it or download it. No sign-up.
The download is a plain-text Markdown file. It opens in any text editor.
What an AI data-flow map is
A written record of where data goes when one AI tool runs. It covers what goes in, which component handles each step, where that component runs, who controls it, what leaves, how long each copy is kept and who can reach it.
It gives your DPO the facts for two jobs. The first is the entry in your records of processing. Under UK GDPR Article 30, those records include the purposes and the categories of personal data. They also include the recipients, any transfers outside the UK and, where possible, retention periods and a description of security measures. The second is deciding whether a DPIA is needed. The ICO lists innovative technology, including AI, as processing that needs a DPIA when combined with any of the criteria in the European guidelines.
Sources: ICO, What do we need to document under Article 30 of the UK GDPR?; ICO, When do we need to do a DPIA?. Checked on . The ICO says both pages are under review after the Data (Use and Access) Act.
Who fills it in
- DPO
- Lawful basis, special category data, whether a DPIA is needed, and sign-off.
- IT or security
- Components, providers, regions, onward transfers, retention settings, access and logs.
- Business owner
- What the use case does, who uses it, what data staff will put in, and open questions.
How to use it
- Use one map for each AI use case. A new use case on the same tool gets its own map.
- Fill in the tables in order. Each one builds on the one before.
- Write "not known" instead of guessing, and add it to the open questions.
- Review the map when a component, provider, model or region changes.
The template
The first row of each table explains what goes in each column.
1. The AI use case and owner
What the tool does and who answers for it.
| Field | Answer |
|---|---|
| Use caseA short name staff would recognise | |
| What it doesOne or two sentences, in plain words | |
| Business ownerRole and name | |
| DPORole and name | |
| IT or security leadRole and name | |
| Who uses itTeams or roles | |
| StagePlanned, pilot or live | |
| Map version and dateBump it at each review |
2. Data in
Every kind of data the tool receives, including what staff type into it.
| Data category | Personal or confidential | Source | Lawful basis | Special category |
|---|---|---|---|---|
| For example documents, prompts, user identity | Personal, confidential, both or neither | System or person it comes from | DPO to fill in | Yes, no or possible, with a note |
3. Where each step runs
Follow one question from sign-in to answer. One row for each component it passes through.
| Step | Component | Provider | Region | Who controls it |
|---|---|---|---|---|
| What happens | The service or software | Who supplies it | Cloud region or data centre | Your team, the supplier or a third party |
4. Data out and onward transfers
Everywhere data goes after it enters: subprocessors, model providers, logs, backups and support access.
| Destination | Type | What data | Where | Contract or agreement |
|---|---|---|---|---|
| Who or what receives it | Subprocessor, model provider, logs, backup, support or other | Which categories from table 2 | Region or country | DPA, licence or terms that cover it |
5. Retention and deletion
One row for each place a copy of the data is kept.
| Store | What it holds | Kept for | How it is deleted | Who checks it |
|---|---|---|---|---|
| Where a copy is kept | Which categories from table 2 | Period, and who set it | Automatic, manual or on request | Role |
6. Access
Everyone who can reach the data or the system, including suppliers.
| Who | What they can reach | How access is granted | How it is removed | Logged where |
|---|---|---|---|---|
| Role or group | Data and functions | Group, approval or ticket | Leaver process, expiry or manual | Which log records it |
7. Evidence held
The documents that back up the answers above, and where to find them.
| Evidence | Where it is held | Owner | Last reviewed |
|---|---|---|---|
| Logs, DPIA, contracts, registers | System or folder | Role | Date |
8. Open questions
Anything marked "not known" above, with an owner and a date.
| Question | Raised by | Owner | Due | Answer |
|---|---|---|---|---|
| What is not known yet | Role | Who will answer it | Date | Fill in when closed |
Worked example: a policy assistant
An internal assistant that answers staff questions over policy documents, running in the firm's own Azure tenant. The names and settings show the level of detail to aim for. They are not a recommendation.
1. The AI use case and owner
| Use case | Policy assistant |
|---|---|
| What it does | Answers staff questions about internal policies and links each answer to the source paragraph. |
| Business owner | Head of Operations |
| DPO | Data Protection Officer |
| IT or security lead | Head of Cloud Platform |
| Who uses it | Operations and compliance staff |
| Stage | Pilot |
| Map version and date | Version 0.1 |
2. Data in
| Data category | Personal or confidential | Source | Lawful basis | Special category |
|---|---|---|---|---|
| Policy documents | Confidential. Some name policy owners. | SharePoint policy library | DPO to fill in | No |
| Staff questions (prompts) | Personal. May include client details staff type in. | Typed by staff | DPO to fill in | Possible, if staff type it |
| Staff identity | Personal (name, email, user ID) | Microsoft Entra ID sign-in | DPO to fill in | No |
3. Where each step runs
| Step | Component | Provider | Region | Who controls it |
|---|---|---|---|---|
| Sign-in | Microsoft Entra ID | Microsoft | Tenant data location | Firm identity team |
| Index documents | Search index in the firm's Azure subscription | Microsoft | UK South | Firm cloud team |
| Answer the question | Open-weight model on a GPU virtual machine in the firm's subscription | Model from a public model publisher, run by the firm | UK South | Firm cloud team |
| Show the answer | Assistant web app in the firm's subscription | Built for the firm | UK South | Firm cloud team |
| Log the request | Log workspace in the firm's subscription | Microsoft | UK South | Firm security team |
4. Data out and onward transfers
| Destination | Type | What data | Where | Contract or agreement |
|---|---|---|---|---|
| Microsoft Azure | Cloud provider (processor) | All of table 2 | UK South | Firm's existing Microsoft agreement and DPA |
| Model publisher | Model provider | None. Weights are downloaded once and run in the firm's subscription. | Not applicable | Model licence |
| Log workspace | Logs | Prompts, answers, user ID, admin actions | UK South | Firm's existing Microsoft agreement |
| Backup vault | Backup | Search index and app database | UK West | Firm's existing Microsoft agreement |
| Supplier engineers | Support | Only what the firm's accounts allow | Not applicable | Supplier contract, NDA and DPA |
5. Retention and deletion
| Store | What it holds | Kept for | How it is deleted | Who checks it |
|---|---|---|---|---|
| Search index | Document text | Until the source document is removed | Removed at the next re-index | Firm cloud team |
| Chat history | Prompts and answers | 30 days, set by the business owner | Automatic | Firm cloud team |
| Audit logs | Prompts, answers, user ID, admin actions | Per the firm's log retention policy | Automatic | Firm security team |
| Backups | Search index and app database | 35 days | Automatic expiry | Firm cloud team |
6. Access
| Who | What they can reach | How access is granted | How it is removed | Logged where |
|---|---|---|---|---|
| Staff users | Ask questions and see answers with sources | Entra ID group, approved by the business owner | Leaver process removes the group | App audit log |
| Platform admins | Infrastructure and logs | Time-limited admin role, approved per request | Role expires | Entra ID audit log |
| Supplier engineers | Infrastructure only, no chat history | Named accounts the firm creates | The firm disables the accounts | Entra ID sign-in log |
7. Evidence held
| Evidence | Where it is held | Owner | Last reviewed |
|---|---|---|---|
| Audit logs | Log workspace, UK South | Firm security team | Not yet reviewed |
| DPIA reference | DPO's DPIA register | DPO | In progress |
| Contracts (Microsoft agreement, model licence, supplier DPA) | Legal contract store | Legal | To confirm |
| Model and provider register | Compliance team site | IT or security lead | To confirm |
| Record of processing entry | Records of processing | DPO | To add |
8. Open questions
| Question | Raised by | Owner | Due | Answer |
|---|---|---|---|---|
| May staff type client details into questions, and if not, how are they told? | DPO | Business owner | Before go-live | |
| Does the search index respect the document permissions in SharePoint? | IT or security lead | Firm cloud team | Before go-live | |
| Is a DPIA needed for this use case? | Business owner | DPO | Before go-live |
General information, not legal advice. Filling in this map does not make a tool compliant. Your DPO decides, with the evidence in front of them.
Start with a 15-minute call
The sovereign AI assessment takes about 2 weeks. It ends with a map of where each piece of data goes and where it stays, a deployment plan for your cloud or servers and a first draft of the evidence your DPO and regulator will ask for. It is yours to keep. If an enterprise AI subscription would meet your rules, we say so.
See how the sovereign AI assessment works, or check one AI tool with our 12-question checklist.
