skip to content
← cd ~/projects
~/projects/lead-engine

2026 · engineer · for elenos · live

Elenos Lead Engine

An AI sales-development rep: it finds service-business owners, has Claude qualify them against an ideal-customer profile, researches the good ones and writes the first message, so a human only steps in for the conversation.

source ↗Next.jsTypeScriptClaudePrismaNeon PostgresNextAuth

what it is

The in-house lead engine for Elenos, a software studio that builds websites, systems and AI operators for service businesses. It finds the kind of owners the studio sells to, qualifies them, and prepares them for outreach.

discover (apollo / apify)score with claudeenrichwrite sequencessync to crm + sender
one call runs the whole pipeline; every lead moves through a status machine from discovered to meeting booked

how it works

  1. Discover leads from Apollo and Apify.
  2. Score each one with Claude against the studio's ideal-customer profile, marking it qualified or disqualified.
  3. Enrich the qualified ones with search, web scraping and social lookups.
  4. Write personalised outreach sequences in the studio's voice.
  5. Sync them to Close (the CRM) and Instantly (email sending).

decisions worth noting

  • Long jobs don't block requests. Discovery, enrichment and deployment run as background jobs: the route returns straight away with a job id and the UI polls for progress, with no external queue.
  • A thin API over a services layer. Every integration and piece of business logic lives in one services folder; API routes just call it.
  • Settings without redeploys. Configuration resolves from an in-app admin setting first, then the environment, so keys and options can change from the admin screen.
  • Roles. Admins and members, with authentication on every page.