# PHT Fully Automated Sales System
**Created:** March 11, 2026  
**Vision:** 100% automated prospecting → outreach → follow-up with real-time dashboard

---

## 🎯 The Automated System

### Core Principle: **Zero Manual Work**
- I (Max) run everything automatically
- Quality verification at every step
- You only see: Dashboard + meetings booked
- Alerts only when human decision needed (meeting requests, urgent replies)

---

## 🏗️ System Architecture

```
┌─────────────────────────────────────────────────────────┐
│                    AUTOMATION ENGINE                     │
│                    (Max - Running 24/7)                  │
└─────────────────────────────────────────────────────────┘
                            ↓
        ┌───────────────────┼───────────────────┐
        ↓                   ↓                   ↓
   DISCOVERY          ENRICHMENT           OUTREACH
   (Daily 6am)        (Continuous)         (Continuous)
        ↓                   ↓                   ↓
   NEW COMPANIES    VERIFIED CONTACTS    INSTANTLY SEQUENCES
        ↓                   ↓                   ↓
   ┌────────────────────────────────────────────────────┐
   │              VERIFICATION LAYER                     │
   │  ✓ Email verification  ✓ Title matching           │
   │  ✓ Domain checks       ✓ Duplicate removal        │
   └────────────────────────────────────────────────────┘
                            ↓
   ┌────────────────────────────────────────────────────┐
   │              DASHBOARD (Visual)                     │
   │  📊 Real-time metrics  🎯 Pipeline status          │
   │  📧 Reply inbox        📅 Meetings booked          │
   └────────────────────────────────────────────────────┘
```

---

## 🔄 Automated Workflows

### Workflow 1: DAILY DISCOVERY (6am NZDT)
**Trigger:** Cron job  
**Frequency:** Every weekday

```python
# Max runs automatically:
1. Check current pipeline count
2. If < 500 active prospects:
   → Find 50 new companies (Apify + Apollo)
3. Run enrichment pipeline on all 50
4. Quality check:
   ✓ Valid domain (not parked/for sale)
   ✓ Confirmed CA storage (via website scan)
   ✓ 10+ rooms estimated
   ✓ No duplicates in database
5. Pass verification → Add to enrichment queue
6. Fail verification → Log to "review-needed.csv"
```

**Output:**
- 40-50 verified new companies/day → ~250/week
- Automatically added to system
- Dashboard updates: "50 new companies added today ✓"

---

### Workflow 2: CONTACT ENRICHMENT (Continuous)
**Trigger:** New company added OR daily 8am sweep  
**Frequency:** Real-time + daily batch

```python
# For each company in queue:
1. Domain search (Snov.io):
   → Find all employees with titles matching:
      ["quality", "operations", "production", "technical", "facility", "general manager"]
2. Rank contacts by title priority:
   1st: Quality Manager
   2nd: Operations Manager
   3rd: Production Manager
3. Email verification (Hunter.io):
   ✓ Valid format
   ✓ Not catch-all
   ✓ Not role-based (info@, sales@)
   ✓ Deliverability score >70%
4. Get top 3 verified contacts
5. Quality check:
   ✓ At least 1 contact found
   ✓ All emails verified
   ✓ Titles match target roles
6. Pass → Add to personalization queue
7. Fail → Flag for manual LinkedIn search (alert Jonny)
```

**Output:**
- 3 verified contacts per company
- 90%+ email deliverability guaranteed
- Dashboard: "750 contacts enriched this week ✓"

---

### Workflow 3: EMAIL PERSONALIZATION (Continuous)
**Trigger:** Contact enrichment complete  
**Frequency:** Real-time

```python
# For each contact:
1. Gather personalization data:
   - Company: Name, location, fruit type, room count
   - Contact: First name, title
   - Context: Similar customers in region, relevant case study
2. Generate custom email (Claude API via me):
   - Subject line (2 variations for A/B test)
   - Email body (personalized introduction)
   - Case study selection (based on fruit type)
   - ROI stat (based on room count)
3. Quality check:
   ✓ No placeholder text ({{tokens}} all replaced)
   ✓ Grammar check passed
   ✓ Length 150-200 words
   ✓ Case study relevant to fruit type
4. Pass → Add to Instantly queue
5. Fail → Regenerate (max 2 attempts)
```

**Output:**
- Fully personalized emails ready to send
- A/B test variants generated
- Dashboard: "450 emails personalized this week ✓"

---

### Workflow 4: INSTANTLY CAMPAIGN MANAGEMENT (Continuous)
**Trigger:** Personalized email ready  
**Frequency:** Real-time

