Design a Self-Serve Data Export and Account Deletion Pipeline

Last updated: November 29, 2026

Quick Overview

Design the system that lets any ChatGPT user request a full export of their data or permanent account deletion, and guarantees completion across every service that holds their data within a fixed deadline.

OpenAI
System Design
Software Engineer
OpenAI
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the system that lets any ChatGPT user request a full export of their data or permanent account deletion, and guarantees completion across every service that holds their data within a fixed deadline.

OpenAI offers users data controls for exporting history and deleting accounts, and privacy regulations attach legal deadlines to both. This question tests whether you can coordinate a long-running workflow across many independently owned stores and prove that it finished.

What the Interviewer Expects
  • Inventory every data store and make each owner register a handler
  • Use a durable workflow engine with per-store steps, retries and status
  • Produce exports asynchronously and deliver them via expiring links
  • Make deletion idempotent and verifiable, including backups and derived data
  • Track SLA compliance and surface stuck requests to on-call
Key Topics to Cover
workflow orchestration
privacy compliance
idempotency
data lineage
async jobs
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you handle data in backups that cannot be selectively deleted?
  • What if a user deletes their account while an export is still building?
  • How would you prevent an attacker with a stolen session from exporting everything?
  • How do you handle a new team adding a store that nobody registered?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements
  • User requests export: within a deadline they get a downloadable archive (conversations, files, settings) by email link.
  • User requests deletion: account disabled immediately, all personal data remo...
High-Level Design
  • Privacy request API creates a request record and performs step-up verification (recent login, email confirmation).
  • Workflow engine (Temporal-like) runs one workflow per request. Steps are ...

Submit Your Answer
Markdown supported