RevOps Playbook
From Permit Signals to CRM Queue: SLA-Driven Routing Playbook
May 25, 2026 · 12 min read
Pulling signal rows is not the hard part. The hard part is converting those rows into a queue your team actually works. This playbook shows how to sync permit leads into CRM, dedupe records, assign owners, and enforce SLA tiers.
Resolve market -> pull leads -> upsert CRM -> route by SLA tier.
Key Takeaways
- Use
lead_idas your external key to prevent duplicate queue records. - Ship a default routing tier first, then add capacity-aware custom routing later.
- Set explicit SLA hours by route tier so operations can audit follow-through.
- Review queue quality weekly by route tier, signal key, and owner.
Step 1: Resolve to one canonical county ID
Keep ownership and reporting stable by anchoring every downstream call to one canonical geo_id.
curl -sS -G "https://api.homelogs.io/v1/locations/resolve" \-H "X-API-Key: $API_KEY" \--data-urlencode "query=King County" \--data-urlencode "state=WA" \--data-urlencode "geo_type=county" \--data-urlencode "limit=1"
{"query": "King County","count": 1,"candidates": [{"geo_id": "geo_county_6973f63e37a900040c0d","geo_type": "county","display_name": "KING COUNTY, WA","confidence": 0.99,"decision": "exact"}]}
Step 2: Pull permit leads for the queue candidate set
Query your routing signal pack and cap result size for each run. This response becomes the input to CRM upsert.
curl -sS -G "https://api.homelogs.io/v1/signals/permit/leads" \-H "X-API-Key: $API_KEY" \--data-urlencode "geo_id=geo_county_6973f63e37a900040c0d" \--data-urlencode "signal_keys=site_prep_issued_nowcast,framing_nowcast_early,framing_window_late,rough_in_nowcast_early,rough_in_window_late" \--data-urlencode "max_freshness_days=60" \--data-urlencode "limit=50"
{"geo_id": "geo_county_6973f63e37a900040c0d","geo_type": "county","scope": "permit","count": 50,"leads": [{"lead_id": "26 104687 BZ::BELLEVUE","signal_key": "site_prep_issued_nowcast","event_date_used": "2026-03-31","confidence": 0.9,"freshness_lag_days": 17,"permit_number": "26 104687 BZ","jurisdiction": "BELLEVUE"},{"lead_id": "PUB26-01506::KIRKLAND","signal_key": "site_prep_issued_nowcast","event_date_used": "2026-03-31","confidence": 0.9,"freshness_lag_days": 17,"permit_number": "PUB26-01506","jurisdiction": "KIRKLAND"}],"next_cursor": "eyJ2IjoxLCJzb3J0IjoiZXZlbnRfZGF0ZV9kZXNjIiwiLi4uIjoiLi4uIn0","note": "Response truncated for readability."}
Step 3: Upsert to CRM with deterministic keys
Transform each lead into a CRM record with a stable external key and route fields you can update on every run.
function toCrmRecord(lead) {return {external_id: lead.lead_id,permit_number: lead.permit_number,jurisdiction: lead.jurisdiction,signal_key: lead.signal_key,confidence: lead.confidence,freshness_lag_days: lead.freshness_lag_days,event_date_used: lead.event_date_used,route_tier: null,sla_hours: null,queue_status: "new"};}async function upsertLead(crmClient, lead) {const record = toCrmRecord(lead);return crmClient.upsert("permit_signal_leads", "external_id", record);}
Step 4: Route by SLA tier
Use one routing model your sales and ops teams can explain in one minute. Keep it predictable.
Option A: Default routing (recommended to start)
Route directly from signal_key and freshness_lag_days to avoid overfitting before you have enough outcome data.
function routeDefault(lead) {if (lead.signal_key === "site_prep_issued_nowcast" && lead.freshness_lag_days <= 10) {return { route_tier: "priority_now", sla_hours: 2 };}if (["framing_window_late", "rough_in_window_late"].includes(lead.signal_key)) {return { route_tier: "schedule_this_week", sla_hours: 24 };}return { route_tier: "monitoring", sla_hours: 72 };}
Option B: Custom routing (after baseline is stable)
Add owner capacity and trade fit only when your team is consistently meeting SLA on the default model.
function routeCustom(lead, ownerCapacity, tradeFocusByOwner) {const freshnessScore = Math.max(0, 1 - lead.freshness_lag_days / 30);const confidenceScore = lead.confidence ?? 0;const weightedScore = freshnessScore * 0.45 + confidenceScore * 0.55;const eligibleOwners = ownerCapacity.filter((owner) => owner.open_slots > 0).filter((owner) => (tradeFocusByOwner[owner.id] ?? []).includes(lead.signal_key));if (weightedScore >= 0.8 && eligibleOwners.length > 0) {return { route_tier: "priority_now", owner_id: eligibleOwners[0].id, sla_hours: 2 };}if (weightedScore >= 0.65 && eligibleOwners.length > 0) {return { route_tier: "schedule_this_week", owner_id: eligibleOwners[0].id, sla_hours: 24 };}return { route_tier: "monitoring", owner_id: null, sla_hours: 72 };}
Step 5: Run weekly queue QA
Queue quality degrades quickly without checks. Keep one lightweight weekly checklist in your ops review.
const weeklyQueueChecks = ["No duplicate external_id records in CRM","SLA breaches by route_tier reviewed with owner","Conversion rate tracked by signal_key and route_tier","Suppression rules applied to stale or already-contacted leads"];
Need Help Building This in Your CRM?
HomeLogs can help implement this integration and deliver a custom dashboard for route tiers, SLA breach monitoring, and owner-level pipeline visibility.
Ops metrics to track every week
- SLA hit rate by tier: percentage worked within 2h / 24h / 72h targets.
- Conversion by signal key: which keys create qualified pipeline, not just activity.
- Duplicate rate: percent of records blocked by dedupe logic.
- Owner load balance: queue volume and close outcomes by owner.
Common implementation mistakes
- No deterministic key: duplicated leads flood the queue and hide true conversion.
- No SLA fields: teams cannot separate process failure from lead quality.
- Too much custom logic too early: routing becomes hard to debug and impossible to trust.
- No suppression rules: stale or already-contacted records keep resurfacing.
Related reads
- Contractor Pipeline Signals: Site Prep to Rough-In
- How to Chain Location, Permits, and Signals in One Workflow
Bottom line
Signal APIs create opportunity data. Queue architecture creates pipeline outcomes. Start with deterministic routing, enforce SLA tiers, and improve from measured conversion data.
FAQ
Can this work without a custom CRM object?
Yes. You can start in a standard lead object as long as you preserve external_id, route_tier, and sla_hours.
How many route tiers should we start with?
Three tiers are enough for most teams: priority_now, schedule_this_week, and monitoring.
When should we move to custom routing?
Move when your default routing is predictable: the team is hitting SLA consistently and you have enough outcomes to see which route tiers actually convert better.