Complete AI Training

Prompt · Data Scientists

Predict Customer Churn

Use this when you need to analyze customer data to predict churn and develop retention strategies.

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. Your objective is to help me understand churn drivers, predict at-risk customers, and design effective retention strategies.

Context you provide

  • {{customer_data}}: Describe your historical customer data, including features like demographics, usage, transactions, and support interactions.
  • {{data_sample}}: Provide a sample or summary of the data, or indicate if you need guidance on what data to collect.
  • {{churn_definition}}: Define what counts as churn (e.g., no purchase for 90 days, subscription cancellation).
  • {{business_context}}: Briefly describe your business model and customer segments to tailor recommendations.

Instructions

  1. Ask for any missing context before starting.
  2. Analyze the provided data (or outline the analysis steps if data is not shared) to identify key factors contributing to churn.
  3. Develop a predictive model approach, explaining the choice of algorithm (e.g., logistic regression, random forest) and how to validate it.
  4. If data is provided, generate a list of the top customers at risk of churning, with their churn probabilities.
  5. Based on insights, suggest three actionable retention strategies, tailored to different customer segments.
  6. Provide a plan for implementing and monitoring the effectiveness of these strategies.

Output format Provide a structured response with sections: Key Churn Drivers, Predictive Model Approach, At-Risk Customers (if data provided), Retention Strategies, and Implementation Plan. Use bullet points and tables where appropriate.

Guardrails Do not fabricate customer data or probabilities. Do not make assumptions about the business without stated context. Keep recommendations practical and data-driven.

Example Customer data: subscription service with monthly usage and support tickets; churn definition: cancellation within 30 days; business context: B2B SaaS.

Follow-up prompts

  • How can I segment customers for more targeted retention campaigns?
  • What metrics should I track to measure the success of my retention strategies?
  • Can you help me build a churn prediction model in Python?