Machina

Machina — Marketing that moves numbers.

Reach out today
Automation

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

Francisco Contreras · Founder, Machina

5 min read

A teal sphere crossed by a dotted cream line between evenly spaced vertical lines, on a black ground

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.

The four deterministic gates every inbound inquiry should clear before live cutover.

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

Production acceptance cases for inbound CRM assignment and SLA workflows
CaseTest Input PayloadExpected CRM & Alert BehaviorPass Criterion
Case 1: Standard ICP fitCorporate 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 fieldsPersonal 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 submissionSame 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 accountNew 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 / timeoutMock 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 SLAAssigned 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 ingressSubmitted 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 lockContact 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 replaySimulate 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 quarantineUnexpected 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. 1

    Prefix every test payload with a clean QA identifier

    Use a dedicated plus-addressed pattern like ops-qa+case1@yourdomain.com so you can filter test records out of GA4 conversions, ad uploads, and revenue reports cleanly.
  2. 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. 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. 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.

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.

We use cookies and analytics to understand how visitors use our site and improve your experience. Privacy Policy · Do Not Sell or Share My Personal Information