Pizzaiolo
Orders pizza end-to-end: calls Paolo to take the order, finds nearby pizzerias via Google Places, and calls the best one to place the order.
Invocation
Run the following command:
pizza order
CLI Options
| Flag | Description |
|---|---|
--dry-run |
Simulate the full flow without real Vapi calls. Paolo call and pizzeria calls are mocked; Google Places API is called for real. |
--skip-ask |
Skip calling Paolo and reuse the last saved order items. |
--candidate <n> |
Pick the Nth pizzeria from search results (1-based index). |
-v, --verbose |
Enable verbose debug output for troubleshooting. |
Trigger Phrases
This skill activates on Italian and English pizza ordering requests:
ordina una pizza— order a pizzaordiniamo la pizza— let's order pizzavoglio una pizza— I want a pizzaho fame, ordina— I'm hungry, orderprendi una pizza— get a pizzaorder a pizza,pizza time,get me a pizza
Workflow
- Paolo call — AI voice agent calls Paolo to capture order items and delivery preference
- Locate pizzerias — Google Places API finds nearby open pizzerias
- Place order — AI voice agent calls the top pizzeria to confirm and place the order (up to 3 attempts)
- Report — Prints a formatted summary of the outcome
Usage Examples
# Full live run
pizza order
# Dry run (safe for CI / testing)
pizza order --dry-run
# Pick the 2nd pizzeria from search results
pizza order --candidate 2
# Skip Paolo call and reuse last saved order
pizza order --skip-ask
# Debug mode
pizza order --verbose
Notes
- Requires
VAPI_API_KEY,GOOGLE_PLACES_API_KEY, andHOME_ADDRESSenv vars (or.envfile) - Dry-run records are tagged
dryRun: truein the saved order record - Up to 3 pizzerias are attempted before the order is marked as failed