Tr?id=1076949064639753&ev=PageView&noscript=1
$56M+ Revenue Generated for Clients 450+ Happy Clients 30+ Team Members AI Powered Services
Article · Automations

How to Prepare CRM Data for Lead Conversion and Churn Models

Rebuild what your team knew at each decision, then audit lead and renewal labels before training a model.

Raghav Mittal
Contributor Raghav Mittal Dec 1, 2026 · 4 min read
Workflow cover showing signals, outcomes and action for separate conversion and churn predictions.

In short

  • Define a decision time and label for each CRM record.
  • Rebuild the inputs that were available at that time.
  • Keep pending labels, duplicates and exclusions visible.
  • Save a reproducible export before evaluating a model.

A CRM can show the current stage of a lead or the latest status of a contract. To build a useful prediction dataset, you need the earlier record as it looked when the team could act. Prepare a separate dataset for lead conversion and for account churn. Each needs a decision time, a prediction record and a way to verify the outcome later.

Define each record and its decision time

Choose the point when a score would inform a real decision. A sales team might review an enquiry as soon as it arrives. An account team might review a contract 60 days before renewal. With one row per enquiry and one row per eligible contract, the two datasets can use the same CRM while answering different questions.

  • Lead conversion. Record the enquiry ID, first review time and whether the lead reached the agreed qualified stage within a defined period. Decide how to handle duplicate enquiries before counting outcomes.
  • Churn. Record the contract ID, review time and whether that contract renewed by the agreed cutoff. Specify how pauses, early cancellations and contract changes are handled.

Rebuild the information available at that time

For a sample of records, list the source, entity ID, value, event timestamp and the time the value became available to the scoring process. A support incident may have happened on Monday and been imported on Wednesday. A score produced on Tuesday could only use the history available by Tuesday.

Choose the most recent permitted value available by the cutoff. Keep a missing value if there is no reliable history. Audit late corrections and backfills separately because a backdated record can still contain information the team learned later. For the underlying method, see Feast’s point-in-time join guidance.

Keep outcomes that are still pending visible

Choose how each outcome is verified, such as a dated qualification event or a signed renewal recorded in the contract system. Record the end of the observation window and when the result was confirmed. Leads still within the qualification window and contracts still eligible to renew need a pending state.

Before exporting, review counts for confirmed outcomes, pending rows, duplicates and records you could not match. Ask a sales or account owner to trace several rows back to source evidence. Give each excluded row a reason so your next export can explain any changes.

Replay two records before building the dataset

Illustrative example. An enquiry arrived on June 20 and qualified on July 8. For a 30-day conversion label, it is a positive outcome. The prospect’s original enquiry details were available at intake. The July qualification status belongs in the label, and the notes from July are excluded from the June input row.

Separately, an account has a July 31 renewal and a 14-day grace period. An extract on August 5 still marks it pending if no outcome has been confirmed. The account team checks the contract record after the agreed window before assigning an outcome. The two examples use independent cutoffs and label rules.

Save a dataset audit the CRM owner can repeat

For each export, record the source versions, filters, cutoff rules, excluded fields and reason for any unavailable history. Use later eligible records as a holdout once their labels are known. Fit transformations on training data and apply the fitted transformations to the holdout. The scikit-learn guidance on data leakage explains why that split matters.

When the dataset can be reproduced, use the separate lead-scoring guide for queue evaluation. For recurring ecommerce orders, use the subscription churn pilot checklist. If your CRM overwrites key history or your contract and lead records disagree, discuss a CRM data and integration audit with TNM.

Frequently asked questions

Use dated exports or an existing audit trail to reconstruct the earlier stage. If you cannot establish what was available at the cutoff, omit the field from historical tests and begin recording future changes.

Use the contract as the unit when renewals are decided separately. If the business acts at account level, define how contract events combine into an account outcome before assembling the dataset.

Keep the original event timestamp and the time the correction became available. Use the corrected value as an input only for decisions made after it was available. Keep an audit trail so the correction can be reproduced.

Wait for the defined observation period and relevant source updates. Report records that remain pending separately and use a consistent maturity rule across training and evaluation cohorts.

Want this applied to your store?

Get a free audit of your biggest conversion and SEO leaks, or size the upside with our CRO calculator first.