DEV Community

Cover image for I Built an AI Agent That Finds Clients, Builds Their Website, & Emails It Automatically
M.Azeem
M.Azeem

Posted on

I Built an AI Agent That Finds Clients, Builds Their Website, & Emails It Automatically

Cold outreach is broken. Sending "Hey, I can build your website" emails gets ignored.

So I built a system that does the work first.

I created an n8n automation pipeline that finds local businesses, generates a custom website for them using AI, deploys it live, and then sends them the link.

Here's how the system works in plain English:

🔄 The 5-Step Pipeline

  1. Find High-Value Leads The system scans Google Maps (via Apify) for businesses with good ratings (4.5+) but no website. It also scrapes Reddit and IndieHackers for business opportunities.
  2. Score the Lead It filters out the bad leads. Only businesses with 20+ reviews and high ratings get through. We want clients who can pay.
  3. Build the Asset (AI Magic) This is the core. It sends the business data to DeepSeek AI.
    • Prompt: "Build a complete 5-section HTML website using Tailwind CSS."
    • Output: A fully coded index.html file + a personalized email draft.
  4. Deploy Instantly The workflow automatically:
    • Creates a GitHub Repository.
    • Commits the code.
    • Deploys it to Vercel (getting a live URL like business-name.vercel.app).
  5. Send the Outreach It emails the business owner: "I noticed you didn't have a site, so I built this for you. Check it out here: [Live Link]." It also prepares DMs for Instagram and Facebook if email isn't available.

🛠️ The Tech Stack

  • Orchestrator: n8n (Self-hosted)
  • AI Model: DeepSeek (Cost-effective & fast)
  • Scraping: Apify (Google Places) + RapidAPI (Reddit)
  • Hosting: GitHub + Vercel
  • Database: Google Sheets (Tracking lead status)

📈 Why This Works

When you send a link to a live website instead of a portfolio PDF, response rates skyrocket. You're showing value upfront.

🎁 Want the Workflow?

I'm sharing the full n8n JSON template with my network.

To get it:

  1. Comment "PIPELINE" below.
  2. I'll DM you the clean JSON file + setup guide.

(Note: You'll need your own API keys for DeepSeek, Vercel, and GitHub to run it.)

Top comments (0)