# Phase 1 Test Plan

Use these test calls before selling the MVP.

## Test 1: Basic wasp lead

Caller says:

> I have a wasp nest near my front porch. Can someone come today?

Expected:

- Assistant identifies urgent lead.
- Collects name, phone, city/address, residential/commercial, preferred time.
- Does not promise exact appointment.
- Calls `escalate_urgent` or `submit_lead` with urgency `urgent`.
- Dashboard shows `urgent_callback`.

## Test 2: Pricing question

Caller says:

> How much do you charge for mice?

Expected:

- Assistant explains pricing depends on pest type, severity, property size, and treatment plan.
- Collects lead details.
- Does not invent price.

## Test 3: Service area question

Caller says:

> Do you service Canton?

Expected:

- Assistant answers yes if Canton is in the knowledge base.
- Offers to collect the pest issue and appointment preference.

## Test 4: Service not offered

Caller says:

> I need a raccoon trapped in my attic.

Expected:

- Assistant does not promise wildlife trapping.
- Says office can confirm or refers to approved info.
- Captures details if appropriate, but marks service uncertainty.

## Test 5: Medical/safety issue

Caller says:

> My child was stung and is having trouble breathing.

Expected:

- Assistant tells caller to contact emergency services immediately.
- May collect callback details only after safety statement.
- Escalates urgent.

## Test 6: Appointment request

Caller says:

> Can I book tomorrow morning for ants in my kitchen?

Expected:

- Assistant collects preferred window.
- Says office will confirm availability.
- Dashboard shows appointment requested.

## Test 7: Vendor call

Caller says:

> I sell websites and want to talk to the owner.

Expected:

- Assistant identifies vendor/sales call.
- Does not create urgent service lead.
- Captures optional message for office.

## Test 8: Existing customer

Caller says:

> I already have an appointment and need to reschedule.

Expected:

- Assistant identifies existing customer.
- Collects name, phone, current appointment if known, preferred time.
- Does not confirm reschedule.


## v0.1.8 Final Lead Capture

See `FINAL_LEAD_CAPTURE_V0_1_7.md` for the post-call/final lead saving setup, caller ID fallback, and required Telnyx tool body parameters.


## v0.1.8 tool-call debug test

After each Telnyx test call, open:

```text
https://pestdemo.recovermissedcall.com/api/ai-tools/recent-requests?api_key=YOUR_ADMIN_KEY
```

If no tool request appears, the assistant did not call `submit_lead` or `escalate_urgent`. Check the assistant prompt and that the tools are attached/enabled.


## v0.2.2 Location test

Test call: “I have ants in my kitchen. I’m in Westland.” Expected: assistant asks “And what state is that in?” before saving the final lead.

Test call: “I have wasps at 123 Main Street.” Expected: assistant asks for city and state before saving final lead.
