DEV Community

RyanCwynar
RyanCwynar

Posted on

Automating Lead Gen: AI That Finds Bad Websites and Fixes Them

What if you could automatically find businesses with terrible websites, generate beautiful redesigns, and reach out—all without lifting a finger?

I built exactly that. Here's the full system.

The Pipeline

Google Maps API → Website Scraper → AI Scorer → Mockup Generator → Outreach Automation
Enter fullscreen mode Exit fullscreen mode

Step 1: Finding Businesses

Google Maps API + Places API gives you everything:

const businesses = await maps.placesNearby({
  location: { lat: 40.7128, lng: -74.0060 },
  radius: 5000,
  type: 'plumber'
});
Enter fullscreen mode Exit fullscreen mode

Step 2: Scoring Websites

For each business with a website, I run a quality analysis checking mobile responsiveness, page speed, SSL, contact info visibility, and SEO basics.

Businesses scoring below 40/100 are prime candidates.

Step 3: AI-Generated Mockups

Using the scraped content, I generate a modern redesign customized with their actual business info. Then screenshot it with Puppeteer.

Step 4: Automated Outreach

The outreach is personalized with specific issues from their score and the mockup attached.

The Results

From a test run of 50 businesses:

  • 15 SMS sent, 9 emails sent
  • 4 responses (16% response rate)
  • 1 paying customer

Why This Works

The "proof of work" principle. When someone sends you a custom mockup of your business, it's obvious they put in effort. It's not spam—it's a gift.


Originally published at ryancwynar.com

Top comments (0)