Skip to main content
All CollectionsSwantide Workflows
Lead-to-Opportunity Lifecycle Tracker
Lead-to-Opportunity Lifecycle Tracker
Engineering Swantide avatar
Written by Engineering Swantide
Updated over 8 months ago

Introduction

In the dynamic environment of Salesforce, managing the transition from leads to opportunities is crucial for maintaining a streamlined sales process.
โ€‹
The "Lead-to-Opportunity Lifecycle Tracker" workflow is designed to automate this transition, enhancing lead management and ensuring that sales and marketing teams have the insights they need to track and analyze lead conversion effectively as they transition to Opportunities.

How It Works

Upon the conversion of a lead, this auto-launched flow is triggered, performing the following actions:

  • Checks for the creation of accounts, contacts, and opportunities resulting from the lead conversion process.

  • Evaluates whether an existing opportunity should be updated with the lead information based on predefined criteria.

  • Updates various fields on the Opportunity, Account, and Contact records to reflect the conversion details.

This ensures a seamless transition and maintains the relationship between leads and opportunities, facilitating accurate reporting and analytics on lead conversion metrics.

Key Components

The flow interacts with several Salesforce metadata components, including but not limited to:

Fields

Description

Converted from Lead Convert

Upon conversion of a Lead, this checkbox on the Account, Contact and/or Opportunity will be marked "True" given if the Lead was converted into one of these records.

Converted Lead Tied to Opp

This is the Lead that upon conversion to an Opportunity is the first lead that is related to this Opportunity.

# of Days as Lead Prior to Convert

This formula field on the Opportunity pulls in the number of days a Lead was a Lead prior to being converted into the related Opportunity that was created.

# of Days from Convert to Close

This formula field on the Opportunity calculates the duration from when a Lead is created to when it's converted into an Opportunity, then from when the Opportunity is created to when it closes. This measurement, termed the "True Lifecycle," reflects the total time required to prospect the Lead, create the Opportunity, and close it.

# Days to Convert

This formula field on the Lead represent the number of days it took from creating the lead to converting the Lead.

Days Open Before Closed

This formula calculates the number of days it took from an Opportunity to be created and closed.

Variable Inputs

This workflow requires only two variable inputs:

  1. The first input addresses existing Opportunities that weren't created from Lead Conversion. It asks whether, when a rep converts a Lead and assigns it to an existing Opportunity, you'd like to establish a link between the Lead and the Opportunity if one doesn't already exist. If you choose to create this linkage, the workflow ensures that only the first Lead related to the Opportunity remains, preserving the original Lead-to-Opportunity Lifecycle. To populate the Lead Lookup in the existing Opportunity when no Lead is associated, type "Yes." To leave the Opportunity without this association, type "No."

  2. The second input seeks your definition of a "New Business" or "New Customer" Opportunity type.

Seeing this in Action in Salesforce:

Here I have a Lead that I am about to Convert and Create a New Contact and Opportunity for an Account that already exists.

Upon creating the Opportunity, we can see that the Opportunity was created from Lead Convert, we can see on the Opportunity, how many days the Lead was a Lead prior to Conversion, and lastly how long it took from Converting this Lead to Closing this Opportunity.

Did this answer your question?