Your Lead to Cash Data Template

Universal process mining template
Your Lead to Cash Data Template

Your Lead to Cash Data Template

Universal process mining template

This is our generic process mining data template for Lead to Cash. Use our system-specific templates for more specific guidance.

Select a specific system
  • Essential data fields for a robust event log.
  • Key process steps and milestones to track.
  • Guidance on structuring your data for analysis.
New to event logs? Learn how to create a process mining event log.

Lead to Cash Attributes

This section details recommended data fields, or attributes, that should be included in your event log for comprehensive analysis of your Lead to Cash process.
5 Required 8 Recommended 4 Optional
Name Description
Activity Name
ActivityName
The name of the business event or task that occurred at a specific point in the sales process.
Description

The Activity Name describes a specific step or milestone within the Lead to Cash process, such as 'Opportunity Created', 'Quote Issued', or 'Payment Received'. Each activity represents a distinct event in the lifecycle of a sales opportunity.

This attribute is crucial for process discovery, allowing the visualization of the actual process flow. Analyzing different activities helps identify common pathways, deviations from the standard process, and bottlenecks where work accumulates. It forms the backbone of the process map and is used to calculate transition times between steps.

Why it matters

It defines the steps in the process map, enabling the visualization and analysis of the process flow, conformance checking, and bottleneck identification.

Where to get

Derived from event logs, status change records, task completion data, or specific activity tables related to the sales opportunity.

Examples
Opportunity QualifiedQuote IssuedContract SignedOrder FulfilledPayment Received
Event Time
EventTime
The timestamp indicating when a specific activity or event occurred.
Description

The Event Time, or timestamp, records the precise date and time that an activity took place. This chronological data is essential for ordering events correctly and reconstructing the timeline of each sales opportunity.

Process mining relies on timestamps to calculate key performance indicators like cycle times, activity durations, and waiting times between steps. By analyzing these timestamps, businesses can understand process performance, identify delays, and measure the impact of process improvement initiatives. It is the foundation for all time-based analysis.

Why it matters

This attribute is essential for sequencing events correctly and calculating all time-based metrics, such as cycle times and durations, which are critical for performance analysis.

Where to get

Found in event logs, transaction records, or as a creation or modification date on records associated with the sales opportunity.

Examples
2023-04-15T10:30:00Z2023-05-20T14:00:00Z2023-06-01T09:15:22Z
Last Data Update
LastDataUpdate
The timestamp indicating the last time the data was refreshed from the source system.
Description

This attribute records the date and time when the dataset was last updated or extracted from the source systems. It provides crucial context about the freshness of the data being analyzed.

Knowing the last data update time is important for reporting and analysis, as it informs users how current the process insights are. It helps in setting expectations about the data's timeliness and is vital for managing data refresh schedules and ensuring that decisions are based on sufficiently recent information.

Why it matters

It indicates the freshness of the data, which is critical for ensuring that analyses and business decisions are based on up-to-date information.

Where to get

This timestamp is typically generated and appended to the dataset during the data extraction, transformation, and loading (ETL) process.

Examples
2024-07-27T02:00:00Z2024-07-26T02:00:00Z2024-07-25T02:00:00Z
Sales Opportunity ID
SalesOpportunityId
The unique identifier for a sales opportunity, which represents a single instance of the Lead to Cash process.
Description

The Sales Opportunity ID serves as the primary case identifier, uniquely distinguishing each sales process from start to finish. It links all related activities, such as lead qualification, quote creation, and final order processing, into a single, cohesive journey.

In process mining, this ID is essential for reconstructing the end-to-end process flow for each opportunity. Analyzing processes based on this identifier allows businesses to track the lifecycle of each deal, measure cycle times, identify bottlenecks in the sales pipeline, and compare the paths of successful versus unsuccessful opportunities.

Why it matters

It is the fundamental key for connecting all process events, enabling the reconstruction and analysis of the entire Lead to Cash journey for each individual sales deal.

