Compliance
How to Make Your App DPDP-Compliant in 7 Days
A practical 7-day sprint to get your Indian SaaS or AI app compliant with the Digital Personal Data Protection Act — from PII audit to policy deployment.
Day 1: Audit Your PII Surface Area
You can't protect what you can't see. Run a PII discovery scan across your codebase, databases, and LLM logs. Common hotspots: auth tables (email, phone), order tables (address, payment method), LLM prompt logs (users often paste Aadhaar/PAN into chatbots), analytics tools (user IDs that can be re-linked), and third-party API payloads.
Use CrewCheck's free DPDP scan to instantly identify PII leaking through your AI layer. For your database, run a column-by-column audit with a simple script that checks for patterns matching Aadhaar, PAN, UPI, IFSC, and standard phone/email formats.
Day 2: Map Data Flows and Legal Bases
Create a data flow diagram showing where each PII type originates, where it's stored, who can access it, and whether it crosses borders (DPDP Section 16 on restricted transfers). For each PII type, document the legal basis: consent (Section 6), legitimate use (Section 7), or one of the Section 7 exemptions.
Prioritise: Aadhaar and PAN require explicit consent and purpose limitation. Health data requires separate consent. Children's data (under 18) requires verifiable parental consent under Section 9.
Day 3: Deploy PII Redaction at the AI Layer
If your product uses any LLM, deploy a redaction gateway before your sprint ends. Every prompt containing personal data must be sanitised before reaching the model, and every response must be scanned on the way back. This single step eliminates the largest DPDP exposure vector for AI companies.
With CrewCheck, deployment takes under 30 minutes: replace your OpenAI base URL with the CrewCheck endpoint, add your API key, and configure the Indian PII policy pack. No changes to your application code. See the quickstart at /developers.
Day 4: Implement Consent Mechanisms
DPDP Section 6 requires granular, purpose-specific consent. Audit every data collection point: registration form, KYC flow, chatbot sessions, analytics opt-ins. Add a consent record store that logs: user ID, consent timestamp, purpose, data type, and expiry.
For AI applications, add in-context consent when users first interact with AI features that might retain conversation data. A simple pre-session notice with explicit opt-in satisfies Section 6 if it clearly states what data is collected, for what purpose, and for how long.
Day 5: Set Up Grievance Redressal
DPDP Section 13 requires a Grievance Officer with a published name and contact. Set up a grievance email (e.g., grievance@yourcompany.in), add it to your Privacy Policy, and create an intake workflow. The officer must respond within 30 days of receiving a complaint.
Also implement DSR (Data Subject Request) flows: access (show a user their data), correction, and erasure. Erasure is the hardest — you need to propagate deletes through all stores including LLM fine-tuning datasets and third-party processors.
Day 6: Update Privacy Policy and Notices
Your Privacy Policy must now explicitly reference DPDP compliance. Include: categories of personal data collected, purpose and legal basis for each, retention periods, cross-border transfer safeguards, data principal rights (access, correction, erasure, grievance), and the Grievance Officer contact.
Update your cookie notice, app store listings, and any marketing materials that mention data handling. DPDP Section 5 requires privacy notices to be clear, concise, and in a language the user understands.
Day 7: Validate, Test, and Document
Run the free CrewCheck DPDP Scan one more time to confirm your AI layer is clean. Conduct a walkthrough of each consent flow, the DSR process, and the grievance intake. Document your compliance posture as a baseline — this becomes your starting evidence for any future regulatory inquiry.
Create a DPDP compliance runbook: who owns each obligation, what tools implement it, what the monitoring cadence is, and what triggers a breach notification (you have 72 hours under DPDP Section 25 to notify the Data Protection Board after becoming aware of a breach).
Compliance operational checklist
How to Make Your App DPDP-Compliant in 7 Days should be reviewed as an operating control, not only as a reference article. The minimum checklist is a data inventory, a stated processing purpose, owner approval, PII detection at the AI boundary, redaction or tokenisation where possible, retention limits, vendor transfer records, and a tested user-rights workflow. This checklist gives engineering and compliance teams a shared language for deciding what must be blocked, what can be allowed in shadow mode, and what needs human review before production release.
For AI systems, the review should include prompts, retrieved context, tool call arguments, model responses, logs, traces, analytics events, exports, and support attachments. Many incidents happen because teams scan only the visible form field while sensitive data moves through background context or observability tooling. CrewCheck's recommended pattern is to place the scanner at the request boundary, record the policy version, and keep audit evidence that shows which identifiers were detected and what action was taken.
A practical rollout starts with representative samples from production-like traffic. Run a DPDP scan, sort findings by identifier sensitivity and blast radius, fix Aadhaar, PAN, financial, health, children's, and precise-location exposure first, then move to consent wording, retention, deletion, and vendor review. Use shadow mode when false positives could disrupt users, and promote to enforcement only after the exceptions have owners and expiry dates.
This page is educational and should be paired with legal review for final policy interpretation. The operational proof should still come from repeatable evidence: scanner results, audit exports, pull-request checks, policy configuration, and a documented owner for the workflow. That combination is what makes the content useful during buyer diligence, board review, regulatory questions, or an incident investigation.
Related pages
Check your own workflow
Run a free DPDP scan before this risk reaches production.
Scan prompts, logs, documents, and API payloads for Indian PII exposure, missing redaction, and audit gaps. Backlinks: learn hub, developer docs, pricing, and the DPDP scanner.