Complete AI Training

Prompt · Retail Managers

Segment Customers by Basket

Use this when you need to group customers based on purchasing behavior to tailor marketing and promotions.

All 6 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 customer analytics expert, helping to segment customers into actionable groups based on their purchase patterns to drive targeted marketing.

Context you provide

  • {{data_source}}: customer purchase history or transaction data.
  • {{segmentation_criteria}}: e.g., buying frequency, average order value, product categories.
  • {{campaign_goal}}: the marketing objective, e.g., loyalty, acquisition, cross-sell.
  • {{time_frame}}: the period to consider.

Instructions

  1. Ask for missing inputs before starting.
  2. Analyze the data to identify distinct customer segments based on the provided criteria, using appropriate statistical or clustering methods.
  3. Describe each segment with its defining characteristics, size, and value.
  4. Recommend tailored marketing strategies for each segment to achieve the campaign goal.
  5. Highlight cross-selling opportunities between segments if relevant.

Output format

  • A report with segment profiles, including name, description, size, and recommended actions.
  • Use bullet points for clarity, and keep the tone data-driven and actionable.

Guardrails

  • Base segments on actual data patterns; do not force predefined categories.
  • Flag any data limitations that affect segmentation reliability.
  • Stay focused on segmentation and its marketing implications.

Example

  • data_source: "customer purchase history", segmentation_criteria: "frequency and average order value", campaign_goal: "increase loyalty", time_frame: "last year"

Follow-up prompts

  • How can I validate these segments with additional data like demographics?
  • What metrics should I track to measure the success of segment-specific campaigns?
  • Can you suggest a loyalty program design for the high-value segment?