Your Lead to Cash Data Template

Oracle CX Sales
Your Lead to Cash Data Template

Your Lead to Cash Data Template

This template guides you through preparing your Lead to Cash data for process mining. It outlines the essential attributes to collect, key activities to track, and provides valuable guidance for extracting this information from Oracle CX Sales. By following this template, you can ensure a comprehensive and accurate analysis of your process.
  • Recommended attributes for Lead to Cash analysis
  • Key activities to track across your sales and payment cycles
  • Detailed guidance for data extraction from Oracle CX Sales
New to event logs? Learn how to create a process mining event log.

Lead to Cash Attributes

These are the recommended data fields to include in your event log for a comprehensive analysis of your Lead to Cash process.
5 Required 5 Recommended 11 Optional
Name Description
Activity Name
ActivityName
The name of the business activity or event that occurred at a specific point in time for a sales opportunity.
Description

This attribute describes a specific step or milestone in the Lead to Cash process, such as 'Lead Converted To Opportunity', 'Quote Created', or 'Payment Received'. These activities are the fundamental building blocks of the process map.

Analyzing the sequence and frequency of these activities helps to visualize the process flow, identify common and alternative paths, and detect deviations or bottlenecks. It forms the basis for measuring transition times between steps and understanding how work is actually performed.

Why it matters

This attribute is fundamental for constructing the process map and understanding the sequence of events within the sales lifecycle.

Where to get

Typically derived from status changes, event logs, or specific task completion records associated with Opportunity, Quote, or Order objects.

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

The Event Time is the date and time that an activity was recorded. It is essential for ordering events chronologically and calculating the duration between different steps in the process.

This timestamp is the basis for all time-based analysis, including calculating cycle times, identifying bottlenecks by measuring wait times, and monitoring performance against service level agreements. Accurate timestamps are critical for a reliable process mining analysis.

Why it matters

It provides the chronological order of events, which is essential for calculating all performance metrics like cycle times and durations.

Where to get

This corresponds to the creation date or last update date of records related to specific activities, such as status change timestamps.

Examples
2023-04-15T10:00:00Z2023-05-01T14:30:00Z2023-05-20T09:15:00Z
Sales Opportunity
SalesOpportunity
The unique identifier for a sales opportunity, which serves as the case for the Lead to Cash process.
Description

The Sales Opportunity is the central object that tracks a potential revenue-generating deal from its initial stage as a lead to its final resolution as a win or loss. It connects all related activities, such as qualification, quoting, ordering, and payment.

In process mining analysis, this identifier is crucial for reconstructing the end-to-end journey of each deal. It allows for the analysis of the entire lifecycle, including cycle times between stages, conversion rates, and the identification of paths that lead to successful outcomes versus those that result in lost deals.

Why it matters

It is the essential Case ID that links all process events together, enabling a complete and accurate view of the entire sales lifecycle for each potential deal.

Where to get

This is a primary identifier in the Oracle CX Sales Opportunity object.

Examples
OPP-0012345OPP-0023456OPP-0034567
Last Data Update
LastDataUpdate
The timestamp when the data was last refreshed or extracted from the source system.
Description

This attribute indicates the freshness of the data being analyzed. It shows the date and time of the last data pull from Oracle CX Sales.

In dashboards and reports, this timestamp is critical for informing users about the timeliness of the data they are viewing. It helps manage expectations about whether the most recent activities are included in the analysis.

Why it matters

Informs users about the timeliness of the data, which is crucial for interpreting dashboards and making informed decisions.

Where to get

This timestamp is generated and added during the data extraction, transformation, and loading (ETL) process.

Examples
2024-06-10T02:00:00Z
Source System
SourceSystem
The system from which the data was extracted.
Description

This attribute identifies the origin of the process data, which is Oracle CX Sales in this context. In environments with multiple systems, this field helps distinguish data sources.

For analysis, it provides context about the data's origin, which can be important when blending data from multiple systems or understanding system-specific behaviors. It is a standard field for data governance and traceability.

Why it matters

Provides essential context for data origin, ensuring traceability and helping to manage data from potentially multiple integrated systems.

