Sandbox build ยท HubSpot, Custom objects, Workflows

Scoring leads and flagging renewal risk in HubSpot

HubSpot scores leads on product use, gives each the next rep in its territory and flags renewal risk.

Scoring leads and flagging renewal risk in HubSpot

  • The bottleneck

    Good leads go cold because nobody calls them in time, and a customer who quietly stops using the product is noticed only when they cancel. Reps score leads by gut feeling. New leads wait for someone to hand them out, and are handed out unevenly or twice.

  • The fix

    I built it in a HubSpot developer test account, with the rules in coded functions that five workflows call. Each lead gets a fit, an engagement and a usage score with a plain reason. A total of 85 with strong usage makes it a Sales Qualified Lead (SQL), with one New SQL task for its owner. Each new lead gets the next of its territory's fictional reps in a rotation, and a nightly job makes one renewal deal for each subscription renewing within 120 days. An Account health card rates each renewal's risk from usage, seat use and payment status, with reasons and a next best action.

  • What changes

    In the test account, all 5 acceptance cases passed in one 235 second run. In one case, a lead at a good fit company using 85 percent of its seats became an SQL after three pricing visits, with exactly one task for its owner. In another, 20 leads created at the same moment in one territory all got a rep, with counts differing by at most 1. In a third, renewals 100 and 120 days away each got one deal, 121 and 125 days away got none, and a second run made no second deal. Tasks stand in for HubSpot Sequences. No billing system is connected.

    Safeguard: In the final test run, 20 leads arriving at once each got a different place in the rotation.

Scoring leads and flagging renewal risk in HubSpot

What I built

HubSpot, Custom objects, Workflows, App functions, HubDB, Azure Container Apps

The Harbourline Retail renewal deal with its Account health card: renewal risk High, a declining usage trend among the reasons, and the next best action, an executive sponsor call and success plan.

Product names and logos belong to their owners. Privacy