Automation library · Alerts and monitoring

Scan personal data in data tables with Groq and Discord

Started by a clock, and works across Discord and n8n data table. It hands the judgement calls to Groq. 25 steps, 1 branch, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Groq

25 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 3Model 3Logic 9Service 10

The steps in the order they run, from what starts it.

  1. 1Set Up Tables (run once)Manual triggerStarts it
  2. 2Scan NowManual triggerStarts it
  3. 3Every MondaySchedule triggerStarts it
  4. 4Groq Judge ModelLm Chat GroqModel
  5. 5Parse Judge OutputOutput Parser StructuredModel
  6. 6Create Patterns TableData TableService
  7. 7Set Scan PolicySetLogic
  8. 8Judge Names And ShapesChain LlmModel
  9. 9Create Inventory TableData TableService
  10. 10Load Detection PatternsData TableService
  11. 11Merge The Judge Into The InventoryCodeLogic
  12. 12Create Runs TableData TableService
  13. 13List Every Data TableData TableService
  14. 14Record The RunData TableService
  15. 15Build Detection PatternsCodeLogic
  16. 16Skip Own TablesCodeLogic
  17. 17Explode Into Column RowsCodeLogic
  18. 18Load Patterns Into TableData TableService
  19. 19Loop Over TablesSplit In BatchesLogic
  20. 20Upsert The InventoryData TableService
  21. 21Prepare The Judge InputCodeLogic
  22. 22Sample A Few RowsData TableService
  23. 23Special Categories Found?IfLogic
  24. 24Classify Each ColumnCodeLogic
  25. 25Alert The Privacy OfficerDiscordService

How it's built

Starts on
A clock
Steps
25, with 1 branch, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Discord, n8n data table
Model
Groq

Questions

What does it need to run?

An n8n account, plus your own Discord account, and a key for Groq. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls Groq. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 25 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 25 steps before you point it at anything that matters.