Back to Case Studies

KumoKodo.ai Case Study

Building SiteBeacon

How we created an AI-powered lead generation platform that helps web agencies find businesses in need of their services—using Google Maps, Gemini AI, and modern SaaS architecture.

3
Months Development
15K+
Lines of Code
40+
API Endpoints
100%
TypeScript
CLIENTSiteBeacon
INDUSTRYB2B SaaS / Lead Generation
SERVICESFull-Stack Development

The Challenge

Web developers and digital agencies face a critical problem: finding qualified leads is time-consuming, expensive, and often ineffective. The traditional approach of cold calling, buying outdated lead lists, or relying solely on referrals doesn't scale.

Pain Points Identified

  • Manually searching Google Maps for businesses without websites
  • No way to identify which businesses actually need help
  • Hours spent crafting individual outreach emails
  • Expensive lead generation services ($100+/month)
  • No collaboration features for agency teams
  • Existing tools focus on SEO, not lead discovery

Goals Defined

  • Automate local business discovery with intelligent filtering
  • Identify businesses by problem type (no website, low ratings, poor GMB)
  • AI-powered lead scoring and personalized outreach
  • Affordable credit-based pricing for all agency sizes
  • Team collaboration with shared leads and credits
  • Built-in CRM features for pipeline management

The Solution

KumoKodo.ai designed and built SiteBeacon from the ground up—a full-stack SaaS platform that combines Google Maps intelligence with Gemini AI to automate lead discovery, qualification, and outreach.

1

Multi-Mode Search Engine

Built a sophisticated search system with three distinct modes: Website (finds businesses without websites or using third-party platforms), Reputation (discovers low-rated businesses), and GMB (identifies incomplete Google Business Profiles). Each mode uses specialized filtering algorithms.

2

AI-Powered Analysis

Integrated Google Gemini 2.0 Flash for instant lead analysis, personalized outreach email generation, and competitor intelligence. The AI understands business context and generates highly relevant, conversion-optimized content using structured JSON schemas.

3

Intelligent Lead Scoring

Developed a proprietary scoring algorithm (1-100 scale with A-F grades) that evaluates businesses based on website status, rating, review count, GMB completeness, and detected issues. Higher scores indicate better opportunities for conversion.

4

Team Collaboration

Built enterprise-ready team features with role-based access control, shared credit pools, centralized lead management, email invitations, and owner/member permissions. Perfect for agencies with multiple sales reps.

Technical Architecture

Frontend Stack

  • Next.js 15 with App Router & Turbopack
  • React 19 with Server Components
  • TypeScript for end-to-end type safety
  • Tailwind CSS for responsive design
  • Lucide React for consistent iconography

Backend Stack

  • Next.js API Routes (serverless functions)
  • Prisma ORM with MongoDB Atlas
  • NextAuth.js for authentication (JWT + OAuth)
  • Stripe for subscriptions & payments
  • Resend for transactional emails

Google Maps Platform

Places API (New)

Search businesses by location with comprehensive filtering and up to 60 results via pagination.

Place Details API

Retrieve ratings, reviews, websites, phone numbers, hours, photos, and GMB status.

Geocoding API

Convert ZIP codes to lat/lng coordinates for precise radius-based searches.

Google Gemini AI

Lead Analysis

AI generates comprehensive business summaries highlighting problems and opportunities.

Email Generation

Creates personalized cold outreach emails tailored to each business's specific issues.

Competitor Intelligence

Analyzes local competitors to identify market opportunities and talking points.

Stripe BillingNextAuth.jsMongoDB AtlasVercel Edge

Key Features Delivered

Multi-Mode Search

Three specialized search modes to find exactly the leads you need based on your services.

  • ZIP code + keyword + radius search
  • Website status classification (17+ platforms detected)
  • Rating threshold filtering
  • GMB completeness analysis

AI-Powered Outreach

Gemini 2.0 Flash generates personalized content based on each business's specific situation.

  • One-click lead analysis summaries
  • Personalized cold email generation
  • Competitor weakness analysis
  • Structured JSON output for reliability

Lead Scoring System

Proprietary algorithm evaluates and prioritizes leads so you focus on the best opportunities.

  • 1-100 numerical score
  • A-F letter grades for quick sorting
  • Multi-factor evaluation (website, rating, GMB)
  • Issue detection and highlighting

Team Collaboration

Enterprise-ready features for agencies and sales teams of any size.

  • Create teams with unlimited members
  • Shared credit pools
  • Centralized lead management
  • Email invitations with token-based links

Flexible Billing

Credit-based system with subscriptions and one-time purchases to fit any budget.

  • 4 subscription tiers (Free to Business)
  • Annual billing with discount
  • One-time credit packs (never expire)
  • Stripe Customer Portal for self-service

Lead Management CRM

Lightweight CRM features built right into the platform for pipeline tracking.

  • 7 status stages (New → Closed Won/Lost)
  • Custom notes on each lead
  • CSV export for external tools
  • Duplicate prevention

The Results

17+
Third-Party Platforms Detected
60
Leads Per Search (Max)
<2s
AI Response Time
99.9%
Uptime (Vercel SLA)

For Users

  • Find 10x more qualified leads in 1/10th the time
  • AI-generated emails save 30+ minutes per prospect
  • Lead scoring ensures focus on best opportunities
  • Team features enable agency-wide collaboration

For Business

  • Recurring SaaS revenue model with 4 tiers
  • Low operational costs with serverless architecture
  • Credit-based pricing aligns cost with usage
  • Scalable architecture handles 10x growth

Lessons Learned

Start with the AI, not the UI

We built the Gemini AI integration and lead scoring algorithm first, then designed the interface around them. This ensured AI was a core feature, not an afterthought bolted on at the end.

Credit systems need atomic transactions

Every credit deduction uses Prisma transactions to prevent race conditions. This was critical for the team credit pool feature where multiple users might search simultaneously.

Third-party detection is surprisingly complex

Businesses use dozens of platforms beyond just "no website." We built detection for 17+ platforms including Facebook, Yelp, DoorDash, Toast, and more—each requiring URL pattern matching.

Type everything from day one

100% TypeScript with strict mode caught countless bugs before they reached production. Combined with Prisma's type-safe queries, we have end-to-end type safety from database to UI.

☁️

About KumoKodo.ai

We specialize in building AI-powered SaaS applications using modern cloud-native technologies. Our team combines expertise in machine learning, full-stack development, and user experience design to create products that solve real business problems.

Next.jsTypeScriptGemini AIGoogle CloudVercelMongoDB

Want a Project Like This?

KumoKodo.ai specializes in building production-ready AI applications and SaaS platforms. Let's discuss your next project.