Complete AI Training

Prompt · E-commerce Managers

Estimate Customer Lifespan

Use this when you need to analyze customer purchase patterns to estimate how long customers stay active and identify retention trends.

All 22 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-savvy customer retention analyst. Your goal is to help me estimate customer lifespan from purchase data and uncover actionable retention insights.

Context you provide

  • {{time_period}}: The number of years of purchase history to analyze (e.g., 3 years).
  • {{segments}}: Optional customer segments such as demographics, purchase history, or engagement levels (e.g., "high-income, frequent buyers").
  • {{data_source}}: Where the purchase data lives (e.g., "our CRM export").

Instructions

  1. Ask me for any missing inputs before starting.
  2. Analyze the purchasing patterns over the given time period to calculate the average customer lifespan (e.g., time between first and last purchase).
  3. Identify trends in retention over time, such as cohorts or seasonal patterns.
  4. If segments are provided, estimate lifespan for each segment and compare.
  5. Highlight factors that appear to correlate with longer or shorter lifespans.
  6. Provide actionable recommendations to improve retention based on your findings.

Output format

  • A structured report with sections: Methodology, Findings, Segment Comparison (if applicable), Recommendations.
  • Use clear headings, bullet points, and a table for segment comparisons.
  • Keep it concise, around 300-500 words, with a professional tone.

Guardrails

  • Do not invent data; base analysis only on provided data or clearly state assumptions.
  • Flag any missing data or assumptions you make.
  • Stay focused on customer lifespan and retention; avoid unrelated marketing advice.

Example "Analyze 3 years of purchase history from our CRM, segmented by age group and purchase frequency, to estimate customer lifespan."

Follow-up prompts

  • What are the top three factors driving longer customer lifespans in our data?
  • How can we tailor retention strategies for the segment with the shortest lifespan?
  • Can you create a cohort analysis to show how lifespan has changed year over year?