Forms & Surveys
Assess GDPR breach risk and 72-hour deadlines with Groq and data tables
When you run it, it processes form answers with Groq and OpenAI / ChatGPT using Groq, Data Table, Discord.
What it does
## Assess a personal data breach against the GDPR 72 hour deadline ### How it works Somebody reports a suspected breach on a form. A Set node holds the deadline and thresholds; ten risk factors live in a data table you can edit. A Code node scores the report deterministically: each Yes answer and each keyword in the description counts a factor, and the 72 hour clock runs from the moment you became aware, not from when the incident happened. A Groq call then reads the description and may add a factor only when it quotes the exact words that show it; a suggestion without a verbatim quote is discarded. Any high severity factor gives NOTIFY_AUTHORITY_AND_SUBJECTS, any other gives NOTIFY_AUTHORITY, none gives RECORD_ONLY, and an empty factor table, a description too short to read or an unreadable awareness date give INCOMPLETE, never a quiet pass. Every assessment goes to breach_register and every factor to breach_findings. Notifiable breaches go to Discord and the reporter is shown what to do next. A daily watchdog then chases notifiable breaches whose register row still says the authority was not told. ### Setup 1. Add a Groq credential to the Groq node and a Discord webhook to both Discord nodes. 2. Run Set Up Tables once. It creates four data tables and loads the ten risk factors; every other node finds its table by name. 3. Open the form and report a test breach with health data that is still exposed. 4. Set authority_notified to yes in breach_register once you have reported, or the watchdog keeps chasing. ### Customization tips Edit the factors and their keywords in breach_risk_factors; the table is the policy. Keywords are English, so a report in another language matches fewer of them. This is a triage aid, not legal advice.
The steps
- Set Up Tables (run once)
- Create Risk Factor Table
- Create Register Table
- Create Findings Table
- Create Reminder Table
- Build The Risk Factors
- Load Factors Into Table
- Report A Breach
- Set Breach Policy
- Load Risk Factors
- Score The Breach
- Review The Description
- Groq Reviewer Model
- Parse Reviewer Output
32 steps in total.
Similar automations
Forms & SurveysScreen GDPR DPIA needs with Groq, n8n forms, data tables and Discord27 stepsForms & SurveysLog GDPR Article 22 decisions and route review requests with Groq and Discord36 stepsForms & SurveysRegister GDPR Article 30 processing activities with Groq and Discord27 stepsForms & SurveysFind and log GDPR request evidence with Groq and Data Tables19 steps