Skip to main content

Speed-to-lead playbook

How to Measure Speed to Lead in Salesforce

Quick answer
Salesforce has no native speed-to-lead field, so build one: two DateTime fields on the Lead (hand-raise and first human touch), a record-triggered flow on Task and Event that stamps the first touch once, and a formula that returns the gap in minutes. Report the median and the share under five minutes by owner.

Salesforce will tell you when a lead was created and when it last had activity. It will not tell you how long a buyer who asked for a demo waited for a person. This guide builds that number from two stamps, one flow and one formula. For why it matters, start with the speed-to-lead guide; for the HubSpot version, see measuring speed to lead in HubSpot.

Why don't the standard fields work?

Standard fieldWhat it holdsWhy it fails for speed to lead
CreatedDateWhen the record was createdImports and returning leads start the clock at the wrong moment
LastActivityDateDate of the latest activityA Date, not a DateTime, and it moves with every new activity
Task ActivityDateThe task's due or activity dateA Date, and reps can back-date it when logging later

How do you build the speed-to-lead field?

1. Add two DateTime fields

On Lead, create Hand_Raise_At__c and First_Sales_Touch_At__c, both DateTime. Add the same pair on Contact for existing contacts who come back with a new request, and map the Lead fields to the Contact fields in lead conversion so the history survives conversion.

2. Stamp the hand-raise

Set Hand_Raise_At__c when a demo, contact-sales or pricing request arrives, from your form integration or a record-triggered flow on the field that records the request. Clear First_Sales_Touch_At__c in the same step, so each request gets its own clock.

3. Stamp the first human touch with a flow

Build a record-triggered flow on Task (and one on Event for booked meetings) that runs after save and checks four things: the record's WhoId is a lead or contact with an open hand-raise, the activity is a human sales touch (a call, a one-to-one email, a meeting, not a marketing send), it was created after Hand_Raise_At__c, and First_Sales_Touch_At__c is empty. If all four hold, write the activity's CreatedDate into the field. CreatedDate is system-set, so a rep logging a call late cannot make the response look faster.

4. Calculate the gap in minutes

A Number formula field, Speed_To_Lead_Minutes__c:

IF(
  AND(NOT(ISBLANK(First_Sales_Touch_At__c)), NOT(ISBLANK(Hand_Raise_At__c))),
  (First_Sales_Touch_At__c - Hand_Raise_At__c) * 1440,
  NULL
)

Subtracting two DateTime values in a formula returns days as a decimal; multiplying by 1440 turns it into minutes.

5. Add business minutes if your SLA is in-hours

Formulas cannot read your business hours. The Apex BusinessHours class can: its diff method returns the difference in milliseconds between two DateTime values based on a specific set of business hours, holidays included, and isWithin tells you whether a moment fell inside them. Wrap both in a small invocable action, call it from the first-touch flow, and store business minutes and an "arrived in staffed hours" flag on the record.

Which reports should you build?

  1. Median minutes by owner, split by the staffed-hours flag. The median is the typical buyer's wait.
  2. Share within five minutes, using a bucket field on the minutes formula (under 5, 5 to 30, 30 to 240, over 240).
  3. Minutes by lead source, so a broken form integration shows up as one source slowing down.
  4. Open hand-raisers with no touch, sorted by Hand_Raise_At__c, on the sales manager's home page.
  5. Meetings and opportunities by bucket, which turns the published benchmarks into your own evidence.
Cite this

Salesforce has no standard field for lead response time, so speed to lead is measured with two DateTime fields on the Lead (hand-raise and first human sales touch), a record-triggered flow that stamps the first Task or Event once, and a formula that multiplies the DateTime difference by 1440 to return minutes. For business-hours SLAs, the Apex BusinessHours.diff method returns the difference in milliseconds between two DateTime values based on a specific set of business hours.

Salesforce Apex Reference, BusinessHours Class

What breaks the measurement?

  • Activities that never become Tasks. If your email or calendar sync stores activity elsewhere, the flow never fires. Test with a real first touch before you trust the report.
  • Counting automated sends such as a sequence's first auto-email as the response.
  • Starting at CreatedDate for imported or returning leads.
  • Overwriting the first touch on every new activity, which turns it into a last-touch field.
  • One blended number for in-hours and after-hours leads.

What do you fix first?

Split the gap into its parts: request to owner assignment (routing), assignment to alert, alert to touch. The longest part is the first fix. Routing models are compared in round-robin vs ownership routing, alerting in Slack and SMS lead alerts, and tools in the best lead routing tools. Harvard Business Review's 2011 study put the average first response at about 42 hours (Oldroyd, McElheran and Elkington), so most teams find hours, not seconds, in the first report.

Artemis GTM builds the measurement, routing and alerts inside your own Salesforce org as part of an engagement. To price the gap first, work out the cost of slow lead response.

Frequently asked questions

Does Salesforce have a built-in lead response time field?

No standard field measures the time from a lead's request to the first response. LastActivityDate is a Date field, not a DateTime, so it cannot measure minutes. Build two DateTime fields, stamp them with a flow and calculate the gap with a formula.

What is the formula for lead response time in Salesforce?

Subtracting one DateTime from another in a Salesforce formula returns days as a decimal, so (First_Sales_Touch_At__c - Hand_Raise_At__c) * 1440 returns minutes. Wrap it in a check that both fields are populated, and use a Number return type with one or two decimal places.

How do I calculate response time in business hours in Salesforce?

Use the Apex BusinessHours class. Its diff method returns the difference in milliseconds between two DateTime values based on a specific set of business hours, holidays included. Expose it as an invocable action, call it from the flow that stamps the first touch, and store the result in a number field.

Why does my first-touch field stay empty when reps send emails?

The flow only sees activities saved as Task or Event records. Some email and calendar sync setups store activity outside standard Task records, so nothing fires. Check that a rep's real first email and call each create a Task on the lead before trusting the field, and fix the logging before the report.

Should I start the clock at CreatedDate?

Only if every lead is created at the moment the buyer asks for sales. Imports, list uploads and older leads that come back with a new request all break that. A Hand_Raise_At__c field set on each new request measures the buyer's actual wait.

What is the fastest way to get an accurate speed to lead report in Salesforce?

Build the two DateTime fields, the first-touch flow and the minutes formula on this page, then let clean data build up before you set targets. Artemis GTM builds the measurement, routing and alerts inside your own Salesforce org during an engagement; the scope comes from an evaluation call, and options are published at artemisgtm.ai/pricing/.

Sources and references

Not ready for an engagement?

If a Salesforce org that cannot say how long hand-raisers wait is the gap, the free guides let you price it in your own numbers before anyone builds anything. Start with the seven revenue leaks, then read The Engine Room to watch the systems getting built.

Done for you

Want this built inside your stack?

Artemis GTM is a GTM engineering firm that builds and runs outbound and inbound GTM systems for Seed to Series C B2B companies, hands-on, in three to six months, with its own agent architecture, then hands the systems over. One evaluation call and a written scoping note. Prices for both options are published on the pricing page.

Book a call

Not ready for an engagement? Read The Engine Room, the build notes from inside the firm.

Your go-to-market needs real systems.

Artemis GTM builds and runs outbound and inbound GTM systems inside your stack with its own agent architecture. Start with one evaluation call: a written scoping note follows, and prices for both options are on the pricing page.

Or read the guides first