Where to get

Typically found in the header or main record of a sales opportunity, deal, or quote object in the source system.

Examples
OPP-0012345DEAL-98765SO-2023-54321OPTY-456-7890
Source System
SourceSystem
The system of record from which the data was extracted, such as the CRM or ERP system.
Description

The Source System attribute identifies the originating application or database where the event data was generated. In a complex Lead to Cash process, data may come from multiple systems, such as a CRM for sales activities and an ERP for order fulfillment and invoicing.

This attribute is valuable for data validation, troubleshooting, and understanding the context of the data. It helps in assessing data quality and can be used to analyze process variations that occur across different systems or business units that use separate system instances.

Why it matters

It provides context for the data, helps in data validation, and allows for analysis of process variations that may be tied to different originating systems.

Where to get

Typically added during the data extraction and transformation (ETL) process, or it may exist as a standard field in data warehouses.

Examples
Salesforce CRMSAP S/4HANAMicrosoft Dynamics 365Oracle CX Sales
Customer Name
CustomerName
The name of the company or organization associated with the sales opportunity.
Description

This attribute identifies the customer account, which can be a company or an individual, that the sales opportunity is for. It links the sales process to a specific client.

Analyzing the process by customer allows for a client-centric view of the sales cycle. Businesses can track the history of deals with specific customers, identify patterns in purchasing behavior, and measure the performance of the sales process for key accounts. It is also valuable for identifying process issues that may be impacting customer satisfaction or leading to lost deals with specific clients.

Why it matters

It provides a customer-centric view of the process, enabling analysis of sales cycles for key accounts and identifying customer-specific process issues.

Where to get

Found as a standard field on the sales opportunity or linked account/contact record in the source system.

Examples
Global Tech Inc.Innovate Solutions LLCPioneer CorpQuantum Industries
Discount Percentage
DiscountPercentage
The discount percentage applied to the sales opportunity, if any.
Description

This attribute records the percentage of discount given on a quote or final order. It reflects the deviation from the standard list price to secure the deal.

Analyzing discount levels is key to understanding sales profitability and pricing strategy effectiveness. In process mining, it can be used to see if higher discounts correlate with faster cycle times or higher win rates. It can also help identify sales representatives who rely heavily on discounting and check for compliance with discounting policies. This analysis supports the 'Discounting Effectiveness' dashboard.

Why it matters

It is crucial for analyzing pricing strategy, sales profitability, and compliance with discounting policies, and it helps correlate discounting with sales performance.

Where to get

Typically found on the quote, order, or opportunity product line item records.

Examples
0.050.100.150.25
Lead Source
LeadSource
The original source or channel through which the lead for the opportunity was acquired.
Description

Lead Source tracks the origin of a sales lead, such as 'Website', 'Trade Show', 'Partner Referral', or 'Marketing Campaign'. It provides insight into which channels are generating the most valuable business opportunities.

This attribute is critical for evaluating the effectiveness of different marketing and sales channels. By analyzing process metrics like win rate, deal size, and sales cycle time by lead source, companies can determine the return on investment for each channel. This analysis helps optimize marketing spend by focusing resources on the channels that produce the most profitable and efficient sales.

Why it matters

It helps measure the effectiveness and ROI of different marketing channels by linking them to concrete sales outcomes and process performance.

Where to get

A standard field on the lead or opportunity record, typically populated when the lead is first created.

Examples
WebsitePartner ReferralTrade ShowCold Call
Opportunity Amount
OpportunityAmount
The potential or actual monetary value of the sales opportunity.
Description

This attribute represents the estimated or final revenue associated with a sales opportunity. It is a critical financial metric used to forecast sales, prioritize deals, and measure the financial impact of the sales process.

In process mining, Opportunity Amount is used to segment and analyze the process based on deal size. For instance, analysts can compare the process flow for high-value deals versus low-value deals to see if they follow different paths or have different cycle times. It is also fundamental for calculating the financial impact of process inefficiencies, such as the value of stalled or lost opportunities.

