Templates / Screen GDPR DPIA needs with Groq, n8n forms, data tables and Discord

Screen GDPR DPIA needs with Groq, n8n forms, data tables and Discord

Ready for 3.0

by Melbin Francis ✓ · 0 views · created 2026-09-05 · 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.

Nodes used (12)

Basic LLM ChainGroq Chat ModelStructured Output ParserDiscord

What it does

Quick overview This workflow collects GDPR processing details via an n8n Form, scores them against editable DPIA screening criteria stored in n8n Data Tables, uses Groq to validate additional criteria with verbatim quotes, records results in tables, and posts REQUIRED alerts and a weekly digest to Discord. How it works 1. Runs a one-time manual setup to create three n8n Data Tables (dpiacriteria, dpiascreenings, dpiafindings) and populate dpiacriteria with the nine EDPB/WP29 DPIA screening criteria. 2. Receives a DPIA screening submission from an n8n Form with the project description, data categories, data subjects, scale, and yes/no/not sure answers. 3. Loads the criteria from dpiacriteria and deterministically counts criteria met based on form answers, scale thresholds, and keyword matches in the submitted text. 4. Sends the full criteria list and the processing description to Groq and accepts only additional criteria that include an exact quote found in the description. 5. Produces a final verdict (REQUIRED, CONSIDER, NOTREQUIRED, or INCOMPLETE) with an evidence-backed report, then records one screening row in dpiascreenings and one finding row per met criterion in dpiafindings. 6. If the verdict is REQUIRED, sends the report to Discord and shows a “required” completion page; otherwise it shows a completion page with the verdict and reasoning. 7. Every Monday, reads recent rows from dpiascreenings, summarises verdict counts for the lookback window, and posts a weekly digest to Discord when attention is needed (or when configured to report quiet weeks). Setup 1. Add a Groq API credential for the Groq chat model and a Discord webhook credential for both Discord message steps. 2. Run the “Set Up Tables (run once)” path to create dpiacriteria, dpiascreenings, and dpiafindings and load the initial nine criteria. 3. Review and adjust the screening thresholds and minimum description length in the screening policy, and optionally edit titles/keywords in the dpiacriteria table to match your organisation’s terminology. 4. Open and share the n8n Form trigger URL with your team so they can submit processing activities for screening. 5. (Optional) Adjust the weekly digest schedule, lookbackdays, and postwhenquiet settings to fit your reporting cadence. Requirements - A free Groq API key. Groq runs the language model that reads your project description. The free tier is plenty; one screening is a few hundred words. - A Discord webhook URL for the alerts and the Monday summary. If your team lives in Slack or email, swap the two Discord steps for Slack or Gmail. Results are written to the tables either way, so nothing is lost. - n8n 2.38 or newer. Data Tables come built into n8n, and the workflow creates its own three tables the first time you run it. There is no database to set up and nothing to install. - Somebody who knows the project. No legal training is needed to run this. The form asks plain questions about what the project does with people's data. Customization - The nine questions live in the dpiacriteria table. Open it and reword them, or add your own. Each row carries a list of trigger words separated by a | character. - How strict it is. Set Screening Policy holds the numbers: two criteria met means a DPIA is required, one means consider it. Move those if your privacy team wants a different bar. - The shortest description it will accept is 40 characters. Anything shorter comes back as INCOMPLETE instead of a verdict, so a one-word answer cannot produce a confident result. - The Monday summary: how many days it looks back, and whether it still posts in a week when nothing was screened. - The model. Any Groq model that returns JSON works. A weaker one simply adds fewer criteria; it cannot change the verdict on its own. Additional info "Do we need a DPIA for this?" usually gets asked late, and the honest answer is a shrug followed by a meeting. This gives a first answer in about a minute and writes down how it got there, so the ne

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.