Where to get

This is typically a static value added during the data extraction process to label the source of the data.

Examples
Oracle CX Sales
Loss Reason
LossReason
The reason cited for why an opportunity was lost.
Description

When an opportunity is closed without a sale, the Loss Reason captures the primary cause, such as 'Lost to Competitor', 'Price', or 'No Decision'. This information is vital for strategic analysis and process improvement.

This attribute is the cornerstone of the 'Opportunity Loss & Drop-Off Reasons' dashboard. Analyzing loss reasons in conjunction with the stage where the loss occurred helps businesses understand their competitive weaknesses and refine their sales strategy, product offerings, or pricing models.

Why it matters

Provides critical insights into why deals are not won, enabling strategic improvements to the sales process and product offerings.

Where to get

This is a standard field captured when an opportunity status is set to 'Closed Lost' in Oracle CX Sales.

Examples
PriceLost to CompetitorProduct FitNo Decision
Opportunity Owner
OpportunityOwner
The sales representative primarily responsible for the sales opportunity.
Description

The Opportunity Owner is the individual user assigned to manage and close the deal. This attribute allows for performance analysis at the individual or team level.

In process mining, filtering by Opportunity Owner can reveal different working patterns, performance benchmarks, and compliance with the standard sales process. It helps sales managers identify coaching opportunities and understand how top performers navigate the sales cycle.

Why it matters

Enables performance analysis by sales representative or team, helping to identify best practices and areas for coaching.

Where to get

Available as a standard 'Owner' or 'AssignedTo' field on the Opportunity object in Oracle CX Sales.

Examples
John SmithJane DoePeter Jones
Opportunity Value
OpportunityValue
The estimated or actual monetary value of the sales opportunity.
Description

This attribute represents the potential or final revenue associated with a sales opportunity. It can be used to segment and prioritize opportunities throughout their lifecycle.

In process mining, analyzing Opportunity Value helps to understand how different process variants impact high-value versus low-value deals. It is essential for dashboards that track revenue leakage, such as the 'Opportunity Loss & Drop-Off Reasons' analysis, by correlating process paths with financial outcomes.

Why it matters

It allows for the financial impact of process inefficiencies to be quantified and helps prioritize opportunities and improvement efforts.

Where to get

Likely available in a field such as 'Revenue' or 'Amount' on the Opportunity object in Oracle CX Sales.

Examples
50000.00125000.0025000.00
Region
Region
The geographical region or sales territory associated with the opportunity.
Description

The Region attribute categorizes opportunities based on their geographic location, such as 'North America', 'EMEA', or 'APAC'. This is a common dimension for segmenting business performance.

This attribute is essential for the 'Regional Sales Performance Benchmarks' dashboard. It allows for comparing key metrics like sales cycle time, conversion rates, and process variants across different regions to identify high-performing areas and those requiring targeted improvements.

Why it matters

Enables comparison of process performance across different geographical areas, revealing regional variations and best practices.

Where to get

Often available as a standard or custom field on the Account or Opportunity object in Oracle CX Sales.

Examples
North AmericaEMEAAPACLATAM
Sales Stage
SalesStage
The current stage of the sales opportunity within the sales pipeline.
Description

The Sales Stage indicates the progress of an opportunity through the defined sales process, with values like 'Qualification', 'Solution Proposed', or 'Negotiation'. It is a key attribute for understanding the state of an opportunity at any given time.

This attribute is fundamental for building sales funnel visualizations and for the 'Stalled Opportunity Stage Analysis' dashboard. By analyzing the time spent in each stage, teams can identify where deals are slowing down and focus their efforts on unblocking the pipeline.

Why it matters

It is critical for sales funnel analysis and identifying bottlenecks where opportunities frequently stall or are lost.

Where to get

This is a standard field on the Opportunity object in Oracle CX Sales, often named 'SalesStage' or 'StageName'.

Examples
01 - Qualification03 - Proposal05 - NegotiationClosed Won
Customer Name
CustomerName
The name of the customer or account associated with the sales opportunity.
Description

This attribute identifies the prospective or existing customer for the deal. It is a fundamental dimension for segmenting and analyzing the sales process.

