Lead Routing Test Matrix: 10 Acceptance Cases Before Cutover
A lead routing test matrix forces every CRM assignment workflow to prove itself against ten real-world edge cases before live paid traffic touches it. Teams often test only the happy path—one tidy corporate email with every dropdown filled—leaving blank fallbacks, PTO black holes and duplicate collisions undiscovered until real buyers slip through.
Francisco Contreras · Founder, Machina
5 min read

Why testing only the happy path leaks real deals
When a team deploys a new CRM routing workflow, QA often stops after one quick check: typing test@company.com into the demo form, seeing a Slack alert appear, and shipping. Days later, a buyer submits from a personal Gmail on a phone, leaves the state dropdown empty, or clicks Submit twice on slow Wi-Fi—and an untested branch drops the inquiry.
Software teams do not ship payment code without edge-case acceptance tests; revenue plumbing deserves the same standard. Below is a 10-case acceptance suite you can run before switching any routing workflow live—or ask our lead routing consultant team to run and verify it with you.
The 10-case CRM workflow acceptance suite
| Case | Test Input Payload | Expected CRM & Alert Behavior | Pass Criterion |
|---|---|---|---|
| Case 1: Standard ICP fit | Corporate email, valid state/ZIP, full UTM + GCLID query string. | Enriched, matched to territory/ACV owner, Slack brief posted with landing URL and source. | Named owner stamped & alert delivered inside 60 seconds. |
| Case 2: Missing optional fields | Personal Gmail address, blank company name, blank territory/headcount. | Enrichment gate times out gracefully; contact enters named catch-all fallback queue. | No ownerless contact; fallback owner notified cleanly. |
| Case 3: Exact duplicate submission | Same email submits twice within 15 seconds (double-click or mobile refresh). | Idempotency key merges payload; existing owner kept; no duplicate deals or tasks. | Single contact record; single alert thread; original UTMs preserved. |
| Case 4: Existing active account | New contact from a corporate domain that already has an open Opportunity. | Domain-to-company lookup bypasses round-robin and routes directly to active account owner. | Assigned to existing AE; rep alerted that a second stakeholder engaged. |
| Case 5: Enrichment API lag / timeout | Mock enrichment endpoint delayed 20 seconds or returning HTTP 503. | Bounded 8-second wait gate expires and routes via deterministic fallback without stalling. | Contact assigned inside 60 seconds; enrichment retries asynchronously. |
| Case 6: Rep PTO / unaccepted SLA | Assigned to a rep marked unavailable or left unacknowledged past 5-minute SLA. | Escalation timer triggers automatic reassignment to backup rep plus manager ping. | Backup owner stamped and alerted within configured SLA window. |
| Case 7: After-hours / weekend ingress | Submitted at 9:40 PM local time on Friday. | Immediate clear confirmation sent; business-hours SLA clock pauses cleanly until Monday morning queue. | Monday priority digest delivered; auto-receipt NOT counted as human reply. |
| Case 8: First-touch attribution lock | Contact arrives via Paid Search (GCLID present), returns two days later via Direct and submits again. | Write-once first-touch fields stay locked to Paid Search; latest-touch fields record Direct separately. | GCLID intact on Contact and synced onto Deal for offline ad upload. |
| Case 9: CRM 429 / 500 outage replay | Simulate CRM API returning HTTP 429 rate-limit or 500 server error on ingress. | First-party ledger saves submission; exponential backoff retries; ops alert fires if retries exhaust. | No dropped inquiry; dead-letter record replays idempotently once API recovers. |
| Case 10: Malformed picklist / spam quarantine | Unexpected dropdown string or honeypot-flagged bot submission. | Unmapped dropdown saved to raw notes instead of throwing 400; suspected bot logged to quarantine. | Real buyers do not hit silent 400 errors; quarantined records remain auditable. |
Adapt timeout thresholds and SLA windows to match your team’s staffing and sales process.
How to run this suite safely in 45 minutes
- 1
Prefix every test payload with a clean QA identifier
Use a dedicated plus-addressed pattern likeops-qa+case1@yourdomain.comso you can filter test records out of GA4 conversions, ad uploads, and revenue reports cleanly. - 2
Capture raw timestamps at all four checkpoints
Record exact UTC timestamps for server ingress, CRM record creation, owner assignment, and alert delivery. Verify logged seconds rather than eyeballing notifications. - 3
Sign off every branch before turning off legacy automations
Keep legacy routing intact while testing in a sandbox or gated trigger branch. Cut over only when all ten cases pass with recorded receipts, then run a 7-day shadow reconciliation. - 4
Run a regression check after every schema or territory change
Whenever someone adds a form field, edits a CRM picklist, or changes sales territories, re-run Case 1, Case 2, Case 4, and Case 8 to confirm nothing silently broke.
If you are still trying to figure out where existing leads are stalling before writing a fix, start with Diagnose Lead Routing Failures or Form to CRM Lead Loss.
FAQ
Frequently asked questions
Should we run these acceptance tests in a CRM sandbox or production?
Test destructive merge rules and brand-new workflows in a sandbox first, then run a final non-destructive pass on production using clearly labeled QA test emails—because production API tokens, live forms, and Slack webhooks often differ subtly from staging.
How do we stop QA test submissions from polluting Google Ads or GA4?
Exclude your QA email domain or plus-address pattern from offline conversion uploads and tag test traffic with an internal debug flag so ad bidding algorithms never learn from QA runs.
What if our CRM cannot support native timeout fallbacks or dead-letter replay?
Place a lightweight first-party API route or queue worker (such as TypeScript on your web host or an owned n8n instance) in front of the CRM so every submission lands in durable storage before calling third-party APIs.
Keep reading
Related guides
Explore related work
Next steps
Let's talk about your project
Tell us what you're working on. We'll tell you if we can help — and exactly what we'd do.
