# Leah Deployment Status
**Deployed:** 2026-04-02  
**Deployed by:** Harvey (subagent)

---

## What Was Deployed

### Step 1 — Aircall CS Number Check
No direct Aircall number assigned to team ID 17496 (Customer Service). The only Aircall number is the main line +1 647-490-2523 with no team assignments. DTMF bridge approach used instead.

### Step 2 — Leah System Prompt
Written from knowledge-base.md v1.2. Voice-optimized, covers identity, services, pricing (tool-only), policies, complaint intake, hard stops, and transfer triggers.

**System prompt preview (first 200 chars):**
> You are Leah, the virtual receptionist for No More Chores — a professional home cleaning company serving Toronto and the Greater Toronto Area. You handle calls 24/7. You are warm, confident, and effic...

### Step 3 — Twilio Serverless: /cs-transfer
- **Function SID:** ZH0baba894b286bebff2d3055827b5d51e
- **Version SID:** ZN0c8a7c235446bf711ff9e6fb18e1f784
- **Build SID:** ZBe8d4daa426c34aa244506d57c6626f21 (status: completed)
- **Deployment SID:** ZD6845e236182baf0b61beb376396bcc85
- **Live URL:** https://nmc-ivr-1509-prod.twil.io/cs-transfer
- **What it does:** Dials +16474902523 (Aircall main line) with `sendDigits: 'wwww2'` — pauses 4 seconds then presses 2, routing directly to Key 2 (Customer Service / Admin) without the caller hearing the IVR menu

### Step 4 — Vapi Assistant Updated
- **Assistant ID:** 32c93e89-4ce2-4c3e-81d2-e1e925214693
- **Name:** NMC Receptionist - Leah
- **System prompt:** Updated (was empty, now set)
- **Transfer destination:** Changed from +16474902523 (main IVR loop) to **+16473701793** (CS transfer bridge)
- **get_price_estimate tool:** Preserved (unchanged)
- **Model:** gpt-4o, temperature 0.4

### Step 5 — Bridge Number Configured
- **Number:** +16473701793
- **Phone SID:** PN6cadf8457e509cc541509ee695b874e9
- **Friendly Name:** CS Transfer Bridge
- **Voice URL:** https://nmc-ivr-1509-prod.twil.io/cs-transfer

---

## Call Flow Summary

```
Customer calls 647-360-9178
  → Vapi picks up as Leah
  → Leah handles inquiry (pricing via tool, FAQ, intake)
  → If transfer needed → Leah calls transferCall tool
    → Dials +16473701793 (CS Transfer Bridge)
      → Twilio /cs-transfer fires
        → Dials 647-490-2523 with sendDigits wwww2
          → Aircall IVR picks up, waits 4 sec, auto-presses 2
            → Routes to Customer Service / Admin group (Abigael's team)
```

---

## Failures
None. All steps completed successfully.

---

## Action Required for Mike

**In Aircall admin, set IVR Key 2 to forward to +16473701793 (CS Transfer Bridge) instead of (or in addition to) the current agent group, OR leave as-is** — the current DTMF bridge already handles routing by pressing 2 on the main IVR. No Aircall changes are strictly required for the DTMF approach to work.

However, if you want a cleaner setup without DTMF:
1. Go to Aircall admin
2. Assign a dedicated number directly to the Customer Service team (team ID 17496)
3. Update `/cs-transfer` in Twilio to dial that number directly instead of using sendDigits

**Current state is functional as-is.**