Why it matters

It allows for financial analysis of the sales pipeline, prioritization of high-value deals, and segmentation of the process to understand how deal size impacts performance.

Where to get

Available as a standard financial field on the sales opportunity or deal record.

Examples
50000.00125000.5010000.75250000.00
Opportunity Outcome
OpportunityOutcome
The final result of the sales opportunity, typically indicating if it was 'Won' or 'Lost'.
Description

Opportunity Outcome captures the final status of a sales deal after it has exited the active pipeline. This binary or categorical attribute is crucial for evaluating the effectiveness of the sales process.

This attribute is the basis for calculating the 'Opportunity Win Rate', one of the most important sales KPIs. Process mining uses this outcome to compare the process flows and characteristics of won deals versus lost deals. This comparative analysis can reveal patterns, activities, or delays that are more common in lost opportunities, providing actionable insights for process improvement.

Why it matters

It is essential for calculating the win rate and enabling comparative analysis between the process paths of successful and unsuccessful deals.

Where to get

Often derived from a 'Status' or 'Stage' field where specific values correspond to won or lost. Some systems have a dedicated boolean flag, like 'IsWon'.

Examples
WonLostClosed - No Decision
Opportunity Owner
OpportunityOwner
The sales representative or user assigned to and responsible for the sales opportunity.
Description

The Opportunity Owner identifies the individual sales representative or team accountable for managing a sales opportunity through its lifecycle. This person is the primary point of contact and is responsible for moving the deal forward.

This attribute is a key dimension for performance analysis. It enables filtering and comparing process metrics, such as cycle times, win rates, and discount levels, across different sales representatives or teams. This analysis can uncover best practices from top performers and identify areas where coaching or additional support is needed.

Why it matters

It enables performance analysis by sales representative or team, helping to identify top performers, best practices, and opportunities for coaching.

Where to get

Available as a standard field on the sales opportunity or deal record, often labeled as 'Owner', 'Assigned To', or 'Sales Representative'.

Examples
John SmithJane DoeSales Team APartner-XYZ
Sales Region
SalesRegion
The geographical region, territory, or market segment associated with the sales opportunity.
Description

The Sales Region attribute categorizes opportunities based on their geographical location or assigned sales territory. This could be defined by country, state, city, or custom-defined business territories.

This is a powerful dimension for segmenting process data. By filtering or comparing performance across different regions, businesses can identify regional variations in sales cycle times, win rates, and process conformance. Such analysis can inform resource allocation, highlight regional market differences, and identify successful strategies in high-performing regions that could be replicated elsewhere.

Why it matters

It enables performance benchmarking across different geographical markets, revealing regional variations in process efficiency and sales outcomes.

Where to get

Typically a standard field on the customer account or sales opportunity record. It may also be derived from the opportunity owner's territory assignment.

Examples
North AmericaEMEAAPACLATAMUS-West
Sales Stage
SalesStage
The stage of the sales opportunity in the pipeline, such as 'Qualification' or 'Negotiation'.
Description

The Sales Stage indicates the current or historical position of an opportunity within the defined sales pipeline. These stages represent key milestones that a deal must pass through on its way to being won or lost.

Analyzing sales stages is fundamental to understanding the sales funnel and pipeline health. It allows for the creation of lead conversion funnels to see where deals drop off, measurement of the time spent in each stage, and identification of bottlenecks where opportunities tend to stall. Comparing stage transitions against a defined process helps in compliance analysis.

Why it matters

It is essential for sales funnel analysis, identifying pipeline bottlenecks, and measuring the velocity at which deals move through the sales process.

Where to get

Typically available as a standard field on the sales opportunity or deal object, often based on a predefined picklist.

Examples
QualificationNeeds AnalysisProposal/Price QuoteNegotiation/Review
Opportunity Type
OpportunityType
A classification of the opportunity, such as 'New Business' or 'Existing Customer'.
Description

