DEV Community

Dave Patrick Bulaso
Dave Patrick Bulaso

Posted on

How I Built a 24/7 Lead Generation Pipeline with Python and Claude Code at 21

I'm 21, based in the Philippines, and I work as a software engineer for a UK consultancy. One of my tasks was building a lead generation system that could find and enrich business profiles automatically.

Instead of doing it manually, I built a pipeline that runs 24/7 on a $150 mini PC sitting in my room. Here's how.

The Problem

My client needed enriched profiles of C-suite executives — names, companies, roles, LinkedIn URLs. Doing this manually would take forever.

The Stack

  • Python — all scripts
  • Playwright — browser automation for scraping
  • Claude Code — my primary development tool (I built the entire system with it)
  • Beelink Mini-S — a tiny Ubuntu server running 24/7
  • Docker — for containerized services
  • Google Sheets API — for syncing data to the client's spreadsheet

How It Works

The pipeline runs in stages, each as a separate script:

  1. Scrape — Pull company and executive data from public sources (Companies House API, corporate websites)
  2. Clean — Deduplicate, normalize names, validate data
  3. Enrich — Cross-reference with LinkedIn and other data sources
  4. Sync — Push to Google Sheets via API

Each stage runs independently. If one fails, the others keep going. The whole thing runs via cron jobs on the Beelink.

Results

  • Built a pipeline that generates hundreds of profiles per day automatically
  • Runs unattended 24/7 while I sleep
  • Total infrastructure cost: ~$3/month in electricity

What I Learned

Claude Code changed how I work. I didn't write this system line by line. I described what I needed, Claude Code generated it, I reviewed and refined. My output speed is probably 3-5x what it would be without it.

A $150 mini PC is a legitimate server. It runs Ubuntu, Docker, cron jobs, Python scripts — everything a cloud VPS does, but with no monthly bill.

Automation compounds. The time I spent building this system paid for itself within the first day. Everything after that is free output.

My Setup

I'm currently running:

  • Lead generation pipeline (Python/Playwright)
  • Job monitoring bot (scans 3 platforms every 5 minutes)
  • Google Workspace integrations (Calendar, Gmail, Sheets)
  • AI assistant infrastructure (OpenClaw + Claude Code)

All on one mini PC, all 24/7, all from my room in the Philippines.


I'm Dave. I build systems that run without me. If you have questions about automation, Claude Code, or running infrastructure on cheap hardware, ask in the comments.

GitHub | Portfolio | LinkedIn

Top comments (0)