// system diagram
Architecture image placeholder
- Problem
- Manual order processing — spreadsheet logging, invoice creation, and confirmation emails all done by hand. No contact resolution or invoice referencing, causing delays as order volume grows.
- System
- Webhook → Google Sheets → Gmail → Xero Search Contacts → Router → (exists) Create Invoice / (new) Create Contact → Create Invoice.
- Outcome
- End-to-end automation: webhook fires, order logged, customer notified, Xero contact resolved or created, invoice generated with correct reference — zero manual input across 5 test scenarios.