ScavioScavio
ProductPricingDocs
Sign InGet Started
  1. Home
  2. Tutorials
  3. How to Build Auto-Generated Demo Sites for Leads
Tutorial

How to Build Auto-Generated Demo Sites for Leads

Auto-build demo websites for businesses without websites, deploy to GitHub Pages, and use as cold outreach material.

Get Free API KeyAPI Docs

An r/Entrepreneurs thread suggested building demo sites for businesses without websites and using them as cold outreach. This tutorial automates the pipeline: find lead → get business info → generate site → deploy → outreach.

Prerequisites

  • Scavio API key
  • GitHub account with Pages enabled
  • Template site generator (Hugo, 11ty, or plain HTML)

Walkthrough

Step 1: Fetch business data

Use Scavio to get business info from Google.

Python
import requests, os
H = {'x-api-key': os.environ['SCAVIO_API_KEY']}

def get_business_info(business_name, location):
    return requests.post('https://api.scavio.dev/api/v1/search',
        headers=H,
        json={'platform': 'google', 'query': f'{business_name} {location}'}).json()

Step 2: Generate the demo site

Fill a template with business data.

Python
def generate_site(business):
    template = open('template.html').read()
    return template.replace('{{name}}', business['title'])\
        .replace('{{phone}}', business.get('phone', ''))\
        .replace('{{address}}', business.get('address', ''))\
        .replace('{{hours}}', business.get('hours', 'Call for hours'))

Step 3: Deploy to GitHub Pages

Push each demo site to a GitHub Pages subdirectory.

Python
import subprocess
def deploy(slug, html):
    path = f'demos/{slug}/index.html'
    os.makedirs(f'demos/{slug}', exist_ok=True)
    with open(path, 'w') as f:
        f.write(html)
    subprocess.run(['git', 'add', path])
    subprocess.run(['git', 'commit', '-m', f'add demo: {slug}'])
    subprocess.run(['git', 'push'])

Step 4: Send outreach with demo link

Email with the live demo site as the pitch.

Text
# The demo site IS the pitch
# Subject: I made a website for {business_name} (free preview)
# Body: Link to the live demo + offer to customize
# No PDF, no deck, just a working website

Python Example

Python
# Pipeline: Google Maps → filter no-website → generate demo → deploy → email
# Cost: $0.005 per business lookup + free GitHub Pages hosting
# 100 demos = $0.50 in API cost + 2 hours of pipeline time

JavaScript Example

JavaScript
// Same pattern with Node.js + Octokit for GitHub deployment.

Expected Output

JSON
Auto-generated demo websites for businesses without web presence, deployed to GitHub Pages, with cold outreach email templates.

Related Tutorials

  • How to Prospect Businesses Without Websites
  • How to Build a Google Maps Lead List Without Scraping

Frequently Asked Questions

Most developers complete this tutorial in 15 to 30 minutes. You will need a Scavio API key (free tier works) and a working Python or JavaScript environment.

Scavio API key. GitHub account with Pages enabled. Template site generator (Hugo, 11ty, or plain HTML). A Scavio API key gives you 50 free credits on signup.

Yes. The free tier includes 50 credits on signup, which is more than enough to complete this tutorial and prototype a working solution.

Scavio has a native LangChain package (langchain-scavio), an MCP server, and a plain REST API that works with any HTTP client. This tutorial uses the raw REST API, but you can adapt to your framework of choice.

Related Resources

Solution

Auto Demo Site Cold Outreach

Read more
Best Of

Best Search API for Agency Lead Generation in 2026

Read more
Use Case

Auto Demo Site for Cold Outreach

Read more
Use Case

Web Agency Google Maps Lead Generation

Read more
Solution

No-Website Prospect Discovery Stack

Read more
Workflow

Auto Demo Site for Cold Outreach Workflow

Read more

Start Building

Auto-build demo websites for businesses without websites, deploy to GitHub Pages, and use as cold outreach material.

Get Free API KeyRead the Docs
ScavioScavio

Real-time search API for AI agents. Search every platform, not just Google.

Product

  • Features
  • Pricing
  • Dashboard
  • Affiliates

Developers

  • Documentation
  • API Reference
  • Quickstart
  • MCP Integration
  • Python SDK

Alternatives

  • Tavily Alternative
  • SerpAPI Alternative
  • Firecrawl Alternative
  • Exa Alternative

Tools

  • JSON Formatter
  • cURL to Code
  • Token Counter
  • All Tools

© 2026 Scavio. All rights reserved.

Featured on TAAFT
Terms of ServicePrivacy Policy