Opportunity Type categorizes deals based on their nature, typically distinguishing between acquiring a new customer versus selling more to an existing one. Other categories might include 'Renewal', 'Upgrade', or 'Cross-sell'.

This is a valuable dimension for segmentation. The sales process for new business is often longer and more complex than for an existing customer. By analyzing the process separately for each type, companies can set realistic performance benchmarks, identify unique bottlenecks, and tailor sales strategies appropriately. This leads to more accurate forecasting and more effective sales motions.

Why it matters

It allows for process segmentation based on sales motion, enabling more accurate performance benchmarking and targeted process improvements for different types of sales.

Where to get

Usually a standard dropdown or picklist field on the sales opportunity object.

Examples
New BusinessExisting Customer - UpsellExisting Customer - RenewalPartner Sourced
Payment Terms
PaymentTerms
The agreed-upon terms for payment, such as Net 30 or Net 60.
Description

Payment Terms define the conditions under which a customer is expected to pay for the goods or services delivered. Common examples include 'Net 30', meaning payment is due within 30 days of the invoice date, or 'Due on Receipt'.

This attribute is important for analyzing the later stages of the Lead to Cash process, specifically the 'Order to Payment' cycle. By analyzing payment times against the agreed-upon terms, businesses can identify late payments, measure Days Sales Outstanding (DSO), and assess the effectiveness of the collections process. It can also show whether certain payment terms correlate with faster deal closures.

Why it matters

It provides the baseline for analyzing payment timeliness, measuring collections effectiveness, and understanding the financial health of the cash flow process.

Where to get

Found on the sales order, invoice, or sometimes on the customer account record as a default term.

Examples
Net 30Net 60Due on Receipt50% Upfront, 50% on Delivery
Product Category
ProductCategory
The category of the product or service being sold in the opportunity.
Description

Product Category groups the products or services associated with a sales opportunity into broader classifications, such as 'Hardware', 'Software', or 'Consulting Services'. This provides a high-level view of what is being sold.

This attribute allows for process analysis based on the type of offering. Companies can discover if the sales process differs for different product categories, for example, if hardware sales have a longer fulfillment cycle than software sales. It helps identify which product categories have the highest win rates or longest sales cycles, providing valuable input for product strategy and sales training.

Why it matters

It enables analysis of process variations based on what is being sold, helping to tailor sales strategies and forecast resource needs for different offerings.

Where to get

Derived from the product or service line items associated with the sales opportunity, quote, or order.

Examples
Software LicenseHardwareProfessional ServicesSubscription
Sales Cycle Duration
SalesCycleDuration
The total time elapsed from when an opportunity was created until it was closed as won or lost.
Description

Sales Cycle Duration is a key performance indicator that measures the length of the entire sales process for a single opportunity. It is calculated as the difference between the opportunity creation date and the opportunity close date.

This attribute is typically calculated at the case level and provides a direct measure of sales velocity. In process mining analysis, it serves as a primary metric to optimize. By analyzing the factors that correlate with shorter or longer cycle times, such as lead source, opportunity owner, or deal size, businesses can identify strategies to accelerate the sales process and improve forecasting accuracy.

Why it matters

It is a critical KPI for measuring sales velocity and efficiency. Analyzing its drivers helps identify opportunities to shorten the sales process and improve forecasting.

Where to get

Calculated by subtracting the 'Opportunity Created' timestamp from the 'Opportunity Closed' timestamp for each SalesOpportunityId.

Examples
35 days 4 hours92 days 11 hours15 days 2 hours
Required Recommended Optional

Lead to Cash Activities

The activities table below presents key process steps and milestones essential for accurate process discovery and deep insights into your Lead to Cash execution.
8 Recommended 7 Optional
Activity Description
Invoice Generated
Indicates that a customer invoice has been created in a billing or accounting system. This activity formally initiates the payment collection process.
Why it matters

