-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path,
More file actions
68 lines (49 loc) · 1.4 KB
/
,
File metadata and controls
68 lines (49 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Demo Builder - Website Generator for Local Businesses
A specialized agent that creates professional demo websites for businesses identified by Lead Scout.
## Features
- 🎨 Industry-specific templates (Restaurant, Retail, Services, Professional)
- 🤖 AI-powered content generation for business descriptions
- 🚀 One-command deployment to Vercel/Netlify
- 📱 Mobile-responsive designs
- ⚡ Fast static site generation with Astro
## Installation
```bash
cd agents/demo-builder
npm install
```
## Usage
### Single Demo Creation
```bash
npm run create --lead-file ../lead-scout/leads.json --business "Business Name"
```
### Batch Create (with approval workflow)
```bash
npm run batch --lead-file ../lead-scout/leads.json
# Interactive prompt to approve each business
```
### Templates Available
- `restaurant` - Food & dining businesses
- `retail` - Shops & stores
- `services` - Plumbing, HVAC, etc.
- `professional` - Lawyers, accountants, consultants
## Workflow
1. Lead Scout finds businesses without websites
2. Review leads.json output
3. Run Demo Builder on approved businesses
4. Get preview URLs for each demo site
5. Send to prospects
## Configuration
Create `.env` file:
```
OPENAI_API_KEY=your_key
VERCEL_TOKEN=your_token # For deployment
```
## Output Structure
```
demos/
├── business-name-1/
│ ├── index.html
│ └── ...
└── business-name-2/
└── ...
```