Module 2 · Data Mapping Workshop

Manish Garg
Manish Garg Associate of (ISC)² · RingSafe
Apr 19, 2026
11 min read
Read as

Last updated: April 29, 2026

Every DPDP compliance failure begins with the same sentence: “We didn’t know we had that data.” Data mapping is the discipline of finding out — comprehensively, systematically, and in a format you can defend to a Data Protection Board inquiry.

Every DPDP compliance failure begins with the same sentence: “We didn’t know we had that data.” Data mapping is the discipline of finding out — comprehensively, systematically, and in a format you can defend to a Data Protection Board inquiry.

If you read only one module from this path before your organisation’s DPDP compliance programme begins, make it this one. Every other control — consent flows, rights responses, breach notifications, DPIAs — depends on knowing what personal data you have, where it lives, how it moves, and who touches it. Skip data mapping, and you’re guessing. Guesses don’t survive an audit.

This module is a 90-minute workshop. By the end you will have a data-map template you can adapt to your own organisation and the working methodology to run your first mapping exercise in 5–10 working days.

What a data map actually is

A data map is a structured inventory that answers seven questions for every element of personal data your organisation processes:

  1. What — the specific data element (e.g. email address, PAN number, bank account)
  2. Where from — the source (direct user input, Google OAuth, KYC vendor, bureau pull)
  3. Why — the business purpose (account creation, marketing, billing, fraud detection)
  4. Who — the internal teams and external parties who can access it
  5. Where it lives — primary storage + all copies (production DB, analytics warehouse, backups, logs, CRM)
  6. How long — retention period, triggered by what event
  7. Legal basis — which of the six DPDP grounds for processing applies

That’s it. Seven columns. The complexity comes not from the columns but from discovering every row — because every Indian organisation has more personal data flowing through more systems than the founders or the compliance team realise.

Why teams skip data mapping (and why that’s fatal)

Data mapping is unglamorous. It produces no code, no deliverable a customer sees, no dashboard a CEO shows investors. The temptation is to jump straight to the visible fixes — a new Privacy Policy, a consent banner, an “export my data” button — and skip the tedious inventory.

This is the single most expensive mistake an organisation can make. Here’s what a missed data-map row looks like:

  • Your app uses Firebase Analytics. Firebase collects advertising identifiers (IDFA / AAID) which are personal data under DPDP. You don’t mention Firebase in your Privacy Policy. A Data Principal complains. Your Notice is now incomplete. ₹50 crore exposure.
  • Your marketing team uploads a CSV of customer emails to Facebook’s Custom Audiences. That’s a cross-border transfer of personal data. Your data-processing agreements don’t mention Facebook. Section 16 cross-border compliance gap.
  • A support agent exports a list of last 500 tickets (with customer emails and phone numbers) to Excel for offline analysis. The Excel sits on a personal laptop. The laptop is stolen. Section 8(5) security breach + Section 8(6) notification obligation.

Each of these happened because the data map didn’t include the flow. You cannot secure, govern, or notify about what you haven’t inventoried.

The four-pass methodology

Don’t try to build a complete data map in one meeting. It won’t work. The human brain cannot hold enough simultaneously. Instead, run four successive passes — each pass catches what the previous one missed.

Pass 1 — Interview each team (Day 1–3)

Sit with every functional team that touches customer or employee data. Typical Indian startup list: Engineering, Product, Marketing, Sales, Customer Support, Finance, HR, Legal, Operations. Ask each team:

  • “What personal data do you see in your day-to-day work?”
  • “Where does it come from and where does it go?”
  • “Which tools or SaaS products do you use that touch customer or employee data?”
  • “Has anyone ever asked you to export a customer list? For what?”

Write down every tool name. Every database. Every spreadsheet. Every shared Drive folder. Every third-party API. Don’t judge yet — just inventory. Expect a startup with 30 employees to name 40–80 distinct systems that process personal data.

Pass 2 — Walk the code (Day 2–5)

The second pass is technical. A senior engineer walks through the production codebase looking for:

  • Every table or document store that contains personal-data fields (search for columns named: email, phone, name, address, pan, aadhaar, dob, account_no, ifsc, pincode, otp)
  • Every third-party SDK integrated into mobile or web (Firebase, Mixpanel, Amplitude, Segment, Sentry, FullStory, Hotjar, Intercom — each sees personal data)
  • Every outbound API call that sends personal data (payment gateway, KYC vendor, credit bureau, email/SMS/WhatsApp provider, shipping provider)
  • Every webhook that receives personal data
  • Every S3 bucket / GCS bucket / blob storage that contains exports
  • Every log line that writes personal data (application logs, access logs, audit logs)