```python
# Campaign setup:
1. Route to correct campaign based on:
   - Region (USA, UK, AU, NZ, SA, CA)
   - Fruit type (Apples, Citrus, Kiwis, etc.)
2. Add contact to campaign via Instantly API
3. Set sequence:
   Day 0: Email 1 (personalized intro)
   Day 3: Email 2 (value add resource)
   Day 7: Email 3 (social proof)
   Day 14: Email 4 (last chance)
   Day 21: Email 5 (break-up)
4. Configure send time:
   - Based on contact timezone
   - Business hours only (8am-5pm local)
5. Activate sequence
6. Monitor deliverability
```

**Output:**
- Auto-added to appropriate campaign
- Sequence starts automatically
- Dashboard: "150 contacts in active sequences"

---

### Workflow 5: REPLY MONITORING (Hourly)
**Trigger:** Cron every hour  
**Frequency:** Hourly during business hours

```python
# Check Instantly inbox:
1. Fetch all new replies
2. Categorize with AI:
   ✅ POSITIVE ("interested", "tell me more", "when can we talk")
      → Flag HIGH PRIORITY
      → Telegram alert to Jonny
      → Add to "Hot Leads" in dashboard
   
   📧 NEUTRAL ("send me info", "not now but later")
      → Auto-reply with case study PDF
      → Schedule follow-up in 2 weeks
      → Add to "Nurture" queue
   
   ❌ NEGATIVE ("not interested", "remove me")
      → Auto-unsubscribe from sequence
      → Archive
   
   🔄 OUT OF OFFICE
      → Pause sequence
      → Resume after OOO end date
   
   ❓ UNCLEAR
      → Flag for Jonny review
      → Pause sequence until reviewed
3. Update dashboard with reply stats
4. Log all interactions to Close.io
```

**Output:**
- Hot leads flagged within 1 hour
- Auto-responses sent for common replies
- Dashboard: "12 positive replies this week 🔥"

---

### Workflow 6: MEETING BOOKING (Real-time)
**Trigger:** Positive reply detected  
**Frequency:** Immediate

```python
# When positive reply detected:
1. Telegram alert to Jonny:
   "🔥 HOT LEAD: [Company Name]
   Contact: [Name] ([Title])
   Reply: [First 100 chars of reply]
   
   Action needed: Reply and send Calendly link"
   
2. Suggested reply (pre-written by me):
   "Great to hear, [First Name]! 
   
   Here's my calendar - grab a time that works:
   calendly.com/jonny_shannon/30mins
   
   I'll prepare some examples from [similar company] 
   specific to [fruit type] storage.
   
   Looking forward to it!
   Jonny"
   
3. Track response time (Jonny's reply speed)
4. When meeting booked:
   → Add to dashboard "Meetings This Week"
   → Create Close.io deal
   → Auto-send meeting prep email 24h before
```

**Output:**
- Jonny gets instant alerts
- Pre-written replies ready to send
- Dashboard: "8 meetings booked this week 📅"

---

### Workflow 7: DATA QUALITY CHECKS (Daily 11pm)
**Trigger:** Cron nightly  
**Frequency:** Daily

```python
# Nightly cleanup:
1. Check for bounced emails:
   → Remove from all sequences
   → Find replacement contact
   → Re-enrich company
2. Check for duplicates:
   → Same email in multiple campaigns
   → Merge records
3. Verify campaign health:
   → Deliverability rate >95%
   → Open rate >20%
   → Reply rate >5%
   → If below threshold → Alert Jonny
4. Archive completed sequences (21+ days, no reply)
5. Generate weekly report (if Monday)
```

**Output:**
- Clean database maintained
- Issues flagged proactively
- Dashboard: "System health: 98% ✓"

---

## 📊 THE DASHBOARD

### Option 1: Simple Google Sheet (Auto-Updated)
**Location:** Google Sheets (view-only link for Jonny)  
**Update Frequency:** Every hour

#### Tabs:

**1. OVERVIEW**
```
┌─────────────────────────────────────────────────────┐
│  PHT Sales Pipeline - Week of March 11, 2026        │
├─────────────────────────────────────────────────────┤
│                                                      │
│  📊 THIS WEEK                                        │
│  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━   │
│  New Companies Added:        50                      │
│  Contacts Enriched:         150                      │
│  Emails Sent:               450                      │
│  Replies Received:           18 (4.0%)              │
│  Positive Replies:           12 (2.7%)              │
│  Meetings Booked:             8                      │
│                                                      │
│  🎯 ACTIVE PIPELINE                                  │
│  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━   │
│  Total Active Contacts:     847                      │
│  In Sequences:              623                      │
│  Awaiting Response:         189                      │
│  Hot Leads:                  35                      │
│                                                      │
│  📅 UPCOMING                                         │
│  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━   │
│  Meetings This Week:          3                      │
│  Meetings Next Week:          5                      │
│                                                      │
│  ⚡ SYSTEM HEALTH                                    │
│  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━   │
│  Email Deliverability:    97.2% ✓                    │
│  Data Quality Score:      94.8% ✓                    │
│  API Status:              All systems operational    │
│                                                      │
│  Last Updated: 2026-03-11 14:00 NZDT                │
└─────────────────────────────────────────────────────┘
```

