The Data Letter

The Data Letter

I Built an AI Lead Scoring System That Reads My Inbox and Writes to HubSpot. Here’s How.

A full Claude Project setup, system prompt, and connector flow that lets Claude read inbound leads from your inbox and write scores back to HubSpot.

Hodman | How To Build With AI's avatar
Hodman | How To Build With AI
Jun 25, 2026
∙ Paid

Sometimes more inbound leads come in for Asaura than I can handle, so I built a scoring system in Claude that reads each lead, scores it against the five criteria I care most about, and writes the score back to HubSpot as a note on the contact file.

The system runs continuously. Every time a new lead lands in the inbox, Claude reads it, scores it against the same criteria, and writes the score, tier, and reasoning back to the matching contact record in HubSpot. By the time my sales team checks the queue, every lead is already sorted by tier with an explanation attached.

This article is the full build. Setup takes about 45 minutes. You’ll need a paid Claude subscription, a HubSpot account, and a business email account that supports the Microsoft 365 or Gmail connector.

If your team uses a different CRM or inbox, the build is the same. The connector names change. Most major CRM and inbox platforms have Claude connectors now, or are adding them quickly.

What you’ll have at the end

A working Claude Project that:

  • Reads inbound leads from your inbox automatically

  • Scores each lead against five criteria you can edit in 30 seconds

  • Returns a structured response with a score, a tier, an explanation, and the specific signals it picked up

  • Writes the score, tier, and explanation back to the corresponding HubSpot contact record

  • Stays consistent across hundreds of leads a week

Step 1: Create the Claude Project

Open Claude on the web or desktop app. In the sidebar, click “Projects.” Click “Create new Project.”

Name the Project something specific to the decision type. For lead scoring: “Lead Qualification Scoring System.” If your team plans to share this Project later, the name should make the use case clear at a glance.

Leave the description blank for now. You’ll fill in the Project Instructions in the next step.

Keep reading with a 7-day free trial

Subscribe to The Data Letter to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2026 Hodman Murad · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture