Automations / Leads and sales

Lead capture to CRM

Form leads land in HubSpot, enriched by company domain and scored by Claude, with a Slack alert for hot ones.

Free
yes TriggerForm webhook LogicValidate and dedupe AppEnrich company(Apollo) AIScore and summarise(Claude) AppUpsert HubSpotcontact LogicHot lead? OutputSlack alert
Tools
n8nMakeZapier
Job
Leads and sales
For
Agencies, SaaS, Local services
Uses
HubSpot, Apollo, Claude, Slack
Tested
  • n8n 2.42.6: ran end to end against mock APIs, 13 nodes, 8 API calls
  • n8n webhook: live request answered and processed
  • Make: blueprint structure and mappings checked
  • Zapier: steps, references and code steps checked
2026-10-11

What it does

  1. Your form posts to a webhook (any form tool that can send JSON: Webflow, Framer, Tally, a plain fetch).
  2. Checks the email, drops honeypot bots and duplicates, splits the name, marks free-mail addresses.
  3. Answers the form at once (200, or 422 without a valid email), then carries on.
  4. Looks the company up by email domain in Apollo (skipped for Gmail, Outlook and the like; a miss never stops the lead).
  5. Claude scores the lead 0 to 100 against your ideal customer and writes a one-line summary and next step.
  6. Creates or updates the HubSpot contact.
  7. Score at or over the threshold: a Slack message with the summary.

Prerequisites

  • HubSpot private app (crm.objects.contacts.write)
  • Apollo API key (optional, for enrichment)
  • Anthropic API key
  • Slack bot with chat:write

Settings

PlaceholderWhatWhere it goes
ANTHROPIC_API_KEYClaude API keyAnthropic API credential, header x-api-key
APOLLO_API_KEYApollo API keyApollo API credential, header x-api-key
HUBSPOT_PRIVATE_APP_TOKENHubSpot private app tokenHubSpot private app credential
SLACK_BOT_TOKENSlack bot tokenSlack bot credential

Keys stay in your tool's credentials, never in the files.