**2. HOT LEADS** (Requires Action)
```
| Date       | Company          | Contact         | Title            | Reply Summary         | Status        |
|------------|------------------|-----------------|------------------|-----------------------|---------------|
| 2026-03-11 | ABC Fruit Co     | John Smith      | Quality Manager  | "Interested, call me" | 🔥 URGENT     |
| 2026-03-10 | XYZ Storage      | Sarah Jones     | Ops Manager      | "Send more info"      | 📧 Responded  |
| 2026-03-10 | Fresh Citrus Ltd | Mike Brown      | Production Mgr   | "Book a call"         | 📅 Calendly sent |
```

**3. WEEKLY PERFORMANCE**
```
| Week Of    | Companies | Contacts | Emails | Replies | Reply % | Meetings | Close % |
|------------|-----------|----------|--------|---------|---------|----------|---------|
| 2026-03-11 | 50        | 150      | 450    | 18      | 4.0%    | 8        | 44%     |
| 2026-03-04 | 48        | 144      | 432    | 21      | 4.9%    | 9        | 43%     |
| 2026-02-26 | 45        | 135      | 405    | 16      | 4.0%    | 7        | 44%     |
```

**4. CAMPAIGN BREAKDOWN**
```
| Region        | Active | Sent | Opens | Replies | Meetings | Status |
|---------------|--------|------|-------|---------|----------|--------|
| USA Apples    | 247    | 741  | 289   | 11      | 4        | ✓      |
| SA Citrus     | 89     | 267  | 98    | 4       | 2        | ✓      |
| AU Mixed      | 156    | 468  | 187   | 8       | 3        | ✓      |
| NZ Kiwis      | 67     | 201  | 81    | 3       | 2        | ✓      |
```

**5. ISSUES LOG**
```
| Date       | Issue                          | Severity | Resolution              | Status   |
|------------|--------------------------------|----------|-------------------------|----------|
| 2026-03-11 | Bounced emails: 12 contacts    | Low      | Finding replacements    | In progress |
| 2026-03-10 | Snov.io limit reached          | Medium   | Switched to Hunter      | Resolved    |
| 2026-03-09 | Deliverability dip (94%)       | High     | Cleaned send domain     | Resolved    |
```

---

### Option 2: Custom Dashboard (Better UX)
**Tech Stack:** Simple web app (HTML + JavaScript)  
**Hosted:** Vercel (free tier) or localhost  
**Updates:** Real-time via API

**Features:**
- 📊 Live charts (line graphs for trends)
- 🔔 Alert badges for hot leads
- 📧 Embedded reply inbox
- 📅 Calendar view of meetings
- 🎯 Pipeline funnel visualization
- ⚙️ System health indicators

**Build Time:** 4-6 hours (I can build this)

---

## 🚨 Alert System

### Jonny Gets Telegram Alerts For:
1. **🔥 Hot Lead** (positive reply)
   - Instant notification
   - Pre-written response included
   - Calendly link ready

2. **📅 Meeting Booked**
   - Confirmation with details
   - Auto-added to your calendar
   - Prep email scheduled

3. **⚠️ System Issue**
   - Deliverability <95%
   - API failures
   - Unusual bounce rate

4. **📊 Weekly Summary** (Monday 8am)
   - Last week's performance
   - This week's goals
   - Hot leads requiring follow-up

### Jonny NEVER Gets Alerts For:
- Routine processing
- Negative replies (auto-handled)
- Out of office (auto-paused)
- Email bounces (auto-replaced)
- Data enrichment progress

---

## ✅ Verification at Every Step

### Discovery Verification:
- ✓ Valid domain (not parked/for sale)
- ✓ Company still in business (website check)
- ✓ Confirmed CA storage (via website scraping)
- ✓ Location matches target region
- ✓ Not a duplicate

### Contact Verification:
- ✓ Email format valid
- ✓ Domain matches company
- ✓ Not a catch-all email
- ✓ Not role-based (info@, sales@)
- ✓ Hunter.io deliverability >70%
- ✓ Title matches target role keywords
- ✓ Name exists (not just email)

