---
title: How I Used Claude to Build an AI Lead-Intake System Inside HubSpot
description: How I used Claude to design, test and launch two HubSpot custom agents that turn 1,000+ inbound emails a month into scored leads, with cost controls.
image: https://www.crmassist.net/hubfs/Imported%20sitepage%20images/GTeJOJZzjc4OTfNYs00mI.jpg
---

[Skip to content](https://www.crmassist.net/blog/how-i-used-claude-to-build-an-ai-loan-intake-system-inside-hubspot#main-content)

![](https://www.crmassist.net/hs-fs/hubfs/Original%20on%20Transparent.png?width=3840&height=461&name=Original%20on%20Transparent.png)

- [Home](https://www.crmassist.net/)
- Services
  
  Show submenu for Services 
  
    - [All Services](https://www.crmassist.net/services)
    - [CRM Support & Pricing](https://www.crmassist.net/crm-support)
    - [HubSpot–Salesforce Integration](https://www.crmassist.net/salesforce-hubspot)
    - [Salesforce to HubSpot Migration](https://www.crmassist.net/salesforce-to-hubspot-migration)
- [About](https://www.crmassist.net/about)
- [Partners](https://www.crmassist.net/partners)
- Resources
  
  Show submenu for Resources 
  
    - [Blog](https://www.crmassist.net/blog)
    - [Case Studies](https://www.crmassist.net/blog/tag/case-studies)
    - [OC HubSpot User Group](https://www.crmassist.net/oc-hug)
- [Contact](https://www.crmassist.net/contact)

Open main navigation

Close main navigation

- [Home](https://www.crmassist.net/)
- Services
  
  Show submenu for Services 
  
    - [All Services](https://www.crmassist.net/services)
    - [CRM Support & Pricing](https://www.crmassist.net/crm-support)
    - [HubSpot–Salesforce Integration](https://www.crmassist.net/salesforce-hubspot)
    - [Salesforce to HubSpot Migration](https://www.crmassist.net/salesforce-to-hubspot-migration)
- [About](https://www.crmassist.net/about)
- [Partners](https://www.crmassist.net/partners)
- Resources
  
  Show submenu for Resources 
  
    - [Blog](https://www.crmassist.net/blog)
    - [Case Studies](https://www.crmassist.net/blog/tag/case-studies)
    - [OC HubSpot User Group](https://www.crmassist.net/oc-hug)
- [Contact](https://www.crmassist.net/contact)

[All posts](https://www.crmassist.net/blog/all)

 December 2, 2026

# How I Used Claude to Build an AI Lead-Intake System Inside HubSpot

![Picture of John Hulina](https://app.hubspot.com/settings/avatar/f8cc3dfc0c04ebb750a95d9ed1822531) By  [John Hulina](https://www.crmassist.net/blog/author/john-hulina)  ·   3 minute read

**How do you automate lead intake in HubSpot?** Start by analyzing your real inbound email. Then build two HubSpot custom agents: one decides whether an email is a new inquiry and creates the Lead, the other scores it against your criteria as Meets, Needs review or Does not meet. Add workflows, credit limits and a pilot dashboard, and test before launch.

I directed and approved. Claude did the build. Here's exactly how one team went from hand-sorting inbound emails to an AI intake system running inside HubSpot. The client is a commercial lender, but the pattern fits any business whose leads arrive by email.

## Why is lead intake hard to manage by hand?

The team receives more than 1,000 inbound emails a month. Buried in them are new business inquiries (for this client, loan requests from brokers), and each one has to be:

- spotted in a crowded inbox
- logged in HubSpot as a Lead
- checked against the company's qualification criteria
- answered, often with a decline

All of it was done by hand.

## Step 1: Start with the data, not a guess

Before building anything, Claude analyzed the HubSpot portal: email volume per inbox across four team members, the Lead pipeline with its stages and existing properties, and the owner IDs and qualification criteria. The design started from real numbers.

## Step 2: Two custom agents

Claude wrote and configured two HubSpot custom agents:

1. **Submission Check.** Is this email a new inquiry? Is it a duplicate? If it's new, create the Lead, give it a consistent name, and assign it to the person who received it.
2. **Intake Agent.** Extract the details of the request and score them against the qualification criteria: Meets, Needs review, or Does not meet.

For a closer look at the agents themselves, see [how a commercial lender turned broker emails into scored leads](https://www.crmassist.net/blog/hubspot-custom-agents-how-a-commercial-lender-turned-broker-emails-into-scored-leads-in-minutes).

## Step 3: Test before going live

Claude ran free simulated tests on 10 real contacts. Nine of ten were correct on the first pass. The miss was an edge case that matched a new request to the wrong existing deal, so Claude rewrote the rules: a new request from a sender you already know counts as a new deal. Every fix was re-tested.

## Step 4: Catch what breaks

Testing surfaced problems that would have been costly in production:

- CC'd contacts were triggering the agent
- auto-replies and calendar accepts slipped through
- forwarded inquiries still needed a way in

The fix: Claude rebuilt the trigger as an email-based workflow with tight sender, recipient and subject filters.

## Step 5: The workflows

Claude built two workflows, step by step in the browser:

- **Workflow 1:** incoming email → Submission Check
- **Workflow 2:** new Lead → Intake Agent → branch by result

Each result routes differently. Meets creates a follow-up task. Needs review creates a review task. Does not meet marks the Lead Disqualified and creates a task to review and send the decline. A human sends every reply.

## Step 6: Cost controls

HubSpot AI agents [consume credits](https://www.crmassist.net/blog/hubspot-credits-explained-how-to-test-every-ai-feature-without-blowing-your-budget), so Claude measured credits per run type during testing, projected the monthly cost from real email volume, set per-agent run limits and a hard monthly credit cap, and published the agents without running them until go-live. No surprise bills.

## Step 7: A pilot dashboard

Claude built five HubSpot reports to judge the pilot:

- Leads created
- Agent results (Meets / Needs review / Does not meet)
- Disqualifications by reason
- Tasks by owner and type
- Declines waiting to be sent

It then seeded a test record to prove every report worked, flagged for deletion before launch.

## Can Claude build a working HubSpot system?

Claude didn't replace the consultant. It replaced the clicking. I made the calls on scope, criteria, approvals and go-live. Claude did the research, build, testing and documentation. The project went from idea to launch-ready in days, not weeks.

The architecture fits on one page. Download the [intake one-pager](https://www.crmassist.net/broker-loan-intake-one-pager), drawn for the lending version of this build.

## Frequently asked questions

### Does this only work for lenders?

No. The same two-agent pattern fits any business whose leads arrive by email and get checked against set criteria.

### How accurate was it in testing?

On 10 real contacts, 9 were handled correctly on the first pass. The one miss led to a rule change that was re-tested.

### Does the AI reply to leads on its own?

No. The agents create and score the Lead and set up tasks. A human sends every reply, including declines.

### How do you keep credit costs under control?

Measure credits per run type in testing, set a run limit on each agent, and put a hard monthly credit cap on the account.

### How long did the build take?

Days, not weeks, from idea to launch-ready.

**Want an AI intake system like this in your HubSpot portal?** [Book a consultation with CRM Assist.](https://calendly.com/john-hulina-crmassist) Or see how we set up [Claude and ChatGPT as the front door to HubSpot](https://www.crmassist.net/services#headless-hubspot).

Share: [facebook-f icon](http://www.facebook.com/share.php?u=https://www.crmassist.net/blog/how-i-used-claude-to-build-an-ai-loan-intake-system-inside-hubspot) [linkedin-in icon](http://www.linkedin.com/shareArticle?mini=true&url=https://www.crmassist.net/blog/how-i-used-claude-to-build-an-ai-loan-intake-system-inside-hubspot) [twitter icon](https://twitter.com/intent/tweet?url=https://www.crmassist.net/blog/how-i-used-claude-to-build-an-ai-loan-intake-system-inside-hubspot) [pinterest-p icon](http://pinterest.com/pin/create/link/?url=https://www.crmassist.net/blog/how-i-used-claude-to-build-an-ai-loan-intake-system-inside-hubspot) [envelope icon](mailto:?body=https://www.crmassist.net/blog/how-i-used-claude-to-build-an-ai-loan-intake-system-inside-hubspot)

## Related posts

[![Illustration of choosing HubSpot AI features while tracking credit costs](https://www.crmassist.net/hubfs/Imported%20sitepage%20images/dF49RDezrL4u3913ORFyx.jpg)](https://www.crmassist.net/blog/how-to-choose-the-right-hubspot-ai-features-and-avoid-a-surprise-credit-bill)

[AI in CRM](https://www.crmassist.net/blog/tag/ai-in-crm)

### [How to Choose the Right HubSpot AI Features (and Avoid a Surprise Credit Bill)](https://www.crmassist.net/blog/how-to-choose-the-right-hubspot-ai-features-and-avoid-a-surprise-credit-bill)

[![Illustration of AI credits funding controlled feature experiments](https://www.crmassist.net/hubfs/Imported%20sitepage%20images/zFRdC9zb1uqqp9irxKUs8.jpg)](https://www.crmassist.net/blog/hubspot-credits-explained-how-to-test-every-ai-feature-without-blowing-your-budget)

[AI in CRM](https://www.crmassist.net/blog/tag/ai-in-crm)

### [HubSpot Credits Explained: How to Test Every AI Feature Without Blowing Your Budget](https://www.crmassist.net/blog/hubspot-credits-explained-how-to-test-every-ai-feature-without-blowing-your-budget)

[![](https://www.crmassist.net/hubfs/hubspot-kitchen-infographic-1.png)](https://www.crmassist.net/blog/hubspot-agents-vs-claude)

[AI in CRM](https://www.crmassist.net/blog/tag/ai-in-crm)

### [HubSpot Agents vs. Claude: The Vending Machine and the Chef](https://www.crmassist.net/blog/hubspot-agents-vs-claude)

[![](https://www.crmassist.net/hs-fs/hubfs/Original%20on%20Transparent.png?width=3840&height=461&name=Original%20on%20Transparent.png)](https://crmassist.net/)

AI-driven CRM consulting for HubSpot, Salesforce and Clarify.ai. We automate the data entry so your team can sell. 

HubSpot Gold Solutions Partner · Leader, Orange County HubSpot User Group

[facebook-f icon](https://www.facebook.com/profile.php?id=61555033790463) [linkedin-in icon](https://www.linkedin.com/in/jhulina)

**Pages**

[Home](https://www.crmassist.net/)

[Services](https://www.crmassist.net/services)

[About](https://www.crmassist.net/about)

[Partners](https://www.crmassist.net/partners)

[OC HUG](https://www.crmassist.net/oc-hug)

[Contact](https://www.crmassist.net/contact)

[OC HubSpot Partner](https://www.crmassist.net/hubspot-partner-orange-county)

**Resources**

[Blog](https://www.crmassist.net/blog)

[Case Studies](https://www.crmassist.net/blog/tag/case-studies)

[LinkedIn Playbook](https://www.crmassist.net/linkedin-social-selling-playbook)

[Privacy Policy](https://www.crmassist.net/privacy-policy)

Copyright © 2026 CRM Assist LLC · [Privacy Policy](https://www.crmassist.net/privacy-policy)

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "John Hulina",
    "url" : "https://www.crmassist.net/blog/author/john-hulina"
  },
  "dateModified" : "2026-12-02T00:03:06.131Z",
  "datePublished" : "2026-10-17T20:27:54.000Z",
  "headline" : "How I Used Claude to Build an AI Lead-Intake System Inside HubSpot",
  "image" : [ "https://www.crmassist.net/hubfs/Imported%20sitepage%20images/GTeJOJZzjc4OTfNYs00mI.jpg" ],
  "mainEntityOfPage" : {
    "@id" : "https://www.crmassist.net/blog/how-i-used-claude-to-build-an-ai-loan-intake-system-inside-hubspot",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://www.crmassist.net/hubfs/Original%20on%20Transparent.png"
    }
  }
}
```

```json
{
  "@context" : "http://schema.org",
  "@type" : "Article",
  "author" : {
    "@type" : "Person",
    "name" : [ "John Hulina" ],
    "url" : "https://www.crmassist.net/blog/author/john-hulina"
  },
  "datePublished" : "2026-10-17T20:27:54+0000",
  "description" : "How I used Claude to design, test and launch two HubSpot custom agents that turn 1,000+ inbound emails a month into scored leads, with cost controls.",
  "headline" : "How I Used Claude to Build an AI Lead-Intake System Inside HubSpot",
  "image" : "https://242225529.fs1.hubspotusercontent-na2.net/hubfs/242225529/Imported%20sitepage%20images/GTeJOJZzjc4OTfNYs00mI.jpg",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://242225529.fs1.hubspotusercontent-na2.net/hubfs/242225529/Original%20on%20Transparent.png"
    },
    "name" : "CRM Assist LLC"
  },
  "url" : "https://www.crmassist.net/blog/how-i-used-claude-to-build-an-ai-loan-intake-system-inside-hubspot"
}
```