Lead Desk

Hand-over

The same pipeline, as an n8n workflow

Your team owns the result: import the JSON into n8n, add credentials and edit any step without a developer. The scoring code inside is the same logic Lead Desk runs, checked against it by tests.

The lead pipeline open in the n8n editor
Imported into n8n 2.44 · 15 nodes · Claude via the Anthropic nodeDownload workflow JSON
WebhookLead form webhookPOST from your form, Typeform, Webflow or HubSpot forms
Validate & dedupeCodeEmail format, personal / throwaway inbox, prompt-injection flag
Enrich companyHTTP RequestYour enrichment API — Apollo, Clearbit, a business registry
AI qualifyBasic LLM Chain + Claude + Structured Output ParserIntent 0–40, category, urgency, quoted signals, one-line summary
Score & routeCodeICP fit, tier, owner, stage, SLA — plain JavaScript you can edit
CRM upsertHubSpotUpsert by email, lifecycle stage, lead status, custom score fields
AI reply draftBasic LLM Chain + ClaudeA personal first reply for the route, signed by the owner
NotifyGmail draft · IF · SlackReply saved for review; hot leads ping the sales channel

Or call it as a webhook

The sandbox endpoint takes the same JSON and returns the full run — score, route, CRM calls, reply. It keeps no CRM of its own, so dedupe only sees the contacts you pass in known.

curl -s https://leads.sepia.software/api/webhook/lead \
  -H 'content-type: application/json' \
  -d '{
    "name": "Sam Rivera",
    "email": "sam@coastlinecoldstore.com",
    "message": "We have 10 dock doors, drivers wait 2 hours. Can we see a demo next week?"
  }'

How it's built

Next.js 16 (App Router) · TypeScript · Vercel AI SDK 7 with structured output · Vercel AI Gateway · Zod · Tailwind CSS 4 · n8n 2 export · deployed on Vercel.

Plugs into your stack

SandboxYour deployment
Company enrichmentFirmographics for 20 companiesApollo, Clearbit, a business registry, or Firecrawl on the company site
CRMBoard in your browser, plus the exact HubSpot callsHubSpot, Pipedrive or Salesforce through their APIs
Replies and alertsDrafts and Slack previewsSent from the rep's own inbox; alerts in Slack or Teams
AI modelVercel AI Gateway, rules engine as backupClaude, GPT, Gemini or a private deployment
RunsOne server run per lead, streamed step by stepQueue with retries (n8n, Inngest), rate limits, monitoring

Tailored to your team

  • ✓Your ICP and routing rules, tuned on last quarter's won and lost deals
  • ✓Live enrichment (Apollo, Clearbit, Firecrawl on the company site) with caching
  • ✓Round-robin by territory and rep availability, with re-assignment if nobody calls in 5 minutes
  • ✓Reply sent from the rep's own inbox, with a booking link from their calendar
  • ✓A weekly report: speed to lead, conversion by tier and source, leads the AI disagreed with
  • ✓The same flow in n8n, Make or Zapier if your team prefers to own it there
Get Lead Desk for your team