# AI data-flow map template

For one AI use case. Fill it in with your DPO, IT or security, and the business owner.

From Cognign Advisory: https://consult.cognign.com/tools/ai-data-flow-map. Free to use and adapt.

## 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

1. Use one map for each AI use case. A new use case on the same tool gets its own map.
2. Fill in the tables in order. Each one builds on the one before.
3. Write "not known" instead of guessing, and add it to the open questions.
4. Review the map when a component, provider, model or region changes.

## 1. The AI use case and owner

What the tool does and who answers for it.

| Field | Answer |
| --- | --- |
| Use case (a short name staff would recognise) |   |
| What it does (one or two sentences, in plain words) |   |
| Business owner (role and name) |   |
| DPO (role and name) |   |
| IT or security lead (role and name) |   |
| Who uses it (teams or roles) |   |
| Stage (planned, pilot or live) |   |
| Map version and date (bump it at each review) |   |

## 2. Data in

Every kind of data the tool receives, including what staff type into it.

- **Data category**: For example documents, prompts, user identity
- **Personal or confidential**: Personal, confidential, both or neither
- **Source**: System or person it comes from
- **Lawful basis**: DPO to fill in
- **Special category**: Yes, no or possible, with a note

| Data category | Personal or confidential | Source | Lawful basis | Special category |
| --- | --- | --- | --- | --- |
|   |   |   |   |   |
|   |   |   |   |   |
|   |   |   |   |   |

## 3. Where each step runs

Follow one question from sign-in to answer. One row for each component it passes through.

- **Step**: What happens
- **Component**: The service or software
- **Provider**: Who supplies it
- **Region**: Cloud region or data centre
- **Who controls it**: Your team, the supplier or a third party

| Step | Component | Provider | Region | Who controls it |
| --- | --- | --- | --- | --- |
|   |   |   |   |   |
|   |   |   |   |   |
|   |   |   |   |   |

## 4. Data out and onward transfers

Everywhere data goes after it enters: subprocessors, model providers, logs, backups and support access.

- **Destination**: Who or what receives it
- **Type**: Subprocessor, model provider, logs, backup, support or other
- **What data**: Which categories from table 2
- **Where**: Region or country
- **Contract or agreement**: DPA, licence or terms that cover it

| Destination | Type | What data | Where | Contract or agreement |
| --- | --- | --- | --- | --- |
|   |   |   |   |   |
|   |   |   |   |   |
|   |   |   |   |   |

## 5. Retention and deletion

One row for each place a copy of the data is kept.

- **Store**: Where a copy is kept
- **What it holds**: Which categories from table 2
- **Kept for**: Period, and who set it
- **How it is deleted**: Automatic, manual or on request
- **Who checks it**: Role

| Store | What it holds | Kept for | How it is deleted | Who checks it |
| --- | --- | --- | --- | --- |
|   |   |   |   |   |
|   |   |   |   |   |
|   |   |   |   |   |

## 6. Access

Everyone who can reach the data or the system, including suppliers.

- **Who**: Role or group
- **What they can reach**: Data and functions
- **How access is granted**: Group, approval or ticket
- **How it is removed**: Leaver process, expiry or manual
- **Logged where**: Which log records it

| Who | What they can reach | How access is granted | How it is removed | Logged where |
| --- | --- | --- | --- | --- |
|   |   |   |   |   |
|   |   |   |   |   |
|   |   |   |   |   |

## 7. Evidence held

The documents that back up the answers above, and where to find them.

- **Evidence**: Logs, DPIA, contracts, registers
- **Where it is held**: System or folder
- **Owner**: Role
- **Last reviewed**: Date

| Evidence | Where it is held | Owner | Last reviewed |
| --- | --- | --- | --- |
|   |   |   |   |
|   |   |   |   |
|   |   |   |   |

## 8. Open questions

Anything marked "not known" above, with an owner and a date.

- **Question**: What is not known yet
- **Raised by**: Role
- **Owner**: Who will answer it
- **Due**: Date
- **Answer**: Fill in when closed

| Question | Raised by | Owner | Due | Answer |
| --- | --- | --- | --- | --- |
|   |   |   |   |   |
|   |   |   |   |   |
|   |   |   |   |   |

## Illustrative example, not a client

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

| Field | Example |
| --- | --- |
| 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 |  |

## Sources

Checked on 2026-11-17.

- [ICO, What do we need to document under Article 30 of the UK GDPR?](https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/accountability-and-governance/documentation/what-do-we-need-to-document-under-article-30-of-the-gdpr/)
- [ICO, When do we need to do a DPIA?](https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/accountability-and-governance/data-protection-impact-assessments-dpias/when-do-we-need-to-do-a-dpia/)

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.
