Case study · Data protection and platforms

Ready for the new rules: preparing a Chilean omnichannel retailer for personal data protection law 21.719

A Chilean retailer sold in stores and online, ran a loyalty programme and offered its own store credit card. Personal data sat in dozens of systems built over two decades under an older, lighter law. With Ley 21.719 creating a new data protection agency and stronger rights from December 2026, the company needed to know what data it held and why, answer customers' requests reliably, and handle a breach quickly, without stopping the business.

Case studyRetail and consumer credit · ChileSumanta Mukhopadhyay9 min read
#governance#data#platform
CASE STUDY · CASE STUDY · DATA PROTECTION AND PLATFORMS11 Nov 2026 · 15:50 GST
At a glance
SectorRetail and consumer credit · Chile
My roleFractional CTO and data architect
EngagementAssessment, architecture and delivery leadership
ScopePersonal data inventory, legal bases and consent, data subject rights workflow, retention, breach response, processor contracts, telemetry redaction
What changed
  • A map of where personal data lives, why it is processed and who owns it
  • Customer rights requests handled through one tracked workflow across systems
  • Consent and marketing preferences held in one place and respected everywhere
  • Personal data removed from logs and traces before they leave applications
  • A breach response plan that decides quickly who must be told, and how
Data catalogue with personal data tagsConsent and preference serviceRights request workflowIdentity verification for requestsRetention and deletion jobsOpenTelemetry Collector with redactionIncident response runbooksProcessor register

Anonymised composite. Client names, identifying details and confidential figures are withheld; public facts are cited in the references.

The situation

A Chilean retailer sold through stores, a website and an app. It ran a loyalty programme and offered its own store credit card, so alongside names and addresses it held purchase histories, credit decisions and payment behaviour. Over twenty years, teams had built and bought systems under Chile's older data protection law: point of sale, e-commerce, loyalty, card servicing, marketing tools, a data warehouse and a growing set of analytics and AI models. Personal data had been copied into most of them.

Ley 21.719, published in December 2024, replaces that regime: it regulates how personal data is processed and protected and creates a new Personal Data Protection Agency to supervise compliance, handle complaints and impose sanctions12. Its main provisions take effect on 1 December 20261.

Why now. With the effective date weeks away, the company had no single view of its personal data. A bill to postpone the date by a year was reported to be in the Senate, but not enacted3. The board decided to plan for December 2026: the work would be needed either way, and much of it reduced breach risk on its own merits.

What had to be true

  • Known: where personal data lives, why it is processed and who owns each system.
  • Lawful: a legal basis recorded for each purpose, with consent where needed.
  • Answerable: customer requests to access, correct, delete or move their data handled reliably across systems.
  • Minimised: data kept only as long as needed, and kept out of places it does not belong, such as logs.
  • Ready for incidents: a fast way to decide who must be told about a breach, and how.
  • Business as usual: stores, card servicing and marketing keep running throughout.

Architecture

Channels
Storespoint of saleWeb and appContact centre
Customer controls
Consent and preferencesone source of truthRights requestsone tracked workflow
Knowledge
Data cataloguepersonal data taggedPurposes and legal basesProcessor register
Systems
LoyaltyCard servicingE-commerceWarehouse and models
Hygiene
Retention jobsdelete on scheduleTelemetry redactionno personal data in logsBreach runbooks
Customers interact with two services, consent and rights; the catalogue tells those services where to act.

The data catalogue was the backbone. Each system, table and data feed was tagged with the personal data it held, the purposes it served, the legal basis for each purpose and an owner. The rights workflow and retention jobs read from the catalogue, so adding a new system meant registering it once rather than updating every process.

The data flow, end to end

  1. RequestA customer asks to see, correct or delete their data, in store or online
  2. VerifyIdentity is confirmed in proportion to the request's risk
  3. LocateThe catalogue lists every system holding that customer's data
  4. ActEach system's owner fulfils its part; automated where possible
  5. CheckExceptions, such as credit records that must be kept, are recorded with reasons
  6. RespondThe customer receives one answer; the case is kept as evidence
One request, many systems, one tracked answer.

The hard part: deletion, credit records and logs

Deleting without breaking the business. A deletion request cannot simply remove every trace of a customer: card accounts, credit decisions and tax records have their own retention duties. The workflow therefore decided per system and per purpose: marketing profiles and loyalty preferences were deleted, credit records were kept for their required period and flagged so they were no longer used for marketing, and the customer was told which data was kept and why.

