Business-card lead intake
Turns a photo of a business card into a HubSpot contact, with lead-source fields set by the client’s own rules, through a Claude Project and HubSpot’s connector.
Data paths and guards
- HubSpot: Contacts, their lead-source fields and follow-up tasks.
- Claude Project: A 350-line prompt with the intake rules, on the client’s own Claude plan; Claude reads the card image itself.
- HubSpot connector: HubSpot’s own connector, granted write access.
- Team member with a card: Photographs a business card and adds a note.
- From Team member with a card to Claude Project: Card photo and a note. A photo of the card and a note about the person. A card collected.
- From Claude Project to Team member with a card: Draft to confirm. The contact, contact type and lead-source fields Claude read and chose. Each card.
- From Claude Project to HubSpot connector: Confirmed record. The confirmed contact, its lead-source fields and a follow-up task. A yes from whoever sent the card.
- From HubSpot connector to HubSpot: Contact and follow-up task. A new contact with its lead-source fields, and a follow-up task. Each confirmed card.
- On Confirmed record: Confirm before writing. Nothing reaches HubSpot until the person who sent the card confirms what Claude read.
- On Contact and follow-up task: Lead-source rules, 20+. Lead-source fields are filled only along the client’s own tree of conditional rules.
- Built by me
- Platforms I connect to
- Guards
- In production
| Card photo and a note A photo of the card and a note about the person |
|---|
| Draft to confirm The contact, contact type and lead-source fields Claude read and chose |
| Confirmed record The confirmed contact, its lead-source fields and a follow-up task |
| Contact and follow-up task A new contact with its lead-source fields, and a follow-up task |
-
Systems
A team member photographs a business card. A Claude Project on the client’s own Claude plan holds the intake rules, reads the card itself and writes to HubSpot through HubSpot’s own connector, on tools the client already had.
-
Data paths
The photo arrives with a short note. Claude reads it, applies the lead-source rules and returns a draft. On a yes, the connector writes the contact and a follow-up task to HubSpot.
- a Card photo and a note
- b Draft to confirm
- c Confirmed record
- d Contact and follow-up task
-
Guards
Nothing is written until the sender confirms the draft, and lead-source fields follow the client’s own tree of 20+ conditional rules.
- Confirm before writing on c
- Lead-source rules, 20+ on d
-
Result
Delivered as a Claude Project in February 2026 and still in use, so the client avoided a HubSpot upgrade. The card-scanning app built in 1 day was archived.
What I built
- A card-scanning app in 1 day: Claude reads the card photo and pulls the lead’s details from a voice note, and a duplicate check runs before the contact, company and follow-up task are created.
- A 350-line Claude Project prompt that encodes 20+ conditional lead-source rules, classifies the contact type and asks before it writes.
- 3 new HubSpot properties for the intake, and a cleanup map for 44 lead-source values and 28 contact-type values.
What the guards protect against
| The risk | The guard |
|---|---|
| A misread card writes a wrong contact. | Confirm before writing Nothing reaches HubSpot until the person who sent the card confirms what Claude read. |
| A contact gets a lead source the client’s rules do not allow. | Lead-source rules, 20+ Lead-source fields are filled only along the client’s own tree of conditional rules. |
Decisions
-
Deliver a Claude Project, not the app already built
- Chose
- A Claude Project on HubSpot’s own connector, with a 350-line prompt that holds the intake rules.
- Instead of
- The card-scanning app built in a day. The client did not need to own an app, and the Claude Project spared them a HubSpot upgrade.
- Trade-off
- A working app, built in a day, was archived.
Results
- In use since February 2026 as a Claude Project on tools the client already had, with no HubSpot upgrade.
Facts
- The first version ran React and TypeScript on Vercel functions and called the Claude API
Related builds
-
QuickBooks job costing
Date: Aug 2026
Fact: On day one of a 3-day hackathon, an invoice posted through the approval gate
Client: For contractors on HubSpot (a hackathon build)
Systems: QuickBooks Online, Stripe and Claude
Status: Active
-
Voice-agent workflow patch
Date: Jul 2026
Fact: 676 workflows swept; a 7-edit change proven 6 of 6 inside n8n
Client: For a voice-agent platform serving roofing contractors
Systems: n8n and OpenAI
Status: In production
-
Deal creation app
Date: Dec 2025
Fact: One contractor created 1,395 deals with it, January to August 2026
Client: For four roofing contractors
Systems: CompanyCam, Smarty, Shovels and NOAA weather radar
Status: In production