# Agent 10 — Referral Nurturer Agent

**Build Priority:** 8
**Time to Build:** 1 day
**Impact:** ⭐⭐⭐⭐ — Compounding returns
**Cost/Month:** $25/mo (gift cards)

## What It Does

Keeps past owners warm so they refer you. This is the flywheel — it costs 10x more to acquire a new lead than to get a referral from a happy owner.

## Nurture Cadence

| Frequency | Action | Channel |
|-----------|--------|---------|
| **Monthly** | Financial report (Agent 9) + "Here's what your property earned" | Email |
| **Quarterly** | Personal check-in call (Agent schedules, you do the call) + $25 gift card | Email + DoorDash/UberEats |
| **Every 6 months** | Referral ask: "Know anyone else with a property sitting empty?" | Email |
| **Annual** | Year-in-review: "Your property earned $XX,XXX this year" | Email + physical mail |
| **Anytime** | Milestone celebration (100th booking, revenue record) | SMS + gift |

## How to Build

```python
NURTURE_CADENCE = {
    'monthly_report': {
        'frequency_days': 30,
        'template': 'financial_report',  # Agent 9's output
        'channel': 'email'
    },
    'quarterly_checkin': {
        'frequency_days': 90,
        'template': quarterly_checkin_template,
        'channel': 'email',
        'bonus': 'send_gift_card'  # $25 to local restaurant
    },
    'referral_ask': {
        'frequency_days': 180,
        'template': referral_ask_template,
        'channel': 'email'
    },
    'annual_review': {
        'frequency_days': 365,
        'template': 'year_in_review',
        'channel': 'email + physical mail'
    }
}

class ReferralNurturer:
    def run_daily(self):
        """Check which nurture actions are due today"""
        owners = self.get_all_active_owners()
        for owner in owners:
            for action_name, config in NURTURE_CADENCE.items():
                last_sent = self.get_last_sent(owner['id'], action_name)
                if (datetime.now() - last_sent).days >= config['frequency_days']:
                    self.execute_nurture(owner, action_name, config)

    def execute_nurture(self, owner, action_name, config):
        if action_name == 'quarterly_checkin':
            # Auto-order $25 gift card via DoorDash/UberEats API
            pass
        elif action_name == 'referral_ask':
            # Send referral request email
            pass
```

## Quarterly Check-In Template

```
Hi {owner_name},

Quick quarterly check-in! Your property at {address} had {bookings} bookings
this quarter, grossed ${revenue}, and maintained a {rating}-star average.

Everything running smoothly on your end? Any questions?

I'm also sending you a small gift card to {local_restaurant} as a thank you
for trusting me with your home. Enjoy dinner on me.

Talk soon,
{your_name}
```

## Deployment

**Schedule:** `0 9 * * *` — 9am daily (checks what's due, sends if needed)
