# Scan personal data in data tables with Groq and Discord: n8n workflow

> Started by a clock, and works across Discord and n8n data table. It hands the judgement calls to Groq.

Source: https://millionrounds.com/workflow/scan-personal-data-in-data-tables-with-groq-and-discord (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Alerts and monitoring](https://millionrounds.com/workflows?category=Alerts+and+monitoring#library)

# 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.

Large Calls a model: Groq

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fscan-personal-data-in-data-tables-with-groq-and-discord)

**25 steps** Large: read it before trusting it with anything live

**1** Branch: places the flow splits

**1** Loop or waits

**2** Services it connects to

## The flow

Starts it 3 Model 3 Logic 9 Service 10

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

- 1 **Set Up Tables (run once)** Manual trigger *Starts it*
- 2 **Scan Now** Manual trigger *Starts it*
- 3 **Every Monday** Schedule trigger *Starts it*
- 4 **Groq Judge Model** Lm Chat Groq *Model*
- 5 **Parse Judge Output** Output Parser Structured *Model*
- 6 **Create Patterns Table** Data Table *Service*
- 7 **Set Scan Policy** Set *Logic*
- 8 **Judge Names And Shapes** Chain Llm *Model*
- 9 **Create Inventory Table** Data Table *Service*
- 10 **Load Detection Patterns** Data Table *Service*
- 11 **Merge The Judge Into The Inventory** Code *Logic*
- 12 **Create Runs Table** Data Table *Service*
- 13 **List Every Data Table** Data Table *Service*
- 14 **Record The Run** Data Table *Service*
- 15 **Build Detection Patterns** Code *Logic*
- 16 **Skip Own Tables** Code *Logic*
- 17 **Explode Into Column Rows** Code *Logic*
- 18 **Load Patterns Into Table** Data Table *Service*
- 19 **Loop Over Tables** Split In Batches *Logic*
- 20 **Upsert The Inventory** Data Table *Service*
- 21 **Prepare The Judge Input** Code *Logic*
- 22 **Sample A Few Rows** Data Table *Service*
- 23 **Special Categories Found?** If *Logic*
- 24 **Classify Each Column** Code *Logic*
- 25 **Alert The Privacy Officer** Discord *Service*

## 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.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fscan-personal-data-in-data-tables-with-groq-and-discord)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Discord](https://millionrounds.com/workflows?service=Discord#library)[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

Also alerts and monitoring, with the same services where possible, closest in size first.

- [**Employee time tracking system with OpenAI and Gmail** 25 steps · calls a model · Gmail, n8n data table](https://millionrounds.com/workflow/employee-time-tracking-system-with-openai-and-gmail)
- [**Monitor quantum fabrication QA with OpenAI** 25 steps · calls a model · n8n data table](https://millionrounds.com/workflow/monitor-quantum-fabrication-qa-with-openai)
- [**Analyze Google Ads search terms with Claude and DeepSeek** 24 steps · calls a model · Discord, Slack](https://millionrounds.com/workflow/analyze-google-ads-search-terms-with-claude-and-deepseek)
- [**Auto-categorize YNAB transactions with OpenAI and Discord** 24 steps · calls a model · Discord](https://millionrounds.com/workflow/auto-categorize-ynab-transactions-with-openai-and-discord)
- [**Monitor Truth Social posts for Iran-Israel risk and alert Discord** 26 steps · calls a model · Discord, n8n data table](https://millionrounds.com/workflow/monitor-truth-social-posts-for-iran-israel-risk-and-alert-di)
- [**Score and alert Upwork jobs with OpenAI and Telegram** 26 steps · calls a model · Telegram, n8n data table](https://millionrounds.com/workflow/score-and-alert-upwork-jobs-with-openai-and-telegram)