### Email Verification:
- ✓ All personalization tokens filled
- ✓ No grammar errors
- ✓ Case study matches fruit type
- ✓ ROI stat matches company size
- ✓ Links valid (Calendly accessible)
- ✓ Subject line <60 characters

### Campaign Verification:
- ✓ Deliverability rate >95%
- ✓ Open rate >20% (industry standard)
- ✓ Reply rate >3%
- ✓ Bounce rate <3%
- ✓ Spam complaint rate <0.1%

---

## 🎯 Success Metrics (Auto-Tracked)

### Weekly Goals:
- 50 new companies discovered ✓
- 150 contacts enriched ✓
- 450 emails sent ✓
- 15-20 replies received
- 8-12 meetings booked

### Monthly Goals:
- 200 companies added
- 600 contacts enriched
- 1,800 emails sent
- 70-90 replies
- 35-45 meetings
- 3-5 deals closed

### Quality Standards:
- Email deliverability: >95%
- Reply rate: >3%
- Meeting booking rate: >50% of positive replies
- Data accuracy: >95%
- Zero spam complaints

---

## 💻 Implementation Plan

### Phase 1: Foundation (Week 1)
**Day 1-2:**
- Get Instantly API key
- Set up automation scripts (Python)
- Configure cron jobs (discovery, enrichment, monitoring)

**Day 3-4:**
- Build dashboard (Google Sheets OR custom web app)
- Set up Telegram alerts
- Test end-to-end with 10 companies

**Day 5:**
- Run pilot with 50 companies
- Monitor for 24 hours
- Fix any issues

### Phase 2: Optimization (Week 2)
- A/B test subject lines
- Refine personalization prompts
- Tune verification thresholds
- Scale to 100 companies/week

### Phase 3: Full Automation (Week 3+)
- Scale to 200 companies/week
- Enable 24/7 autonomous operation
- Jonny only monitors dashboard + responds to hot leads
- Weekly review meetings (15 min)

---

## 🔒 Safety & Compliance

### Anti-Spam Measures:
- Daily send limits (30/account max)
- Proper unsubscribe handling
- CAN-SPAM compliance (footer in every email)
- SPF/DKIM/DMARC configured
- Warm IP addresses (via Instantly)

### Data Privacy:
- GDPR compliance (EU contacts can opt-out)
- No selling/sharing of data
- Secure storage (encrypted databases)
- 30-day data retention for non-replies

### Quality Controls:
- Manual spot-checks (random 10 emails/week)
- Monthly audit of verification accuracy
- A/B testing to optimize messaging
- Feedback loop from Jonny's calls

---

## 🚀 Launch Checklist

### Before Going Live:
- [ ] Instantly API key obtained
- [ ] All email accounts warmed (>100 score)
- [ ] SPF/DKIM/DMARC configured
- [ ] Dashboard accessible to Jonny
- [ ] Telegram alerts tested
- [ ] Pilot completed successfully (50 companies)
- [ ] Email templates approved by Jonny
- [ ] Verification thresholds set
- [ ] Cron jobs scheduled
- [ ] Backup systems configured

### Go-Live Day:
1. Enable discovery workflow (6am NZDT)
2. Monitor first 100 emails sent
3. Check deliverability (should be >95%)
4. Review first replies
5. Adjust as needed

### First Week:
- Daily check-ins with Jonny (15 min)
- Monitor dashboard hourly
- Respond to all hot leads within 2 hours
- Document any issues
- Optimize based on results

---

## 💡 The Vision

**Jonny's Daily Routine:**
1. Wake up → Check dashboard (2 min)
2. Review hot leads → Send Calendly links (5 min)
3. Take meetings (scheduled by system)
4. Close deals

**Max's Role:**
- Run everything 24/7
- Handle all data processing
- Alert Jonny to opportunities
- Maintain system health
- Optimize continuously

**Result:**
- 8-12 qualified meetings/week
- 3-5 deals/month
- ~30 hours saved/week
- Scalable to 1000+ prospects/month

---

## 🎬 Ready to Build?

**Next Steps:**
1. Choose dashboard style (Google Sheets or custom web app?)
2. Get Instantly API key
3. I build the system (2-3 days)
4. We test together
5. Launch! 🚀

**Timeline:**
- **Day 1:** Get API keys, build automation core
- **Day 2:** Build dashboard, set up alerts
- **Day 3:** Test pilot (50 companies)
- **Day 4:** Review results, optimize
- **Day 5:** LAUNCH at full scale

Say the word and I'll start building! 🔥