This is the start of the cash collection cycle. Tracking this helps analyze the time between fulfillment and billing, which impacts cash flow.

Where to get

Sourced from the creation of an invoice record in a financial or ERP system. The invoice is typically linked to the sales order or opportunity.

Capture

Use the creation date of the invoice record associated with the sales order.

Event type explicit
Opportunity Created
The official start of the sales process for a potential deal. This event is recorded when a new opportunity record is created, either manually by a user or automatically from a converted lead.
Why it matters

It marks the beginning of the sales cycle, allowing for accurate measurement of the total lead-to-cash duration and lead conversion rates.

Where to get

Sourced from the creation timestamp of the primary opportunity or deal record in a CRM system.

Capture

Use the creation date of the opportunity record.

Event type explicit
Opportunity Lost
This is a terminal failure event where the deal is officially lost and closed. This occurs when a customer decides not to purchase or chooses a competitor.
Why it matters

Analyzing lost opportunities, including the stage at which they are lost, is essential for understanding sales process weaknesses and competitive pressures.

Where to get

Captured explicitly when a user moves an opportunity to the 'Closed Lost' or 'Lost' stage. This is a standard feature in CRM systems.

Capture

Capture the timestamp when the opportunity's status or stage is set to 'Closed Lost' or 'Lost'.

Event type explicit
Opportunity Qualified
Represents the milestone where the sales team has vetted the opportunity against key criteria such as budget, authority, need, and timing. It confirms the opportunity is viable and worth pursuing.
Why it matters

Helps distinguish serious prospects from initial inquiries, providing a clearer view of the qualified sales pipeline and improving forecast accuracy.

Where to get

Typically inferred from a change in the opportunity's sales stage to a 'Qualified' status or the completion of a qualification-related task.

Capture

Identify the timestamp when the opportunity status or stage first changes to 'Qualified', 'Discovery', or a similar value.

Event type inferred
Opportunity Won
This is a terminal success event where the deal is officially won and closed in the sales system. It confirms that the sales effort has resulted in a successful outcome.
Why it matters

This is the primary success milestone. It is crucial for calculating win rates, sales cycle duration for won deals, and overall sales performance.

Where to get

Captured explicitly when a user moves an opportunity to the 'Closed Won' or 'Won' stage. This is a standard feature in all CRM systems.

Capture

Capture the timestamp when the opportunity's status or stage is set to 'Closed Won' or 'Won'.

Event type explicit
Payment Received
This activity marks the final step in the Lead to Cash cycle, when the customer's payment has been received and reconciled. It signifies the successful completion of the financial transaction.
Why it matters

It is the terminal success event for the entire process. Analyzing the time from invoice to payment is critical for measuring days sales outstanding and cash flow performance.

Where to get

Recorded in a financial or accounting system. It is usually captured when the status of an invoice is updated to 'Paid' or a payment record is created.

Capture

Capture the timestamp when the invoice status is marked as 'Paid' or a payment clearing date is recorded.

Event type explicit
Quote Issued
This activity marks the creation and sending of a formal price quote to the customer for their review. It is a critical milestone where a specific price is put on the table.
Why it matters

This is a key commercial step. Analyzing the time from quote to decision provides insights into pricing effectiveness and sales negotiation cycles.

Where to get

Captured from the creation or status change of a quote object linked to the opportunity. The event occurs when the quote status becomes 'Sent', 'Presented', or 'Active'.

Capture

Use the timestamp when a quote linked to the opportunity is created or its status changes to 'Sent' or 'Presented'.

Event type explicit
Sales Order Created
Marks the internal handoff from the sales team to the fulfillment or operations team. A sales order is formally created in the system to manage the delivery of products or services.
Why it matters

It signifies the start of the order-to-cash sub-process. Analyzing the time from 'Opportunity Won' to 'Sales Order Created' reveals internal handoff efficiency.

Where to get