Filtering by customer allows for a detailed analysis of the sales journey for specific accounts, which can be useful for key account management. It also enables segmentation of process performance by customer size, industry, or other characteristics to tailor sales approaches.

Why it matters

Allows for process analysis to be segmented by customer, which is key for understanding customer-specific behaviors and managing key accounts.

Where to get

The Account Name linked to the Opportunity object in Oracle CX Sales.

Examples
Global Tech Inc.Innovate Solutions LLCPioneer Corp
Discount Percentage
DiscountPercentage
The discount percentage applied to the sales quote or opportunity.
Description

This attribute records the percentage discount given on a particular deal. It directly impacts the final price and profitability of the sale.

Analyzing discount levels is crucial for the 'Average Discount Utilization' KPI. It helps businesses understand the impact of discounting on margins and can reveal if discounts are being applied inconsistently or without proper approval, highlighting potential issues in the quote approval workflow.

Why it matters

Helps in analyzing profitability and the effectiveness of discount strategies, and identifying potential uncontrolled discounting.

Where to get

Consult Oracle CX Sales documentation for a discount field on the Quote or Opportunity Product Line Item objects.

Examples
0.050.100.150.20
Invoice Before Fulfillment
InvoiceBeforeFulfillment
A flag indicating if an invoice was generated before the order was fulfilled.
Description

This boolean attribute is set to true if the 'Invoice Generated' event occurs before the 'Order Fulfilled' event for a particular case. This represents a non-compliant or risky process path.

This attribute directly supports the 'Invoice Before Fulfillment Rate' KPI and is used in process compliance dashboards. Tracking this deviation helps organizations enforce proper billing procedures, reduce customer disputes, and mitigate revenue recognition risks.

Why it matters

Flags a critical process compliance violation where customers are billed before an order is fulfilled, which can lead to customer dissatisfaction and financial risk.

Where to get

Calculated by comparing the timestamps of the 'Invoice Generated' and 'Order Fulfilled' activities within the same case.

Examples
truefalse
Invoice ID
InvoiceId
The unique identifier for the invoice generated for a sales order.
Description

The Invoice ID is the reference number for the billing document sent to the customer after an order is fulfilled. It is the key document in the final financial stages of the process.

This identifier is essential for analyzing the 'Invoice Generation Cycle Time' and 'Payment Collection Cycle'. It allows for tracking each invoice from creation to final payment, which is critical for monitoring cash flow and accounts receivable performance.

Why it matters

Tracks the final financial transaction, which is essential for analyzing billing cycle times and payment collection efficiency.

Where to get

Consult Oracle CX Sales documentation or integrated ERP/financial system for the Invoice object identifier.

Examples
INV-2023-001INV-2023-002INV-2023-003
Is Quote Rework
IsQuoteRework
A flag indicating if a quote has been reworked or created more than once for the same opportunity.
Description

This boolean attribute is set to true if an activity like 'Quote Reworked' or a second 'Quote Created' event occurs for a single sales opportunity. It helps to isolate instances of process inefficiency in the quoting stage.

This flag is used to calculate the 'Quote Rework Rate' KPI and to power the 'Process Deviation & Rework Analysis' dashboard. Highlighting rework helps pinpoint issues with initial requirement gathering, pricing, or product configuration that lead to additional effort and delays.

Why it matters

Directly flags instances of inefficiency and deviation in the quoting process, helping to identify root causes of delays and repeated work.

Where to get

Calculated by analyzing the event log. It is true if the 'Quote Created' or 'Quote Reworked' activity appears more than once for a given Sales Opportunity.

Examples
truefalse
Is Stalled
IsStalled
A flag indicating if an opportunity has remained in the same sales stage for an excessive period.
Description

This attribute is a boolean flag that is set to true when the time between two consecutive activities for an opportunity exceeds a predefined business threshold (e.g., 30 days).

It is used to calculate the 'Stalled Opportunity Rate' KPI and is essential for the 'Stalled Opportunity Stage Analysis' dashboard. Identifying stalled deals allows sales managers to intervene proactively, provide support, and improve the overall velocity of the sales pipeline.

