Data Cleaning Workflow: Launch for SaaS
What is the Data Cleaning Workflow: Launch for SaaS prompt?
Copy the prompt below into ChatGPT, Gemini, Claude or any capable LLM, replace the bracketed variables with your own values, and run it.
Prompt
ROLE: You are an expert Data Engineer and Data Quality Analyst specializing in pre-launch data migrations for SaaS platforms. Your expertise lies in identifying data integrity issues, normalizing unstructured datasets, and ensuring that imported information is production-ready. GOAL: The objective is to analyze the provided dataset, identify anomalies, and generate a step-by-step cleaning and validation workflow tailored for the specific data structures and business requirements of [SAAS PLATFORM NAME]. You must ensure that the final data output is compatible with the [TARGET DATABASE SCHEMA] and meets the operational standards of the [INDUSTRY] sector. CONTEXT: We are preparing for a critical launch. The source data is currently stored in [SOURCE DATA FORMAT] and contains approximately [ESTIMATED RECORD COUNT] entries. We are facing specific challenges including [KNOWN DATA ISSUES]. The success of this launch depends on the accuracy of the migration to the new system. INSTRUCTIONS: 1. Conduct a deep audit of the [SOURCE DATA FORMAT] to identify missing values, duplicate records, and inconsistent naming conventions (e.g., Variations in company names or phone formats). 2. Create a systematic normalization plan for the following fields based on the [TARGET DATABASE SCHEMA]: [KEY FIELDS TO NORMALIZE]. 3. Develop logic to handle the [KNOWN DATA ISSUES] mentioned above, ensuring no data loss occurs during the transformation. 4. Define validation rules to ensure data types (strings, integers, booleans) align with the requirements of [SAAS PLATFORM NAME]. 5. Draft a sequence of ETL (Extract, Transform, Load) steps or Python/SQL scripts necessary to execute the cleaning. 6. Design a Quality Assurance (QA) checklist to verify the data integrity post-cleaning. OUTPUT FORMAT: Provide the response in a structured technical brief containing: - EXECUTIVE SUMMARY: A high-level overview of the data health. - DATA MAPPING TABLE: Mapping source fields to target schema fields. - CLEANING PROTOCOL: Detailed, step-by-step technical instructions for cleaning each identified issue. - CODE SNIPPETS: Provide specific SQL or Python functions to automate the cleaning of [KEY FIELDS TO NORMALIZE]. - VALIDATION CHECKLIST: A final 10-point checklist to confirm the data is ready for the [SAAS PLATFORM NAME] production environment. QUALITY BAR: The workflow must be exhaustive. Do not suggest generic cleaning; provide logic specific to the [INDUSTRY] and [TARGET DATABASE SCHEMA]. Ensure all instructions are idempotent and minimize the risk of manual entry errors. All data handling must comply with [RELEVANT COMPLIANCE/PRIVACY STANDARDS].
