Templates / Handle GDPR data subject requests with Microsoft Graph, SharePoint, and Ollama

Handle GDPR data subject requests with Microsoft Graph, SharePoint, and Ollama

Ready for 3.0

by Mychel Garzon ✓ · 38 views · created 2026-06-09 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 20 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Microsoft SharePoint, Ollama Model, Microsoft Excel 365 and Microsoft Outlook. It also calls graph.microsoft.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Validate and Prepare DSAR (Code): runs custom JavaScript code
  2. Create eDiscovery Case (HTTP Request): calls graph.microsoft.com (POST)
  3. Search SharePoint + OneDrive (Microsoft SharePoint): search
  4. Create eDiscovery Search (All Mailboxes) (HTTP Request): calls an HTTP API (POST)
  5. Merge: merges the data from its input branches
  6. Trigger Statistics Estimate (HTTP Request): calls an HTTP API (POST)
  7. Aggregate and Sanitize Results (Code): runs custom JavaScript code
  8. Wait: waits 60 seconds
  9. Generate Cover Letter (Basic LLM Chain) (Basic LLM Chain): sends a prompt to an LLM, with model: Ollama Model
  10. Fetch eDiscovery Statistics (HTTP Request): calls an HTTP API

…plus 8 more steps. See the full node list below.

Services it uses

Microsoft SharePointOllama ModelMicrosoft Excel 365Microsoft Outlook

HTTP calls to: graph.microsoft.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (11)

From the author

Quick Overview This workflow receives GDPR data subject access requests via a webhook, searches Microsoft 365 for related emails and documents using Microsoft Graph eDiscovery and SharePoint search, drafts a DPO cover letter with a local Ollama model,…

Excerpt from Mychel Garzon's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.