Use Case

Score inbound leads before they hit CRM

Leads come in from forms, ads, and events. Marketing passes everything to sales. 70% are junk. SDRs waste hours qualifying leads that were never going to close.

Why most inbound leads are junk

Leads come in from forms, ads, and events. Marketing passes everything to sales. SDRs spend hours qualifying leads that were never going to close.

The fix: enrich and score every lead before it hits the CRM. SDRs only see the ones worth calling.

How to set up inbound scoring

Step 1: Define your ICP criteria

Write out what makes a good lead:

Series B+ SaaS company
100-500 employees
US-based
Uses Snowflake or dbt (bonus)

Step 2: Create the webhook workflow

Tell Claude Code
When a new lead hits HubSpot via form submission, enrich them with firmographics and score against our ICP: Series B+ SaaS, 100-500 employees, US-based. Write the score back to the HubSpot contact.

Claude Code reads your Deepline skills and generates a workflow. Behind the scenes, it runs:

deepline workflows apply --spec inbound-scoring.yaml

Step 3: Test with a sample lead

Tell Claude Code
Test the workflow with a sample lead.

Deepline runs the workflow on one lead first. You see:

  • Firmographic data pulled (company size, industry, funding)
  • ICP score (1-10)
  • Which fields wrote back to HubSpot

Step 4: Deploy the webhook

Tell Claude Code
Deploy the workflow and give me the webhook URL.

Claude Code deploys and returns:

deepline workflows deploy inbound-scoring --trigger webhook
# → https://api.deepline.com/v2/workflows/inbound-scoring/trigger

Point your HubSpot form submission trigger at the webhook URL. Every new lead gets enriched and scored in under 5 seconds.

What gets enriched

Data pointProviders
Company sizeApollo, People Data Labs, Crustdata
IndustryApollo, People Data Labs
Funding stageCrunchbase via Crustdata
Tech stackBuiltWith, TheirStack
LocationApollo, People Data Labs

How scoring works

Claude evaluates each lead against your ICP:

Score 1-10 where:
- 9-10: Perfect ICP fit
- 7-8: Good fit, worth pursuing
- 4-6: Marginal, may require qualification
- 1-3: Not ICP, do not route to sales

The score and reasoning write back to a custom field in your CRM.

Cost breakdown

Inbound volumeCredits/monthManaged mode cost
100 leads50~$5
1,000 leads500~$50
10,000 leads5,000~$500

Compare to 6sense at $50K+/yr or manual SDR qualification.

Who uses this

  • Marketing ops enriching leads before handoff
  • Demand gen measuring campaign quality by score, not just volume
  • PLG teams automating sign-up qualification

Common questions

Frequently Asked Questions

1How fast is the enrichment?+

Under 5 seconds from form submit to CRM writeback.

2Can I customize the scoring rubric?+

Yes. Add or remove criteria, change weights, adjust thresholds.

3What if firmographic data is missing?+

Deepline tries multiple providers (Apollo, People Data Labs, Crustdata). If all miss, the score reflects 'insufficient data' and the lead gets flagged for manual review.

Inbound scoring flow: form submit, webhook, enrich, score, write to CRM

Try this yourself

Install the CLI and run this use case in under 5 minutes.