Library / Code, Git & Developer Tools
Code, Git & Developer Tools
Enforce DPA-compliant processors using the n8n API and Slack reports
On a schedule, it automates developer work with DeepSeek and Mistral using n8n API, Slack.
What it does
## Switch off workflows that send data to processors without a valid DPA Every service that receives personal data from your automations is a processor, and GDPR needs a contract (a DPA) with each one. On n8n that list is whatever someone last dropped onto a canvas. ### How it works 1. Every Monday the workflow reads every workflow on this instance through the n8n API. A live workflow is judged on its published version, the one that actually runs. 2. It works out where each one sends data: service nodes, HTTP Request addresses, addresses written into Code nodes, inline and called sub-workflows, and the error workflow. Disabled nodes do not count. 3. Each processor is checked against Processor Rules: approved with a DPA end date, blocked, or yours. 4. A live workflow that sends data to a blocked processor, or to one whose DPA has ended, is switched off once switch_off_blocked is on. Until then the report names it for you to switch off. Anything nobody approved goes to review. Slack gets one report whenever something needs a person. ### Setup 1. Add an n8n API credential (Settings, n8n API) and a Slack credential, then pick the channel. 2. Fill Processor Rules: approved processors as Name until YYYY-MM-DD, blocked ones, and your own systems. 3. It ships with switch_off_blocked off, so the first runs only report. Read a report, then turn it on to let it act. ### Good to know A scan with nothing to judge fails the run instead of reporting all clear, so give this workflow an error workflow that reaches a person.
The steps
- Weekly Processor Scan
- Processor Rules
- Read Every Workflow
- Find Where Each Workflow Sends Data
- Did The Scan See Workflows?
- Fail The Run Loudly
- Judge Each Workflow
- Switch It Off Now?
- Switch Off One At A Time
- Switch The Workflow Off
- Note It Was Switched Off
- Note The Switch-Off Failed
- Collect Every Outcome
- Write The Processor Report
16 steps in total.
Similar automations
Building Blocks & UtilitiesChoose GDPR-Compliant AI Models Dynamically with Requesty20 stepsTasks & Project ManagementEnforce Time Tracking on Closed Awork Tasks31 stepsCode, Git & Developer ToolsInventory AI workflows and risk paths using the n8n API and CSV reports6 stepsCode, Git & Developer ToolsClone n8n Workflows Between Instances via the n8n API33 steps