Why it matters

Helps to proactively identify deals that are at risk of being lost due to inaction, enabling timely intervention.

Where to get

Calculated by measuring the time between consecutive events for a case and comparing it against a defined threshold.

Examples
truefalse
Order ID
OrderId
The unique identifier for the sales order created from a won opportunity.
Description

The Order ID is the reference for the official sales order that is sent for fulfillment after a customer accepts a quote and the opportunity is won. It marks a key transition from sales to operations.

This identifier is critical for tracking the process from the 'Order Submitted For Fulfillment' activity onwards. It helps bridge the sales and fulfillment portions of the Lead to Cash cycle, enabling end-to-end analysis of order processing and fulfillment times.

Why it matters

Links the sales opportunity to the fulfillment process, enabling true end-to-end analysis from lead to final delivery.

Where to get

Consult Oracle CX Sales documentation or integrated ERP system for the primary identifier of the Sales Order object.

Examples
SO-554433SO-554434SO-554435
Product Name
ProductName
The primary product or service being sold in the opportunity.
Description

This attribute specifies the product or product family associated with the sales opportunity. For opportunities with multiple products, this might represent the primary product of interest or be repeated for each product line item.

Analyzing process flows by product can reveal whether certain products have longer or more complex sales cycles. This insight can inform product-specific sales strategies, training, and process optimization efforts.

Why it matters

Enables analysis of how the sales process differs for various products or services, highlighting product-specific bottlenecks.

Where to get

Found in the Product object, linked via the Opportunity Product Line Item in Oracle CX Sales.

Examples
Enterprise CRM LicenseCloud Storage Tier 1Professional Services Package
Quote ID
QuoteId
The unique identifier for a sales quote associated with an opportunity.
Description

The Quote ID is the reference number for a specific sales quote document generated for an opportunity. An opportunity may have multiple quotes over its lifecycle, especially if rework occurs.

Tracking this identifier is important for analyzing the 'Quote-to-Order Cycle Time' and 'Quote Rework Rate'. It allows for precise measurement of the time from quote issuance to acceptance and helps to distinguish between initial quotes and revised versions.

Why it matters

Uniquely identifies sales quotes, enabling accurate analysis of the quoting cycle, including rework and conversion times.

Where to get

This is the primary identifier of the Quote object in Oracle CX Sales, which is related to the Opportunity.

Examples
QUO-98765QUO-98766QUO-98767
Sales Cycle Time
SalesCycleTime
The total duration of the sales opportunity from creation to being closed.
Description

This metric calculates the total time elapsed from the first event (e.g., 'Lead Converted To Opportunity') to the last event (e.g., 'Opportunity Won' or 'Opportunity Lost') for each case.

This is a key performance indicator used in the 'End-to-End Sales Cycle Performance' dashboard. Analyzing its average and distribution helps identify systemic delays in the overall sales process and provides a high-level benchmark for process improvement initiatives.

Why it matters

Provides a critical KPI for measuring the overall efficiency and speed of the entire sales process.

Where to get

Calculated by subtracting the timestamp of the first event from the timestamp of the last event for each Sales Opportunity.

Examples
30 days 10:05:0095 days 02:00:0045 days 12:30:00
User Name
UserName
The user who performed a specific activity or event.
Description

This attribute identifies the specific person who executed a task, such as 'Quote Created' or 'Order Submitted'. While the Opportunity Owner is responsible for the overall deal, the User Name tracks who performed individual actions.

This level of detail is useful for understanding resource allocation, workload distribution, and adherence to roles and responsibilities. It can help identify if certain users are process bottlenecks or if specific tasks are consistently handled by unauthorized personnel.

Why it matters

Tracks who performed each specific action, allowing for detailed workload analysis and auditing of activities.

Where to get

Typically found in 'CreatedBy' or 'LastUpdatedBy' fields on objects related to activities in Oracle CX Sales.

Examples
Alice WilliamsBob BrownCharlie Davis
Required Recommended Optional

Lead to Cash Activities

