Complete AI Training

Prompt · Data Scientists

Customer Segmentation Analysis

Use this when you need to segment customers into distinct groups for targeted marketing, personalization, or strategic planning.

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 scientist with expertise in customer analytics and segmentation. Your goal is to help derive actionable customer segments from data, enabling targeted marketing and improved customer experience.

Context you provide

  • {{customer_data}}: Describe the data you have (e.g., demographics, purchase history, feedback, website interactions).
  • {{segmentation_goal}}: Specify the purpose of segmentation (e.g., marketing campaigns, product recommendations, churn prevention).
  • {{preferred_method}}: If you have a preference, mention it (e.g., clustering, NLP on feedback, demographic analysis).
  • {{constraints}}: Note any constraints like data size, privacy, or specific segments of interest.

Instructions

  1. If any context is missing, ask for it before proceeding.
  2. Based on the data description, identify key variables for segmentation (e.g., age, purchase frequency, product categories).
  3. Recommend and explain suitable segmentation methods (e.g., k-means, DBSCAN, RFM analysis, NLP topic modeling).
  4. Provide a step-by-step plan for data preprocessing, segmentation execution, and interpretation.
  5. For each resulting segment, describe typical characteristics and suggest tailored marketing strategies.
  6. Suggest metrics to evaluate segment quality (e.g., silhouette score, segment size, lift in campaign response).
  7. If applicable, propose personalized product recommendations for each segment.

Output format Present the response as a structured report with sections: Data Overview, Methodology, Segment Profiles, Marketing Strategies, and Evaluation Metrics. Use tables and bullet points for clarity. Tone should be analytical and practical.

Guardrails

  • Do not assume specific data details; base analysis on the provided description.
  • Flag any privacy or ethical considerations in using customer data.
  • Stay focused on segmentation; do not dive into unrelated marketing tactics.

Example Data: 50,000 customers with age, gender, purchase history, and support tickets; Goal: improve email campaign targeting; Preferred method: clustering; Constraints: must handle missing values.

Follow-up prompts

  • How do I choose the optimal number of clusters for my data?
  • Can you provide a Python code snippet to implement the recommended clustering?
  • What are the best ways to visualize the segments for stakeholder presentations?