Handle GDPR data subject requests with Microsoft Graph, SharePoint, and Ollama
Ready for 3.0What 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.
- Validate and Prepare DSAR (Code): runs custom JavaScript code
- Create eDiscovery Case (HTTP Request): calls graph.microsoft.com (POST)
- Search SharePoint + OneDrive (Microsoft SharePoint): search
- Create eDiscovery Search (All Mailboxes) (HTTP Request): calls an HTTP API (POST)
- Merge: merges the data from its input branches
- Trigger Statistics Estimate (HTTP Request): calls an HTTP API (POST)
- Aggregate and Sanitize Results (Code): runs custom JavaScript code
- Wait: waits 60 seconds
- Generate Cover Letter (Basic LLM Chain) (Basic LLM Chain): sends a prompt to an LLM, with model: Ollama Model
- Fetch eDiscovery Statistics (HTTP Request): calls an HTTP API
…plus 8 more steps. See the full node list below.
Services it uses
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)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Microsoft SharePoint
n8n-nodes-base.microsoftSharePoint - Merge
n8n-nodes-base.merge - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Ollama Model
@n8n/n8n-nodes-langchain.lmOllama - Microsoft Excel 365
n8n-nodes-base.microsoftExcel - Microsoft Outlook
n8n-nodes-base.microsoftOutlook - Respond to Webhook
n8n-nodes-base.respondToWebhook
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,…