🔍 Lead Extraction Tool

An AI-powered lead extractor that scans websites to find email addresses and contact information.

How it works

Rendering mermaid diagram...
  1. You enter a website URL in the form
  2. An OpenAI Agent (GPT-4o-mini) receives the URL and uses a scrape_url tool
  3. The agent strategically crawls the site — prioritizing about/team/contact pages
  4. Emails are extracted from mailto: links and page text via regex
  5. The agent returns structured lead data (email, name, role, source page)
  6. Results are displayed in a table with a "copy all emails" button

Setup

  1. Set the OPENAI_API_KEY environment variable → Get your key

Tech Stack

  • Frontend: React + Twind (Tailwind)
  • Backend: Hono API on Val Town
  • AI: OpenAI Agents SDK (@openai/agents)
  • Scraping: Cheerio HTML parser