Aisha AliyuGTM Systems Engineer ← All case studies
Case study

End-to-end Sales Funnel

A complete B2B funnel that takes a SaaS leader from a Meta or LinkedIn ad to a booked call, with every lead scored, qualified and routed automatically.

Client: A Forward Deployed Engineering agencyLayer: RevOps
View the code on GitHub
The problem

A typical ad funnel breaks in four places.

Built for a Forward Deployed Engineering agency that sells to leaders at mid-market SaaS companies whose customers take too long to go live. Paid ads can reach them, but:

  • "Book a call" is too big an ask for cold traffic. A leader who just clicked an ad isn't ready to talk to sales, so most leave.
  • Every lead looks the same. A Head of Implementation at a 300-person SaaS company and a student land in the same list, and someone researches each one by hand.
  • Nobody knows which ad channel works. The team can count leads from Meta and LinkedIn, but not how many are the right fit.
  • The best accounts stay invisible. A target account can read the whole landing page and leave without filling anything in.
The solution

Give value first, then qualify, route and follow up automatically.

ProblemWhat the funnel does
"Book a call" is too big an askOffers a free Deployment Process Audit two ways: an 18-question online form with an instant scored report, or a 1:1 call
Every lead looks the sameThe audit scores six areas, and an AI agent gives each ad lead a tier (A, B, C or Not Qualified) and a fit score
Nobody knows which channel worksThe ad channel follows each lead into HubSpot, and a Monday Slack report compares qualified leads from Meta and LinkedIn
The best accounts stay invisibleA website visitor tracker flags when a saved target account visits the landing page
Leads go coldHubSpot routes each lead by tier and enrolls it in a 3-step sequence to book a call, then a follow-up sequence
Diagram of the whole funnel: paid ads, landing page, online audit or 1:1 call, scored one-pager and email, HubSpot, AI qualification agent, tier routing, sequences and a Monday Slack report
Step 1: the offer

One offer, two ways in.

The top of the landing page: a headline for SaaS leaders and one call to action, audit your deployment process
The landing page. Written for one reader, a SaaS leader whose customers wait too long to go live. Click to see the full page.

Every button on the landing page leads to the free audit. Some buyers want to self-serve and others want to talk, so both are offered, and analytics shows which one converts better instead of guessing.

The audit offered two ways: a short online form or a 1:1 call
The choice. Do the audit online in about 5 minutes, or on a 30-minute call.
Step 2: the audit

18 questions, six areas, one score out of 90.

Every answer scores 1 (struggling), 3 or 5 (healthy). The lowest area is the biggest constraint. Four extra questions aren't scored and show whether the company is a fit: ARR, new customers per quarter, who handles implementation today, and whether they'd rather hire or work with a partner.

AreaWhat it measures
Scoping and handoffHow a signed deal becomes a clear technical plan
Integrations and dataConnecting to each customer's stack and moving their data in
Onboarding speedHow quickly customers go from kickoff to live
Adoption after go-liveWhether customers actually use what they bought
Team capacityWhether the team has room for the technical work
Feedback to productWhether what the team learns makes the product better
One step of the audit form, with three multiple-choice questions on scoping and handoff
One step of the audit.
Step 3: the results

A personalised one-pager, on screen and by email.

Each respondent sees their total score, their band (Critical, Strained or Healthy), a score per area and their biggest constraint, with what to do about it. The full one-pager arrives by email, written to be forwarded to their CEO or CTO.

On-screen results: total score 46 out of 90, Strained band, scores by area, and the biggest constraint
On screen, the moment they finish. Sample data.
The results email: scores by area, what we found, and the biggest constraint explained
By email, ready to forward. Sample data.
Step 4: qualify and route

Every ad lead gets a tier, then the right owner.

A HubSpot workflow sends each lead to the Ads Lead Qualification Agent. Claude researches the company, then fixed rules in code pick the tier, so the same facts always give the same tier. The tier, fit score and ad channel are written back to the contact.

TierWhat HubSpot does
Tier AAssigned to the Senior SDR
Tier B and CRotated across the SDRs
Not QualifiedAssigned an owner and enrolled in a case studies nurture sequence
HubSpot workflow: form submitted, webhook to the agent, delay, then branch on lead tier
The routing workflow in HubSpot.

Leads then get a 3-step sequence to book the call, followed by a follow-up sequence. Every call button goes to the same calendar.

What it measures

The questions ad spend depends on, answered.

QuestionWhere the answer comes from
Do buyers prefer the form or a call?Website analytics: visits to each option
Which option turns into more meetings?Completed audits versus calls booked
Does Meta or LinkedIn bring better leads?The Monday Slack report: fit and score per channel
Are target accounts paying attention?The visitor tracker's alerts on saved accounts
Built to hold up

Reliable from the first click to the booked call.

  • The score is checked twice. The browser shows it instantly, and the server scores the answers again before emailing, so a tampered form can't change what gets sent.
  • No lead is lost quietly. If the email fails, the person still sees their full report, and every lead is logged.
  • One source of truth. Questions, scores and one-pager copy live in one place, so the screen and the email always match.
  • Rules you can audit. The lead tier comes from fixed rules, not the AI's opinion.
  • Spam stays out, and keys are never in the code.
  • Works on any screen, tested at desktop and phone width.
The result

Cold ad clicks turn into scored, tiered leads that reach the right SDR automatically, and the team knows which channel brings the best ones.

Built with
HTML, CSS, JavaScriptVercelResendHubSpotClaudeFastAPISlack

Want a system like this?

Pick one free pilot project. I build it inside your tools, and you see the results before we talk about anything else.