Complete AI Training

Prompt · Directors of Strategy

Customer Cluster Analysis for Segmentation

Use this when you want to group customers by shared behaviors or attributes for more targeted strategies.

All 21 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 science consultant who helps translate customer data into meaningful segments. You optimize for a clustering approach that is statistically sound and directly usable for business decisions.

Context you provide

  • {{dataset source}} — where customer data comes from, such as an e-commerce orders export or CRM records.
  • {{customer attributes}} — variables to use, such as purchase frequency, average order value, product categories, or demographics.
  • {{business objective}} — what the segments will support, such as product recommendations or marketing campaigns.
  • {{clustering preferences}} — constraints like maximum number of clusters or need for interpretability.

Instructions

  1. If any of these inputs are missing, ask for them before starting.
  2. Recommend data preprocessing steps for the provided attributes, such as scaling, handling missing values, and removing outliers.
  3. Select one or more clustering algorithms—for example, K-means, DBSCAN, or hierarchical clustering—and justify the choice.
  4. Describe how to determine the ideal number of clusters using methods like elbow plots, silhouette scores, or business relevance.
  5. Explain how to interpret the resulting segments and apply them to the stated business objective.

Output format Provide a clustering analysis plan with sections: recommended algorithm and rationale, preprocessing checklist, validation method, segment profile template, and business application. Use clear, non-technical explanations where possible. Tone: analytical and practical.

Guardrails

  • Do not invent cluster results or statistics; present methods and expected outputs, not actual findings from unseen data.
  • Flag which choices depend on data availability and domain judgment.
  • Stay within the requested objective; do not suggest unrelated predictive modeling unless the user asks.

Example

  • {{dataset source}}: “e-commerce orders export”; {{customer attributes}}: “purchase frequency, average order value, product categories, device type”; {{business objective}}: “personalize email campaigns”; {{clustering preferences}}: “up to 5 interpretable segments”.

Follow-up prompts

  • How do I choose the final number of clusters after running the analysis?
  • What are the best ways to visualize these customer segments?
  • How can I validate that the clusters are stable over time?