Use grep. Use your IDE’s global search. Use your APM tool’s “slow query” log. This is tedious — expect a full day per service. For a startup with 10 microservices, budget a full engineer-week.

Pass 3 — Audit the SaaS stack (Day 5–7)

This is where shadow IT surfaces. Every Indian startup has at least 2× more SaaS products than leadership thinks. Gather:

  • The corporate credit-card statement for the last 12 months — every SaaS subscription is there
  • The Google Workspace / Microsoft 365 admin audit log — every OAuth app a user has granted access to
  • The DNS CNAME records — every subdomain pointing at an external SaaS
  • The “Connected apps” list inside Slack, HubSpot, Zoho, Salesforce, whatever core CRMs you use

For each SaaS: what personal data does it receive? Where is it hosted (India / EU / US)? What’s its own privacy/security posture? Do you have a Data Processing Agreement (DPA) signed?

Pass 4 — Backups, logs, and decay (Day 7–10)

The fourth pass covers the data you forgot about. In almost every Indian startup, there is:

  • An old ex-employee’s laptop in a cupboard still containing exports
  • A Dropbox account opened in 2019 by a founder, still receiving weekly backups
  • A Google Sheet shared with “anyone with the link” — from a sprint three years ago
  • A mailbox of an ex-CTO that is still receiving system alerts with personal data in them
  • Database dumps taken for a migration exercise, never cleaned up

Ask each team: “What data do you know exists but we haven’t talked about?” That question surfaces 30% of the real data map.

A worked example — the SaaS startup data map

Let’s map the data flows of a fictional but representative Indian SaaS — “ChotaBooks”, a bookkeeping product for small shopkeepers. Here’s a partial data map:

Data element Source Purpose Storage Retention Legal basis
Email, name User signup form Account creation, login Postgres primary + daily backups (S3) Until account deletion + 30 days Consent
Phone number User signup form SMS OTP, transactional SMS Postgres + MSG91 (Indian SMS vendor) Until account deletion Consent
GSTIN Onboarding form GST filing feature Postgres (encrypted) 8 years (Income-tax Act requirement) Consent + legal retention
PAN number KYC step Identity verification IDfy API response + our Postgres (tokenised) 7 years (PMLA) Legal (KYC mandate)
Bank account number + IFSC Invoicing feature Generate invoices with correct bank details Postgres (encrypted column) Until removed by user + 90 days backup Consent
Payment card (last 4 digits + token) Subscription payment Recurring billing Razorpay (we store only token) Until subscription end + 7 years (tax) Contract / legal retention
Customer list (uploaded by user) CSV import feature User’s own CRM use Postgres (scoped to user’s org) Until user deletes User is Fiduciary; we are Processor
Device fingerprint, IP Backend log Fraud detection, session security Cloudflare + our access logs 90 days (Cloudflare), 180 days (our logs) Voluntary provision (security)
Product usage events Mixpanel SDK Product analytics Mixpanel (US data centre) 5 years (Mixpanel default) Consent (analytics opt-in)
Support ticket content Help widget Customer support Zendesk (US) + email archive 3 years after closure Contract

Ten rows. This is a partial map for a simple SaaS. A real map for ChotaBooks would have 50–100 rows. Notice the patterns:

  • Different legal bases for different rows — consent, contract, legal retention, and the startup as Processor (not Fiduciary) for customer-uploaded content
  • Different retention triggers — some tied to account deletion, some to tax law, some to vendor defaults
  • Cross-border flows (Mixpanel, Zendesk in US) — these need separate DPDP §16 compliance and DPA sign-off
  • “Sensitive” data (PAN, bank account) demand stronger controls than email/name

The hidden flows most startups miss

Based on pen-tests of 20+ Indian SaaS companies over the last three years, these are the data flows that reliably get missed in a first-pass data map:

  1. Application logs containing request bodies. If your NGINX or application log captures POST body content, it is storing personal data by default. Most startups don’t realise this until a pen-test flags it.
  2. Error monitoring (Sentry / Rollbar / Bugsnag) — stack traces often include local variables, which contain user data. An error in the signup flow can dump an entire user object into Sentry, including their password plaintext if not hashed yet.
  3. Session replay tools (FullStory, Hotjar, LogRocket) — record every keystroke including passwords and credit-card numbers unless explicitly configured to mask them.
  4. Email newsletters sent via Mailchimp / SendinBlue / similar — the full customer list is uploaded, replicated in the vendor’s system, retained per their policy, often in US data centres.
  5. Back-office tools — Retool, Metabase, Hex. Internal admin dashboards pull personal data into a tool that lives outside your primary database.
  6. CI/CD pipelines — databases sometimes get dumped to staging environments for debugging. Those staging environments have weaker access controls.
  7. WhatsApp Business APIs — increasingly used by Indian startups for customer messaging. WhatsApp is owned by Meta; message content and phone numbers traverse Meta’s infrastructure.
  8. “Help a user” scripts — one-off SQL run by an engineer in response to a support ticket. These rarely get audited. Often include copies pasted into Slack.
  9. Data-science notebooks — Jupyter notebooks downloaded to personal laptops for exploratory analysis.