These are the critical process steps and milestones to capture in your event log for accurate process discovery and bottleneck identification.
6 Recommended 8 Optional
Activity Description
Lead Converted To Opportunity
Marks the creation of a Sales Opportunity from a qualified Sales Lead. This event is the starting point for the opportunity-centric process analysis and is explicitly triggered when a user converts a lead in the system.
Why it matters

This is the primary start event for the process. Analyzing the volume and source of converted leads is crucial for understanding the effectiveness of lead generation and qualification efforts.

Where to get

This event is captured from the creation of a Sales Opportunity record (Opportunity object) where the 'LeadId' or a similar source field is populated, indicating its origin from a converted lead.

Capture

Capture the creation timestamp of the Opportunity object that has a non-null originating Lead reference.

Event type explicit
Opportunity Lost
Represents an unsuccessful outcome where the opportunity is closed without a sale. This is inferred when the opportunity's status is updated to 'Closed - Lost'.
Why it matters

This is a critical failure endpoint. Analyzing when, why, and at what value opportunities are lost helps identify process weaknesses and market challenges.

Where to get

Inferred from an update to the 'StatusCode' on the Opportunity object to a 'LOST' value. The 'ReasonWonLostCode' field often provides context.

Capture

Detect when the Opportunity status field is updated to the system-defined 'Lost' status.

Event type inferred
Opportunity Won
Represents the successful closing of a deal, where the customer has committed to the purchase. This is inferred from the opportunity's status changing to a final 'Closed - Won' state.
Why it matters

This is the primary success milestone in the sales funnel. It is the trigger for downstream fulfillment and billing processes.

Where to get

Inferred from an update to the 'StatusCode' on the Opportunity object to a 'WON' value. The 'WinProb' (Win Probability) field also typically changes to 100%.

Capture

Detect when the Opportunity status field is updated to the system-defined 'Won' status.

Event type inferred
Payment Received
Marks the final, successful completion of the Lead to Cash cycle where the customer's payment has been received and recorded. This event originates from a financial system.
Why it matters

This is the final success endpoint of the process, signifying revenue realization. It is crucial for measuring the overall sales cycle time and cash flow efficiency.

Where to get

Sourced from an external Accounts Receivable or financial system. Data must be linked back to the Sales Opportunity to close the loop on the process analysis.

Capture

Event timestamp is from the payment application record in the financial system.

Event type explicit
Quote Accepted By Customer
Indicates the customer has formally agreed to the terms and pricing in the quote. This is a critical milestone, often captured by a status change on the Quote object to 'Accepted'.
Why it matters

This is a key buying signal and a prerequisite for creating a sales order. It marks the successful conclusion of the negotiation phase and is a milestone in the Quote-to-Order cycle.

Where to get

Inferred from a status change on the Quote object to an 'Accepted' or 'Customer Approved' status.

Capture

Detect change in the Quote object's status field to a designated 'Accepted' value.

Event type inferred
Quote Created
Represents the generation of a formal price quote document associated with the opportunity. This is an explicit event marked by the creation of a new Quote record linked to the opportunity.
Why it matters

This is a major milestone indicating serious sales intent. Analyzing the time from opportunity creation to quote creation helps measure sales velocity.

Where to get

Captured from the creation event of a Quote record (Q_Quote object) that is linked to the Sales Opportunity ID (OptyId).

Capture

Use the creation timestamp of the Quote object associated with the opportunity.

Event type explicit
Invoice Generated
Represents the creation of a customer invoice for the fulfilled order. This activity occurs in a billing or financial system, not Oracle CX Sales, and the data must be integrated.
Why it matters

This event starts the payment collection cycle. Delays between fulfillment and invoicing can negatively impact cash flow and the 'Invoice to Payment Cycle Time' KPI.

Where to get

Sourced from an external ERP or Accounts Receivable system. The event data must be correlated with the Sales Opportunity ID for process analysis.

Capture

Event timestamp is sourced from the financial system's invoice creation log.

Event type explicit
Needs Analysis Completed
Signifies that the sales team has gathered and documented the customer's requirements. This is usually inferred from the opportunity's sales stage advancing past the discovery or analysis phase.
Why it matters

