{"slug": "i-built-an-ai-crm-where-leads-score-themselves-5-services-on-zerops-in-48h", "title": "I built an AI CRM where leads score themselves — 5 services on Zerops in 48h", "summary": "A developer built LeadPilot, an AI lead-automation CRM that scores and qualifies leads instantly using Claude Haiku, and deployed it across five services on Zerops in 48 hours. The system queues leads via Valkey, processes them asynchronously with a worker, and presents results in a live Kanban pipeline, with a deterministic fallback to ensure reliability.", "body_md": "For the **#ZeropsChallenge** I built **LeadPilot** — an AI lead-automation CRM where every lead is scored, qualified, and given a drafted reply the instant it arrives.\n\nInbound leads pile up unqualified. LeadPilot fixes the triage: a lead hits the form → it's queued → a worker scores it 0–100 with Claude Haiku (intent, temperature, summary, personalized reply) → it lands in a live Kanban pipeline. Capture is instant; scoring is async.\n\n| Service | Type | Role |\n|---|---|---|\n`app` |\nstatic | React + Vite + Tailwind SPA |\n`api` |\n|\n\n`worker`\n\n`db`\n\n`cache`\n\nThe API enqueues to Valkey and returns immediately; the worker (a separate service) does the slow AI work. Queue-decoupled by design.\n\nServices talk over a private network via env references — no secrets in code:\n\n```\nrun:\n  envVariables:\n    DB_HOST: ${db_hostname}\n    DB_PASS: ${db_password}\n    REDIS_HOST: ${cache_hostname}\n    REDIS_PASSWORD: ${cache_password}\n  start: python -m uvicorn app.main:app --host 0.0.0.0 --port 8080\n```\n\nThen zcli push api / worker / app. Migrations run once per version with zsc execOnce; /api/health gives zero-downtime rollouts.\n\nAI usage (disclosed)\n\nScoring uses Claude Haiku with a deterministic fallback so it never breaks. I built it with Claude Code assistance — I designed the architecture and reviewed/tested everything.\n\nThanks @WeMakeDevs and @zeropsio! Try it: [https://app-2d82.prg1.zerops.app](https://app-2d82.prg1.zerops.app)", "url": "https://wpnews.pro/news/i-built-an-ai-crm-where-leads-score-themselves-5-services-on-zerops-in-48h", "canonical_source": "https://dev.to/sharmachaitanya945/i-built-an-ai-crm-where-leads-score-themselves-5-services-on-zerops-in-48h-ojd", "published_at": "2026-08-09 14:14:16+00:00", "updated_at": "2026-08-09 14:47:47.090462+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-products", "developer-tools", "ai-infrastructure", "mlops"], "entities": ["LeadPilot", "Zerops", "Claude Haiku", "Valkey", "React", "Vite", "Tailwind", "WeMakeDevs"], "alternates": {"html": "https://wpnews.pro/news/i-built-an-ai-crm-where-leads-score-themselves-5-services-on-zerops-in-48h", "markdown": "https://wpnews.pro/news/i-built-an-ai-crm-where-leads-score-themselves-5-services-on-zerops-in-48h.md", "text": "https://wpnews.pro/news/i-built-an-ai-crm-where-leads-score-themselves-5-services-on-zerops-in-48h.txt", "jsonld": "https://wpnews.pro/news/i-built-an-ai-crm-where-leads-score-themselves-5-services-on-zerops-in-48h.jsonld"}}