# Handle GDPR data subject requests with Microsoft Graph: n8n workflow

> Started by another system calling it, and works across Excel and Outlook. It hands the judgement calls to a local model.

Source: https://millionrounds.com/workflow/handle-gdpr-data-subject-requests-with-microsoft-graph (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Data collection](https://millionrounds.com/workflows?category=Data+collection#library)

# Handle GDPR data subject requests with Microsoft Graph

Started by another system calling it, and works across Excel and Outlook. It hands the judgement calls to a local model. 20 steps, 1 loop or waits: a working afternoon to understand properly.

Medium Calls a model: a local model

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fhandle-gdpr-data-subject-requests-with-microsoft-graph)

**20 steps** Medium: a working afternoon

**0** Branches: places the flow splits

**1** Loop or waits

**2** Services it connects to

## The flow

Starts it 2 Model 2 Logic 8 Service 8

The steps in the order they run, from what starts it.

- 1 **DSAR Webhook Trigger** Webhook *Starts it*
- 2 **Ollama Model** Lm Ollama *Model*
- 3 **Validate and Prepare DSAR** Code *Logic*
- 4 **Generate Cover Letter (Basic LLM Chain)** Chain Llm *Model*
- 5 **Create eDiscovery Case** Http Request *Service*
- 6 **Search SharePoint + OneDrive** Microsoft Share Point *Service*
- 7 **Build GDPR Report Document** Code *Logic*
- 8 **Create eDiscovery Search (All Mailboxes)** Http Request *Service*
- 9 **Merge Email + SP Results** Merge *Logic*
- 10 **Convert Report to Binary** Code *Logic*
- 11 **Trigger Statistics Estimate** Http Request *Service*
- 12 **Aggregate and Sanitize Results** Code *Logic*
- 13 **Archive Report to SharePoint GDPR Library** Microsoft Share Point *Service*
- 14 **Log DSAR to Compliance Register** Microsoft Excel *Service*
- 15 **Notify DPO for Review (NOT Data Subject)** Microsoft Outlook *Service*
- 16 **Wait for Estimate to Complete** Wait *Logic*
- 17 **Merge A – SP Archive + Excel Log** Merge *Logic*
- 18 **Merge B – (SP+Excel) + DPO Email** Merge *Logic*
- 19 **Fetch eDiscovery Statistics** Http Request *Service*
- 20 **Respond 200 Accepted** Respond To Webhook *Starts it*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 20, 1 loop or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Excel, Outlook
- **Model:** a local model

## Questions

What does it need to run?

An n8n account, plus your own Excel and Outlook accounts, and a key for a local model. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls a local model. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 20 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 20 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fhandle-gdpr-data-subject-requests-with-microsoft-graph)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Excel](https://millionrounds.com/workflows?service=Excel#library)[Outlook](https://millionrounds.com/workflows?service=Outlook#library)

## Workflows like it

Also data collection, with the same services where possible, closest in size first.

- [**Send a weekly legal tech AI digest with OpenAI and Gemini** 24 steps · calls a model · Excel, Outlook](https://millionrounds.com/workflow/send-a-weekly-legal-tech-ai-digest-with-openai-and-gemini)
- [**Send regulatory update digest emails with Google Sheets** 24 steps · calls a model · Email, Excel](https://millionrounds.com/workflow/send-regulatory-update-digest-emails-with-google-sheets)
- [**Build AI-ready knowledge base from Outlook & Notion** 25 steps · calls a model · Notion, Outlook](https://millionrounds.com/workflow/build-ai-ready-knowledge-base-from-outlook-and-notion)
- [**Send a daily AI news RSS digest with OpenAI and Gmail** 15 steps · calls a model · Email, Excel](https://millionrounds.com/workflow/send-a-daily-ai-news-rss-digest-with-openai-and-gmail)
- [**Track Excel 365 changes and approvals with Telegram** 14 steps · Excel, Google Sheets](https://millionrounds.com/workflow/track-excel-365-changes-and-approvals-with-telegram)
- [**Automated email responses with OpenAI and Supabase** 27 steps · calls a model · Outlook, Postgres](https://millionrounds.com/workflow/automated-email-responses-with-openai-and-supabase)