Personal data in telemetry. The inventory found customer identifiers, emails and sometimes card fragments in application logs and traces, copied into monitoring tools and kept far longer than the source data. Fixing every application would take years, so personal data was removed centrally: logs and traces flowed through an OpenTelemetry Collector pipeline, where processors masked or dropped sensitive fields before export5. Application teams then fixed the worst sources at their own pace.

OpenTelemetry Collector pipeline view: a filelog receiver and otlpjson connector feeding a logs pipeline with otlp and otlpjson receivers, resourcedetection and batch processors, and otlphttp and debug exporters
A collector pipeline with a processing stage between receivers and exporters: the place where personal data can be masked before telemetry leaves. Source: OpenTelemetry blog, Cyrille Le Clerc and Gregor Zeitlinger · CC BY 4.0

Breach decisions under uncertainty. Commentators differ on exactly how the law's breach notification timing will be applied4, so the company designed for speed rather than a deadline: a runbook that uses the catalogue to identify affected data types within hours, including whether credit or other sensitive data is involved, and pre-drafted notices for the Agency and for customers.

Most of the work for a new data protection law is not legal. It is knowing where your data is, and being able to act on it everywhere at once.

How it ran

Data and platform
  1. Catalogue and tagging
  2. Rights workflow
  3. Telemetry redaction
System owners
  1. Confirm data and purposes
  2. Automate their part
  3. Retention jobs
Legal and privacy
  1. Legal bases per purpose
  2. Processor contracts
  3. Breach runbooks
Customer service
  1. Request intake in store and online
  2. Identity checks
  3. Clear answers
Engineering built the plumbing; system owners and legal decided what it should do.
Phase 1Map
  • Inventory systems
  • Tag personal data
  • Assign owners
Phase 2Control
  • Consent service
  • Rights workflow
  • Identity checks
Phase 3Minimise
  • Retention jobs
  • Telemetry redaction
  • Processor review
Phase 4Rehearse
  • Breach tabletop
  • Rights request drills
  • Agency-ready evidence
Map first; every later phase depends on knowing where the data is.

Key decisions and trade-offs

DecisionAlternativeWhy
Plan for December 2026Wait for the postponement billThe work is needed either way and reduces risk now
Catalogue as the backboneSpreadsheets per departmentWorkflows and retention read from one source
One rights workflowEach system handles its own requestsCustomers get one answer; evidence in one place
Deletion per purpose with recorded exceptionsDelete everything or nothingRespects rights and legal retention duties
Central telemetry redactionFix every application firstImmediate reduction in exposure while teams catch up
Design breach response for speedDesign to a specific deadlineHolds whatever interpretation prevails

What I'd do again, and differently

Again: tag personal data in a catalogue that workflows actually use, rather than a register nobody reads. Differently: include analytics and AI models in the first inventory; training datasets copied from production were the last place anyone looked, and the hardest to clean. Related: data contracts, a consent platform for lending in India, credit AI under Brazil's LGPD and where I work.

If a new data protection law is coming and you cannot yet say where your personal data lives, see my fractional CTO work, or analyse your challenge and bring the result to a call.

References
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
FAQ

Common questions

When does Chile's Ley 21.719 take effect?

The law was published in December 2024 and its main provisions take effect on 1 December 2026. A bill to postpone that date has been reported, so organisations should check the current status, but the work needed is the same either way.

What does Ley 21.719 change for companies?

It replaces Chile's older data protection rules with a modern regime: stronger rights for individuals, clearer legal bases for processing, breach notification duties and a new Personal Data Protection Agency able to investigate and sanction.

Why remove personal data from logs and traces?

Logs and traces are copied to many tools and kept for long periods, often outside the controls applied to production databases. Redacting personal data before telemetry leaves applications reduces exposure, simplifies rights requests and shrinks the impact of a breach.

Keep reading

Related

Open to advisory, fractional CTO & select builds

Let's talk about what you're building.

The fastest route is a free 30-minute call. Prefer to write? Send a message and I'll reply personally within two business days.

Start a conversation

How would you like to reach me?

Book a 30-min callFastest. Pick any open slot on my calendar.→ Write in GmailOpens a pre-filled draft in your browser.→ Use my email appOutlook, Apple Mail or your default client.→

I reply personally within two business days. Time zones from the Americas and Europe to the Middle East and Asia-Pacific.