BUSINESS DATA / CASE STUDY 02

Four million records. One reliable register.

Replacing a Google Sheet that struggled with two million unsubscribes, bounces and do-not-contact requests with a MySQL register and four n8n workflows used by the events team every working day.

MySQLn8nData processingOperational automation
~4 millionRecords in the register now
4 workflowsAdd, search, remove and scrub
3 peopleEvents team using it daily
6 monthsIn operation and growing
01 / THE CHALLENGE

Two million records. One overloaded Sheet.

The business maintained unsubscribed addresses, bounced contacts and direct opt-out requests in a Google Sheet. At around two million records, the sheet and its Google Apps Script file-checking process had become increasingly slow.

It was more than a performance nuisance: colleagues had to coordinate access because using the sheet simultaneously could make it crash. That created a bottleneck for the events team preparing files for daily Eventbrite marketing sends.

02 / THE SOLUTION

A practical system built on what we already had.

I designed and built a MySQL based do-not-contact register, hosted on our existing Plesk web server, with four n8n forms and workflows to add, search, remove and scrub records.

The underlying table keeps the structure deliberately simple: an ID, an email address or domain, and an opt-out date. Reusing the existing server and n8n setup avoided additional hosting or platform costs, while the server's automated backups cover the database daily.

SYSTEM ARCHITECTURE

Simple for the team. Structured underneath.

Staff use an n8n form; the matching workflow processes the input and reads or updates the central MySQL register. Email addresses and domain-level entries can both be stored.

The register runs on the existing website server and benefits from its daily automated backups.

INTERACTIVE WALKTHROUGH

How a send list becomes a clean file

Select each stage to see how the scrubber processes an uploaded marketing list.

Upload the marketing file

A colleague uploads a file through the dedicated n8n scrubber form. Input-size safeguards help avoid resource-heavy processing.

THE FOUR WORKFLOWS

Everything the team needs in one place.

Each task has its own straightforward form and n8n workflow, rather than asking colleagues to interact directly with the database.

01 / ADD

Import opt-outs and bounces.

Paste a list of email addresses or domains, upload a CSV, or upload an Eventbrite report. The Eventbrite route extracts bounced and unsubscribed contacts and adds them to the register.

02 / SEARCH

Check an entry immediately.

Enter an email address or domain and get a simple result showing whether it's recorded in the register.

03 / REMOVE

Maintain the register.

Upload a CSV containing entries to remove. The workflow processes the file and deletes those records from the database.

04 / SCRUB

Prepare a cleaner send list.

Upload a marketing file before an Eventbrite send. The workflow checks entries against the register, excludes matching contacts and returns a clean file ready to upload.

ITERATION & RELIABILITY

Making it work consistently mattered as much as building it.

The first version wasn't the finished version. A few months into use, large uploads and resource-heavy processing could crash n8n completely. I investigated the bottlenecks, made the code nodes more lightweight and added file-size safeguards to prevent oversized uploads.

Those changes were part of turning a working prototype into a tool the team could depend on. Building it meant choosing a sensible architecture; maintaining it meant responding to how it behaved with real files and real users.

ENGINEERING DECISIONS

Why this approach worked.

Designed around the team’s existing systems and real constraints.

CAPACITY

Move beyond a spreadsheet

With approximately two million entries and colleagues unable to use the Sheet concurrently, a relational database offered a more sustainable foundation.

COST

Use infrastructure we already operated

The existing Plesk server and n8n environment avoided a new hosting service. Daily server backups also cover the database.

RELIABILITY

Refine after launch

Large files initially caused n8n crashes. I adjusted code nodes to be lighter and added upload safeguards based on real usage.

DELIVERY & IMPACT

Less waiting. More dependable sends.

MY RESPONSIBILITY

From problem to production.

I recognised the concurrency and performance problem, designed the replacement, built the MySQL table and four n8n workflows, and refined the system after deployment, including troubleshooting performance issues and improving reliability.

BUSINESS OUTCOME

A daily tool for the events team.

Three colleagues use the workflows each working day to prepare marketing files without coordinating access to a fragile spreadsheet. It has made list preparation easier and, in my observation, substantially reduced complaints from contacts who had already opted out.

TECHNICAL DECISIONS

Keep costs and complexity down.

MySQL provides a suitable home for millions of records, n8n handles the file processing and user-facing forms, and the existing Plesk infrastructure provides hosting and daily database backups without additional platform costs.