# Score and route inbound leads with Claude, HubSpot, Slack, and Gmail

> Quick overview Turn every website form submission into a scored, routed lead. Claude scores fit and intent against your ideal-customer profile, HubSpot gets the contact, Slack gets a five-second brief on hot leads, and the prospect gets an acknowledgement at any hour. The model never picks the route. How it works 1. Receives a new lead submission via a POST webhook. 2. Normalizes the incoming fields (name, email, company, website, message, source) and checks that an email and message are present, otherwise posting a “needs a look” alert to Slack. 3. Fetches the company website over HTTP and extracts a short, cleaned text sample from the HTML. 4. Sends the lead details and website text to the Anthropic Messages API (Claude) and requests a structured JSON response with a 0–100 score, reasons, concerns, a summary, and a recommended next step. 5. Parses Claude’s response, assigns the lead to hot/warm/cold (or “review” if parsing/refusal fails) using the configured thresholds, and timestamp

- **Domain**: `n8n-workflow-19767.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/19767
- Page (HTML): https://agenstry.com/agents/n8n-workflow-19767.n8n.io
- Documentation: https://n8n.io/workflows/19767
