# Lead CRM

> It finds the work while I do mine, and it still cannot send a single email without me. Rules before AI, assistants that can add leads but never read them, and every send a human click. Running since July.

- **Author:** Aryan Ramani
- **Domain:** B2B SaaS
- **Role:** Product owner, designer and builder. Claude Code was the engineering pair.
- **Team:** Solo
- **Timeframe:** July 2026; running since
- **Published:** 2026-11-30
- **Updated:** 2026-11-30
- **Markdown:** [/work/lead-crm.md](https://aryanramani.work/work/lead-crm.md)
- **Human:** [/work/lead-crm](https://aryanramani.work/work/lead-crm)

It finds the work while I do mine, and it still cannot send a single email without me.

---

## Summary

- Problem: Finding freelance work was a morning of tabs, and most of what turned up was noise.
- My role: Product, design and the decisions, end to end. Claude Code was the engineering pair.
- Outcome: A CRM that sweeps 20+ sources on a schedule, sorts what it finds with rules before any AI sees it, and takes leads from Claude, ChatGPT and Gemini. Every email is still my click. Running since July.

---

## Context

- **Product:** A lead-finding pipeline and a CRM, for freelance and project work
- **For:** One owner: me
- **Role:** Product owner, designer, builder
- **Team:** Solo, with Claude Code as the engineering pair
- **Timeframe:** July 2026; running since
- **Status:** Live; last sweep 30 November 2026

---

## Problem

### The problem

Freelance work is posted everywhere: hiring threads on Reddit and Hacker News, remote job boards, RSS feeds, marketplaces, startup launch sites, social posts. Finding it was a manual sweep across a dozen tabs, every morning, and most of what turned up was noise: closed posts, spam, budgets far too small, roles that needed someone on site, and the occasional scam dressed as an opportunity.

The first version did one job: collect, score, draft an opener, and leave me to review each morning. It sent everything to a spreadsheet. That was the wrong finish line. A list of leads is the first step; the work is following one through to a reply, a proposal and an invoice, and remembering what happened.

So the design problem is not a list. It is judgment at scale: what a machine may decide for me, what it may only suggest, and what it must never do without me.

---

## Constraints

- About $0 a month — Free tiers only: a free database, free hosting, a scheduled job on GitHub, and pennies of AI. The model is the expensive, slow and unpredictable step, so it has to see as little as possible.
- An owner who is not a developer — I am a designer. Setting it up could not mean editing server files: four environment variables, and every other key is typed into Settings and stored encrypted. The first-run wizard asks for one free key and a plain description of my work.
- The input is written by strangers — Every lead is text from someone on the internet. Some of it is scams, and any of it could be written to steer an AI that reads it. Nothing that reads a post should be able to act on it unsupervised.
- Sources break all the time — Sites block, rate-limit and change shape. One feed that errored once left a connection open and hung the whole sweep. A run has to finish with whatever worked, say what failed, and try again in three hours.

---

## Decisions

### The decisions

### Rules first, then the model, and the data beats its guess

Every item passes plain rules before any AI call: is anyone hiring, does it match what I do, is it spam or closed, is the budget plausible, does it need someone on site. Near-duplicates across sources are merged. Only the survivors get one model call each, which scores them on seven dimensions and lists scam signals, and the runs are capped.

When a job board's own data already states the budget, the apply link or the contact, that value is kept as given; the model only fills what is still empty. The first version folded those fields into the text and let the model re-guess them, so the code audit called this the single biggest free accuracy win.

A rule can only reject what it is sure about. An ambiguous post always goes on to the model, and a lead I pushed in myself is never thrown away: if the model calls it irrelevant, it gets a tag instead.

Not taken: Send everything to the model and let it judge.

Not yet proven: The accuracy gain is the audit's judgment, not a measured rate. There is no count of good leads missed or bad ones let through.

Figure: A lead scored 22: a post asking for a UI designer with payment only after launch. The AI assessment shows low budget and project-quality scores, and lists two scam signals: payment only after launch, and no company or site. Made-up data.

### A human clicks send. Always

Everything reversible is automatic: sweeping, filtering, scoring, looking up the company, archiving leads I never touched. Everything that speaks in my name waits for me. The first email to anyone is my click; follow-ups the system drafts after a silence wait in an approval queue, where I can edit them, send them or throw them away.

The rule is in the code, not only on the screen: there is no send path that runs on its own, so every email in the history is recorded as mine. The chat assistant follows it too. It can search, count and draft, and the only thing it can change is adding a task.

Not taken: Auto-send the drafts, the way most AI outreach tools do.

Not yet proven: Sending, reply tracking and bounces were tested against fixtures while it was built, without a real mailbox. How they behave in daily use is not recorded.

Figure: The Outbox's Proposed tab: two drafted follow-ups, each with the reason it was proposed (no reply for four days; no reply for six days, last follow-up allowed), an editable subject and body, and Approve and send, Save edit and Reject buttons. Made-up data.

### Give the assistants a door they are allowed to use

I run scheduled routines on Claude, ChatGPT and Gemini, and wanted them to drop leads straight in. I gave them an API and a token and asked. Both Claude and ChatGPT refused.

They were right to. A chat cannot make an authenticated web request, a pasted token looks like mishandled credentials, and "send data into this API" looks like an attack on someone else's system. The fix was not a better prompt. Each assistant got a channel it supports natively: a connector for Claude, an action built from a published spec for ChatGPT, a Google Sheet for Gemini, plus email and a web form. The token lives in the connector's settings, never in the chat, and the system describes itself as my own CRM.

Each token is tagged with the assistant that holds it, so every lead carries where it came from, and the analytics show which assistant finds the leads worth having.

Not taken: Paste a token into the chat and ask the assistant to call the API.

Not yet proven: Claude's connector is in use: 80 pushes through it. The ChatGPT and Gemini channels are built; whether they are in use is not recorded.

Figure: The Intake API settings: a table of tokens labelled Claude routine, ChatGPT scheduled task, Gemini sheet bridge and Bookmarklet, each with its tag, submission count, last use and an active switch. Made-up data.

### A connector that can add, but cannot read

The connector has six tools: check it is alive, read the brief, check a link, push one lead, push up to 25, and count its own pushes. There is no tool to edit, delete or send, and none that reads a lead's text.

That last one is the point. Leads are written by strangers. An assistant that could read them and also act could be steered by whoever wrote a job post. A connector that cannot read lead text cannot be turned by it.

It still needs to know what I want, so the loop runs the other way: before searching, an assistant reads a brief of my skills, keywords, budget floor and the last hundred links already seen. The CRM steers the assistants; the assistants feed the CRM.

Not taken: A full CRM connector with search and read tools, which is what assistants ask for.

---

## Solution

### What shipped

A scheduled job, set to run eight times a day, sweeps 20+ sources: Reddit, Hacker News, job boards, RSS, startup lists, social search, web search, and paid marketplaces once a key is pasted. What survives lands in a 14-stage pipeline, as a table or a kanban, and every lead opens into one page: the score and why, the scam signals, the company behind it, tasks, notes, contacts, drafts, proposals, invoices and a timeline of everything that happened to it.

Every stage change, whether I drag a card, a reply arrives or a stale lead is archived, goes through one checkpoint that knows who may move a lead where. The analytics read that history, so a lead I contacted and later archived still counts as contacted.

Underneath, one free Postgres database does the searching, the matching and the job queue, so there is one thing to back up. A weekly backup job and a public health check are part of the build.

All screens on this page come from a local copy of the app filled with made-up placeholder leads. No real lead, person or company appears.

### One lead, from a post to an invoice

The pipeline is the product: at each step it is clear whether the machine decides, suggests or waits.

- Sweep — Found: A post appears on one of 20+ sources, or an assistant pushes it in. The machine decides.
- Rules — Filtered: No hiring intent, spam, closed, too small, on-site only: dropped before any AI call. Duplicates merged.
- Model — Scored: Seven scores and scam signals in one call. Data the source stated beats the model's guess.
- Company — Looked up: Domain age, tech stack, contacts and a short dossier on who is behind the post.
- Board — Shortlisted: It lands on the board with its score and reasons. I decide whether it is worth a message.
- Send — Contacted: The first email is my click. Always.
- Inbox — Replied: A reply is matched to its thread and moves the lead on by itself; pending follow-ups are cancelled.
- Silence — Followed up: After a few quiet days a follow-up is drafted and waits in the outbox for my approval.
- Close — Won: A proposal from my own templates, then an invoice, converted to dollars for the revenue chart.

- Figure: The leads kanban: columns for new, triaged, shortlisted, contacted and replied, each card with a score, title, source and budget. Made-up data. (The pipeline as a board. Made-up data.)
- Figure: A lead page for a product designer role at a clinic-booking app, scored 91: the post, the AI assessment with eight sub-scores and insights, the client, tasks and notes. Made-up data. (One lead, everything about it on one page. Made-up data.)
- Figure: A client page: an AI dossier with funding, headcount, pain points, hiring signals and news, and contacts marked verified or guessed from a pattern. Made-up data. (Who is behind the post, and how sure the system is about each contact. Made-up data.)
- Figure: Analytics: reply, proposal and win rates, pipeline value, revenue, a funnel from discovered to won, and a table of leads, wins and revenue per source including each assistant. Made-up data. (Which sources, and which assistants, are worth their keep. Made-up data.)

---

## Outcome

- Since July — the scheduled sweep has kept running; the latest finished on 30 November 2026
- 80 — pushes from Claude through its connector
- 0 — ways for it to send an email without my click
- 235 — automated checks, all passing

What I cannot show: how many leads it found, how many replied, what it earned or how much time it saved. None of that has been measured, and I would rather say so than estimate it. The 80 is one connector's count, not the total. Several outside services, email and push among them, were proven against fixtures while it was built rather than in daily use. How often the sweep really runs in production is not measured either: it is set to eight times a day, and on 30 November the health check showed a run at 02:03 UTC and none in the nine hours after. The figures above are from the live health check, the connector and the repository, on 30 November 2026.

---

## Looking back

The lesson I keep: the most important design decision in an automated system is where it stops. Most of the work was making the machine do more; the parts I would defend in a review are the places it is not allowed to.

What I would do sooner: measure. It has run since July and I cannot tell you its reply rate. The next step is the boring one: count what it finds, what I send and what comes back, and let the sources that do not earn their keep go. And design its phone layout, which today is an icon rail and a table cut off at the edge.

---

## Related projects

- [Veris](https://aryanramani.work/work/veris.md) — A design review that runs in seconds, inside Figma. It took seven generations to make it worth trusting.
- [Zerodha Bot](https://aryanramani.work/work/zerodha-bot.md) — It started by obeying one script. Now it reads the market, picks its stocks, questions Claude and grades itself every night.

---

[Machine view](https://aryanramani.work/ai/work/lead-crm) · [Human page](https://aryanramani.work/work/lead-crm) · [All content](https://aryanramani.work/sitemap.md)
