A GDPR-ready SaaS needs more than a privacy policy. It needs a data map, a lawful basis for every field, encryption of sensitive answers at rest, a working export and deletion feature that finishes within one month, retention jobs, access logs, signed processor agreements, EU hosting and a tested 72-hour breach procedure. This article is the engineering checklist for those items.
This is not legal advice. It is the work a development team has to do so that the document your lawyer writes describes a system that exists.
What does GDPR require you to build, not just write?
Start with a data map: one table listing every field that identifies a person, where it lives (database, object storage, logs, backups, third-party tools) and why you hold it. Article 30 requires records of processing. The exemption for organisations under 250 employees falls away when processing is "not occasional", and a SaaS product processes personal data all day.
Next to each field, write the lawful basis from Article 6(1): contract for the account email, legal obligation for invoices, consent for marketing, legitimate interest for security logs. One basis per field, not one per product. This map decides what you encrypt, what the export contains and what the retention job deletes.
The technical GDPR checklist for a SaaS product
| Feature | GDPR article | How to build it |
|---|---|---|
| Data map and processing record | Art. 30 | Versioned table of every personal field: location, lawful basis, retention, processors. Reviewed in each pull request that adds a column. |
| Lawful basis per field | Art. 6(1) | Basis annotated in the schema. CI fails when a new personal field has no basis or retention period. |
| Field-level encryption at rest | Art. 32(1)(a) | Encrypted model attributes for free-text answers, notes and health fields. Keys outside the database. |
| Self-service export | Art. 15 and 20 | Account button that queues a job, builds JSON and CSV from every table, emails an expiring signed link. |
| Deletion and anonymisation | Art. 17 | Queued job that deletes or anonymises per field as the data map says, calls processor APIs, records completion. |
| Retention jobs | Art. 5(1)(e) | One scheduled command per data class, period from the data map, dry-run mode, logged counts. |
| Access logging | Art. 5(2) and 32 | Append-only table: who viewed which record, when, from where. Alert on bulk reads. |
| Processor agreements | Art. 28(3) | Signed DPA with hosting, email, payment and AI API providers. Published sub-processor list that matches the code. |
| EU data residency | Art. 44 | EU regions for database, storage, backups and logs. Check where each API provider processes your data. |
| Breach runbook | Art. 33 | Incident template with the Article 33(3) fields, an on-call contact, a breach register in the admin panel. |
| Consent before analytics | ePrivacy Art. 5(3) | Analytics scripts load only after a consent event. Consent stored with timestamp and policy version. |
| Children and special categories | Art. 8 and 9 | Age check where consent is the basis. Health fields only behind explicit consent and field-level encryption. |
How do you build export and deletion that finish within one month?
Article 12(3) gives you one month from receiving a request, extendable by two further months only for complex cases. A team that handles requests by hand will miss that window the first time two arrive in the same week.
The export job
Article 20 requires "a structured, commonly used and machine-readable format". That means a queued job that walks every table in the data map, writes JSON and CSV, zips the result and emails a signed link with a short expiry. Include files the user uploaded. Exclude other people's data, such as notes another user wrote about them.
Deletion, exceptions and backups
Article 17 says erasure happens "without undue delay", but Article 17(3) lets you keep what a legal obligation requires, such as invoices. So the data map marks each field as hard-delete, anonymise or keep. The deletion job follows those marks, calls the delete endpoints of your processors, and writes a completion record.
Backups are the part most teams forget. Restore a database dump from two weeks ago and deleted users come back. The fix is a deletion ledger: the job stores the IDs it erased, and the restore procedure replays the ledger before the application goes live again. State the backup retention window in the privacy policy. We cover the restore side in backup and disaster recovery.
Retention jobs
Article 5(1)(e) limits storage to "no longer than is necessary". A scheduled command per data class does the work: unverified accounts after a fixed number of days, raw request logs after a shorter window, closed tickets after a longer one. Each command reads its period from the data map, supports a dry run and logs how many rows it removed.
Encryption, access logs and processor agreements
Encrypting sensitive answers at rest
Article 32(1)(a) names "the pseudonymisation and encryption of personal data" as a measure. Disk encryption protects against a stolen drive, not against a leaked dump or an SQL injection, because the database serves plaintext to anything that can query it. Field-level encryption with an application key protects the dump. The cost: encrypted columns cannot be searched with LIKE, so you search on non-sensitive metadata.
Access logging
Article 5(2) requires you to demonstrate compliance, and without a log you cannot show who read a client record. Use an append-only table written by an insert-only database user, record staff views as well as changes, and alert on unusual volumes. The log holds IP addresses, so it needs its own retention period.
DPAs with hosting, email and AI APIs
Article 28(3) requires a written contract with every processor, and Article 28(2) requires your authorisation before a processor adds a sub-processor. For a typical SaaS that is hosting, transactional email, payments and every AI API. For AI APIs, check three things in the DPA: whether prompts are used for training, how long they are retained and in which region. Then send only the fields the task needs and strip names first. Article 44 allows transfers outside the EU only under Chapter V conditions, so EU regions for database, storage, backups and logs remove a whole class of paperwork. See our EU data residency service.
Breach notification, cookies, children and special categories
Article 33(1) requires notification to the supervisory authority "not later than 72 hours after having become aware" of a breach, unless it is unlikely to result in a risk. A processor must inform the controller without undue delay, and Article 33(5) requires you to document every breach, including those you do not report. Build a breach register with the Article 33(3) fields: nature of the breach, approximate numbers of people and records, contact point, likely consequences and measures taken.
Cookies come from a different law. Article 5(3) of the ePrivacy Directive allows storing or reading information on a user's device only with consent, except where strictly necessary for a service the user asked for. Analytics is not strictly necessary. Build a consent manager that fires an event, tag loaders that wait for it, and a browser test that fails if a third-party request appears before consent.
Article 8(1) sets the age of digital consent at 16 and lets member states lower it to no less than 13. If consent is your basis and children may sign up, you need an age check. Article 9(1) lists special categories such as health, biometric and genetic data. An intake form in a fitness or wellness app that asks about injuries or allergies collects health data, so it needs explicit consent and field-level encryption.
How SoftBuildLab handles GDPR engineering in practice
Our own booking platform REZVA is the reference implementation. According to its public product facts, servers, database and files are hosted at Hetzner Online GmbH in Germany, within the EU. GDPR export and deletion are handled within 30 days. Intake-form answers are stored encrypted, only the specialist sees them, and they are never included in emails. Client photos are stored privately with location data removed.
For client projects we follow the same order. The data map comes before the database schema. Export and deletion are built in the same sprint as registration. Every new processor goes through a DPA review before its API key reaches production. Our GDPR compliance service covers the map, the processor review and the retention design; our security audit checks encryption, access logs and the breach runbook against the checklist above. To have the list applied to your product, request a free technical proposal.
Frequently asked questions
Does a startup with fewer than 250 employees need records of processing?
In practice, yes. Article 30(5) exempts small organisations only when processing is occasional, carries no risk to people and involves no special categories. A SaaS product processes personal data continuously, so the exemption rarely applies. A data map built as described above satisfies the requirement and doubles as your engineering specification.
Do I have to delete personal data from backups as well?
You have to make sure deleted data does not come back. Keep a deletion ledger with the IDs the deletion job erased, replay it after every restore, and keep backup retention short and stated in your privacy policy. Rewriting encrypted backups one by one is rarely practical; a replayed ledger plus a fixed retention window is the common approach.
Can I send customer data to an AI API and stay compliant?
Yes, if the provider is under a signed DPA with you as required by Article 28(3), you know where and for how long prompts are stored, training on your data is excluded, and you send only the fields the task needs. Strip names and identifiers before the prompt where the task allows, and record the provider on your published sub-processor list.