Sourced from the creation of a sales order record, which is often linked to the won opportunity. This data may come from the CRM or an integrated ERP system.

Capture

Use the creation date of the sales order record associated with the won opportunity.

Event type explicit
Contract Signed
Represents the finalization of the commercial agreement when the customer signs the contract, making it legally binding. This is the culmination of the sales negotiation phase.
Why it matters

Marks the official commitment from the customer. Analyzing the time from quote acceptance to contract signing can reveal bottlenecks in legal or approval processes.

Where to get

Captured from a status change on a contract object to 'Activated' or 'Signed', or inferred from the opportunity stage moving to 'Contract Signed'.

Capture

Use the timestamp when a linked contract's status becomes 'Activated' or 'Signed'.

Event type explicit
Opportunity Reopened
Represents an opportunity that was previously marked as lost or inactive but has been reactivated for further sales activities. This signifies a renewed sales effort.
Why it matters

Identifying reopened opportunities helps to analyze rework and understand why deals come back to life, which can inform sales strategy and forecasting.

Where to get

Inferred by observing an opportunity's status changing from a terminal state like 'Lost' back to an active, open stage.

Capture

Detect a sequence where the opportunity status is 'Lost' and is subsequently changed to an 'Open' status.

Event type inferred
Opportunity Stage Changed
Captures any change in the sales stage of an opportunity as it progresses through the pipeline. This activity represents the general movement of an opportunity.
Why it matters

Provides a granular view of the opportunity's journey, enabling analysis of stage durations, bottlenecks, and process deviations like stage regressions.

Where to get

Sourced from field history or audit logs that track changes to the 'Stage' or 'Status' field on the opportunity record.

Capture

Extract all changes from the field history table for the opportunity's stage field.

Event type explicit
Order Fulfilled
Represents the completion of product delivery or service provision to the customer. This event marks the end of the operational fulfillment cycle.
Why it matters

Measuring the order fulfillment cycle time is key to understanding operational efficiency and its impact on customer satisfaction.

Where to get

Typically sourced from an ERP or Order Management system. It is often recorded as a status change on the sales order record, such as 'Fulfilled' or 'Shipped'.

Capture

Capture the timestamp when the sales order status changes to 'Fulfilled', 'Shipped', or 'Completed'.

Event type explicit
Quote Accepted
This event occurs when the customer formally or informally agrees to the terms and pricing presented in the quote. This often precedes the final contract signing.
Why it matters

As a strong indicator of a likely win, it helps in forecasting revenue and understanding the time lag between price agreement and final contract.

Where to get

Usually captured from a status update on the quote record to 'Accepted' or 'Won', sometimes triggered via an e-signature integration.

Capture

Identify the timestamp when the status of the quote object changes to 'Accepted' or 'Won'.

Event type explicit
Requirements Gathered
Signifies that a discovery call or meeting has occurred and the customer's needs and requirements have been documented. This is a key step in tailoring the solution.
Why it matters

Understanding this activity helps analyze the duration of the discovery phase and its impact on proposal accuracy and win rates.

Where to get

Often inferred when the opportunity moves to a specific pipeline stage like 'Needs Analysis', 'Discovery', or 'Scoping'.

Capture

Capture the timestamp when the opportunity stage is updated to 'Needs Analysis' or similar.

Event type inferred
Solution Proposed
Represents the point at which a formal solution, proposal, or product demonstration has been presented to the potential customer. It marks the transition from discovery to active selling.
Why it matters

Tracks the progression of opportunities into a mature stage and helps measure the time it takes to move from discovery to proposal.

Where to get

Inferred from a deal stage change to a status like 'Proposal', 'Presentation Scheduled', or 'Demo Completed'.

Capture

Use the timestamp when the opportunity stage changes to 'Proposal', 'Presentation', or similar.

Event type inferred
Recommended Optional

Extraction Guides

How to get your data for process mining.

Extraction methods vary by system. For detailed instructions,

read our ETL guide

or select a specific process and system.