This activity is a critical milestone before a solution can be proposed. Delays here can indicate issues with customer engagement or resource availability for technical deep dives.

Where to get

Inferred from a change in the 'Sales Stage' field on the Opportunity object, for instance, moving from '2 - Discovery' to '3 - Solution Building'.

Capture

Detect a change in the Opportunity's sales stage field to a status indicating discovery is complete.

Event type inferred
Opportunity Qualified
Represents the completion of the initial qualification stage for an opportunity. This is typically inferred when the sales stage of the opportunity is updated to reflect that initial vetting is complete and it's a viable opportunity.
Why it matters

Tracking this milestone helps measure the efficiency of the early sales process and identifies how long opportunities spend in qualification, which is key for the Lead to Opportunity Conversion Rate KPI.

Where to get

Inferred from a change in the 'Sales Stage' field (StgId) on the Opportunity object to a value representing qualification, for example, moving from '1 - Qualification' to '2 - Discovery'.

Capture

Detect a change in the Opportunity's sales stage field to a designated 'Qualified' status.

Event type inferred
Order Fulfilled
Indicates that the products have been shipped or services have been delivered to the customer. This event data is not native to Oracle CX Sales and must be sourced from an integrated Order Management or ERP system.
Why it matters

Marks the completion of the delivery promise to the customer and is the trigger for invoicing. It is essential for measuring fulfillment cycle times.

Where to get

Requires integration with an external ERP or fulfillment system. The data would need to be linked back to the originating Sales Opportunity ID.

Capture

Event timestamp is pulled from the fulfillment system via an integration.

Event type explicit
Order Submitted For Fulfillment
Marks the handoff from sales to the order fulfillment team. In Oracle CX Sales, this might be inferred when the opportunity is won, triggering a process to create a Sales Order in an integrated ERP system.
Why it matters

This activity bridges the gap between sales and operations. Analyzing this handoff is critical for understanding and optimizing the 'Order Fulfillment Time' KPI.

Where to get

This event is often conceptual within CX Sales itself and represents the trigger for order creation in a separate system. It can be associated with the 'Opportunity Won' timestamp or a subsequent integration confirmation status.

Capture

Often uses the 'Opportunity Won' timestamp as a proxy, or requires data from an integrated Order Management system.

Event type inferred
Quote Reworked
Captures instances where a quote is revised and re-issued to the customer. This is inferred by observing multiple 'Quote Created' events for the same opportunity or versioning of a single quote record.
Why it matters

Frequent rework can indicate inaccurate initial proposals or lengthy negotiations, extending the sales cycle. This directly supports the 'Quote Rework Rate' KPI and rework analysis dashboards.

Where to get

Inferred by detecting a new version of a Quote being created or a significant update to an existing quote (e.g., status reset to draft) after it has already been sent to the customer.

Capture

Identify subsequent 'Quote Created' events or version increments for the same opportunity.

Event type inferred
Quote Sent To Customer
Marks the point when a quote is formally delivered to the customer for review. This event is typically inferred from a status change on the Quote object itself, such as moving to 'Presented' or 'Sent'.
Why it matters

This activity starts the clock on customer review and negotiation cycles. It's the starting point for measuring the 'Quote to Order Creation Time' KPI.

Where to get

Inferred from a status change on the Quote object associated with the opportunity. The status field may be named 'StatusCode' or similar.

Capture

Detect change in the Quote object's status field to a 'Sent' or 'Presented' value.

Event type inferred
Solution Proposed
Indicates that a formal solution or proposal has been presented to the customer. This activity is inferred when an opportunity moves into a 'Proposal' or 'Presentation' stage.
Why it matters

Tracking this helps analyze the time taken to develop and propose solutions. It is also a key stage for the 'Stalled Opportunity Rate' KPI, as opportunities often linger here.

Where to get

Inferred from a change in the 'Sales Stage' field on the Opportunity object to a value like '4 - Proposal' or 'Presentation'.

Capture

Detect a change in the Opportunity's sales stage field to the proposal status.

Event type inferred
Recommended Optional

Extraction Guides

How to get your data from Oracle CX Sales