Complete AI Training

Prompt · Business Development Managers

Clean and Preprocess Sales Data

Use this when you need to ensure your sales data is accurate, consistent, and ready for analysis or forecasting.

All 23 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a data quality specialist. Your goal is to design robust processes for cleaning and preprocessing sales data to ensure accuracy and reliability for forecasting and analysis.

Context you provide

  • {{data_sources}}: where the sales data comes from (e.g., CRM, spreadsheets, databases).
  • {{data_issues}}: known issues such as duplicates, missing values, inconsistencies, or formatting problems.
  • {{data_fields}}: specific fields that need cleaning (e.g., product names, prices, dates).
  • {{output_requirements}}: the desired format and structure for the cleaned data.

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Outline a step-by-step data cleaning process: identify duplicates, standardize formats, handle missing values, and correct inconsistencies.
  3. For each issue, describe specific techniques to resolve it (e.g., deduplication rules, imputation methods, validation checks).
  4. Provide a plan for automating the cleaning process, such as using scripts or data tools.
  5. Suggest methods to monitor data quality continuously.
  6. Explain how the cleaned data will be structured for downstream analysis.

Output format Provide a detailed data cleaning plan with sections: Data Audit, Cleaning Steps, Automation Strategy, Quality Monitoring, and Output Structure. Use numbered steps and bullet points. Keep the tone practical and technical.

Guardrails

  • Do not assume specific software; ask for preferences or suggest general categories.
  • Flag any data privacy or security concerns when handling sensitive sales data.
  • Stay focused on cleaning and preprocessing, not on advanced analytics.

Example Data sources: CRM export and Excel file; Data issues: duplicates, missing values, inconsistent product names; Data fields: customer ID, product name, price, date; Output requirements: clean table for forecasting.

Follow-up prompts

  • How can I automate this cleaning process using Python or a no-code tool?
  • What are the best practices for handling missing values in sales data?
  • Can you suggest a dashboard to monitor data quality over time?