None of these are exotic. All of them exist in the average Indian SaaS. All of them are personal-data flows that must appear on your data map.

The 10-minute self-audit

If you don’t have time for the full four-pass methodology right now, do this mini version — it will catch 60% of the highest-risk flows:

  1. List every system that knows a customer’s email address. Stop when you have 10.
  2. For each, ask: (a) who in the team can export data from it? (b) do we have a DPA signed? (c) is there a retention policy applied?
  3. For any “no” answer to (b) or (c), that system is a red row in your data map. Flag for remediation.
  4. Repeat for phone number, PAN, and bank account.

Even this abbreviated audit will typically surface 5–15 action items for an Indian startup.

Tooling

For an organisation up to ~100 employees, a well-structured spreadsheet is sufficient. Columns: Data element · Source · Purpose · Storage · Third parties · Retention · Legal basis · Risk rating · Last reviewed · Owner.

For larger organisations, consider:

  • OneTrust — enterprise privacy management, heavy and expensive, but the global default
  • BigID — strong automated discovery of personal data across databases
  • Spirion / Varonis — data-at-rest scanning focused
  • Indian contenders — Tsaaro, Lumos, Databrainz — several Indian specialists are emerging; evaluate based on DPDP fit

For most Indian startups under Series B, a maintained Google Sheet plus quarterly review cadence beats any automated tool. Tools tempt you to stop thinking. The data map is a thinking artefact — if your team doesn’t know what’s in it, a tool won’t save you.

Maintenance — the part nobody does

A data map is not a one-time deliverable. Every product change, every new vendor, every new integration is a potential new row or a changed row. Practical cadence:

  • Quarterly full review — the privacy lead + engineering lead walk the map row by row. Flag anything changed.
  • Mandatory data-map update for every new vendor procurement — write it into your procurement process. No PO without a data-map row.
  • Annual external audit — for anything above Series B, consider paying an external reviewer to sanity-check the map.

If your organisation is likely to become a Significant Data Fiduciary, the data map is the single most important document for your DPO and Data Auditor. Start maintaining it now, not when the SDF notification arrives.

The DPDP-specific lens

A generic data map (for ISO 27001 or GDPR purposes) is most of what you need. The DPDP-specific additions:

  • Legal basis must map to one of the six DPDP grounds — not GDPR’s six (which include “legitimate interest” — unavailable under DPDP)
  • Children’s data flag — any row where the Data Principal could plausibly be under 18 needs its own remediation plan (verifiable parental consent or age-gating)
  • Cross-border flag — where data leaves India, check Section 16 compliance and the destination-country list (still being finalised)
  • Grievance routing — for each data flow, where does a Data Principal’s complaint about that data land? Who owns the response?
  • SDF readiness — if you’re likely to be designated, flag which flows trigger DPIA requirements and which need audit coverage

Quick reference summary

  • Data mapping answers 7 questions per element: what, from, why, who, where, how long, legal basis
  • Use the 4-pass methodology: team interviews → code walk → SaaS audit → backups/logs
  • Startups typically discover 40–80 personal-data systems on first mapping
  • Hidden flows: application logs, Sentry, session replay, email marketing, Retool, CI/CD, WhatsApp Business, ad-hoc SQL, notebooks
  • Spreadsheet is fine for <100 employee teams; tools needed above that
  • Maintain quarterly + per-vendor + annual external review
  • DPDP-specific lens: map to 6 grounds, children flag, §16 cross-border flag, grievance routing, SDF readiness

Take the quiz below. Next up: Module 3 — Designing Consent UX — where we take the theoretical requirements for valid consent and translate them into specific interface patterns that pass both DPDP review and usability testing.

🧠
Check your understanding

Module Quiz · 20 questions

Pass with 80%+ to mark this module complete. Unlimited retries. Each question shows an explanation.

Up next
Module 3 · Designing Consent UX

Continue →

Want this for your team?

Custom team training + practitioner advisory

Beyond the free academy — we run private workshops, vCISO advisory, and red-team exercises tailored to your stack. For Indian SMBs scaling past their first hire.

Book team training call Replies in 4 working hrs · India-only · Senior consultants