[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BVXRQT819QABF9BD9F3WRZ":3,"skill-same:01M7BVXRQT819QABF9BD9F3WRZ":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":6,"ownerHtmlUrl":62,"ownerBlogUrl":6,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M7BVXRQT819QABF9BD9F3WRZ","lead-routing",null,"Intelligent lead assignment and routing - AI-powered scoring, territory mapping, round-robin distribution, and workload balancing","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fclaude-office-skills-skills\u002Flead-routing\u002Flead-routing\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: lead-routing\ndescription: \"Intelligent lead assignment and routing - AI-powered scoring, territory mapping, round-robin distribution, and workload balancing\"\nversion: \"1.0.0\"\nauthor: claude-office-skills\nlicense: MIT\n\ncategory: sales\ntags:\n  - lead-management\n  - sales-automation\n  - routing\n  - assignment\n  - crm\ndepartment: Sales\n\nmodels:\n  recommended:\n    - claude-sonnet-4\n    - claude-opus-4\n\nmcp:\n  server: crm-mcp\n  tools:\n    - hubspot_assign_owner\n    - salesforce_route\n    - enrichment_api\n\ncapabilities:\n  - lead_scoring\n  - territory_routing\n  - round_robin\n  - workload_balancing\n  - sla_management\n\nlanguages:\n  - en\n  - zh\n\nrelated_skills:\n  - crm-automation\n  - sales-pipeline\n  - saas-metrics\n---\n\n# Lead Routing\n\nIntelligent lead assignment and routing system with AI-powered scoring, territory mapping, round-robin distribution, and workload balancing. Based on n8n's HubSpot\u002FSalesforce automation templates.\n\n## Overview\n\nThis skill covers:\n- Lead scoring and qualification\n- Territory-based routing\n- Round-robin distribution\n- Workload balancing\n- SLA monitoring and escalation\n\n---\n\n## Routing Strategies\n\n### 1. Rule-Based Routing\n\n```yaml\nrouting_rules:\n  # By Company Size\n  - name: \"Enterprise Routing\"\n    condition:\n      company_size: \">= 500\"\n      OR:\n        annual_revenue: \">= $10M\"\n    assign_to: \"Enterprise Team\"\n    priority: high\n    sla: 1_hour\n    \n  - name: \"Mid-Market Routing\"\n    condition:\n      company_size: \"100-499\"\n    assign_to: \"Mid-Market Team\"\n    priority: medium\n    sla: 4_hours\n    \n  - name: \"SMB Routing\"\n    condition:\n      company_size: \"\u003C 100\"\n    assign_to: \"SMB Team\"\n    priority: standard\n    sla: 24_hours\n\n  # By Geography\n  - name: \"APAC Routing\"\n    condition:\n      country: [\"China\", \"Japan\", \"Singapore\", \"Australia\"]\n    assign_to: \"APAC Team\"\n    timezone_aware: true\n    \n  - name: \"EMEA Routing\"\n    condition:\n      country: [\"UK\", \"Germany\", \"France\", \"Netherlands\"]\n    assign_to: \"EMEA Team\"\n    \n  - name: \"Americas Routing\"\n    condition:\n      country: [\"US\", \"Canada\", \"Brazil\", \"Mexico\"]\n    assign_to: \"Americas Team\"\n\n  # By Industry\n  - name: \"Healthcare Specialist\"\n    condition:\n      industry: [\"Healthcare\", \"Pharmaceuticals\", \"Medical Devices\"]\n    assign_to: \"Healthcare Sales\"\n    \n  - name: \"Finance Specialist\"\n    condition:\n      industry: [\"Banking\", \"Insurance\", \"FinTech\"]\n    assign_to: \"Financial Services Sales\"\n```\n\n---\n\n### 2. Round-Robin Distribution\n\n```yaml\nround_robin_config:\n  team: \"SMB Sales\"\n  members:\n    - name: Alice\n      capacity: 100%\n      max_leads_per_day: 20\n      \n    - name: Bob\n      capacity: 100%\n      max_leads_per_day: 20\n      \n    - name: Carol\n      capacity: 50%  # Part-time\n      max_leads_per_day: 10\n      \n  rules:\n    distribution: weighted  # or equal\n    skip_if:\n      - out_of_office: true\n      - at_capacity: true\n    reset: daily\n    \n  tracking:\n    log_assignments: true\n    balance_check: hourly\n```\n\n**Distribution Algorithm**:\n```\n┌─────────────────────────────────────────────────────────────┐\n│                   ROUND-ROBIN LOGIC                         │\n├─────────────────────────────────────────────────────────────┤\n│                                                             │\n│  1. New lead arrives                                        │\n│                    │                                        │\n│                    ▼                                        │\n│  2. Check team availability                                 │\n│     - Filter out: OOO, at capacity, off-hours              │\n│                    │                                        │\n│                    ▼                                        │\n│  3. Calculate weighted position                             │\n│     - Current assignments today                             │\n│     - Capacity percentage                                   │\n│     - Last assignment time                                  │\n│                    │                                        │\n│                    ▼                                        │\n│  4. Assign to rep with lowest weighted score               │\n│                    │                                        │\n│                    ▼                                        │\n│  5. Update tracking, notify rep                            │\n│                                                             │\n└─────────────────────────────────────────────────────────────┘\n```\n\n---\n\n### 3. AI-Powered Lead Scoring\n\n```yaml\nai_scoring:\n  provider: openai\n  model: gpt-4\n  \n  input_factors:\n    demographic:\n      - company_size\n      - industry\n      - job_title\n      - location\n      \n    firmographic:\n      - annual_revenue\n      - employee_count\n      - funding_stage\n      - tech_stack\n      \n    behavioral:\n      - pages_visited\n      - content_downloads\n      - email_engagement\n      - demo_requests\n      \n    fit_score:\n      - icp_match_percentage\n      - competitor_usage\n      - budget_authority\n      \n  scoring_prompt: |\n    Score this lead from 0-100 based on:\n    \n    Our ICP (Ideal Customer Profile):\n    - B2B SaaS companies\n    - 50-500 employees\n    - Series A or later\n    - Using {competitor} or {similar_tool}\n    \n    Lead Data:\n    {lead_data}\n    \n    Return JSON:\n    {\n      \"score\": 0-100,\n      \"fit_score\": 0-100,\n      \"intent_score\": 0-100,\n      \"tier\": \"A\u002FB\u002FC\u002FD\",\n      \"reasoning\": \"...\",\n      \"recommended_action\": \"...\",\n      \"routing_suggestion\": \"...\"\n    }\n\n  tier_thresholds:\n    A: 80-100  # Hot lead, immediate follow-up\n    B: 60-79   # Qualified, standard follow-up\n    C: 40-59   # Nurture, marketing sequence\n    D: 0-39    # Low priority, long-term nurture\n```\n\n---\n\n### 4. Territory Mapping\n\n```yaml\nterritory_map:\n  north_america:\n    west:\n      states: [CA, WA, OR, NV, AZ, CO, UT]\n      owner: \"West Coast Team\"\n      reps: [Alice, Bob]\n      \n    central:\n      states: [TX, IL, OH, MI, MN, WI]\n      owner: \"Central Team\"\n      reps: [Carol, David]\n      \n    east:\n      states: [NY, MA, PA, FL, GA, NC]\n      owner: \"East Coast Team\"\n      reps: [Eve, Frank]\n      \n  international:\n    emea:\n      countries: [UK, DE, FR, NL, ES, IT]\n      owner: \"EMEA Team\"\n      timezone: \"Europe\u002FLondon\"\n      \n    apac:\n      countries: [JP, SG, AU, KR, IN]\n      owner: \"APAC Team\"\n      timezone: \"Asia\u002FTokyo\"\n\n  overlap_resolution:\n    # When lead matches multiple territories\n    priority_order:\n      1: named_account_owner  # If account already has owner\n      2: industry_specialist  # If industry requires specialist\n      3: geography           # Default to geography\n```\n\n---\n\n### 5. Workload Balancing\n\n```yaml\nworkload_balancer:\n  check_frequency: hourly\n  \n  metrics_tracked:\n    - current_open_leads\n    - leads_assigned_today\n    - leads_assigned_this_week\n    - average_response_time\n    - conversion_rate\n    \n  balance_rules:\n    max_variance: 20%  # Max difference between reps\n    \n    rebalance_trigger:\n      - variance > max_variance\n      - rep_at_capacity\n      - rep_underperforming\n      \n    rebalance_actions:\n      - pause_assignments: for_overloaded_rep\n      - increase_weight: for_underloaded_rep\n      - notify_manager: when_rebalancing\n      \n  capacity_management:\n    per_rep:\n      max_open_leads: 50\n      max_new_per_day: 15\n      max_new_per_week: 60\n      \n    team_level:\n      overflow_queue: true\n      overflow_notify: sales_manager\n      escalation_threshold: 2_hours\n```\n\n---\n\n## Workflow Implementation\n\n### Complete Lead Routing Workflow\n\n```yaml\nworkflow: \"Intelligent Lead Router\"\n\ntrigger:\n  - type: hubspot_contact_created\n  - type: form_submission\n  - type: api_webhook\n\nsteps:\n  1. enrich_lead:\n      providers: [clearbit, zoominfo]\n      fields:\n        - company_size\n        - industry\n        - revenue\n        - location\n        - linkedin_url\n        \n  2. score_lead:\n      method: ai_scoring\n      store_result:\n        hubspot_property: lead_score\n        \n  3. determine_tier:\n      A_tier: score >= 80\n      B_tier: score >= 60\n      C_tier: score >= 40\n      D_tier: score \u003C 40\n      \n  4. apply_routing_rules:\n      sequence:\n        - check: named_account_owner\n        - check: industry_specialist\n        - check: territory_match\n        - check: round_robin_availability\n        \n  5. assign_owner:\n      hubspot:\n        update_contact:\n          hubspot_owner_id: \"{selected_owner_id}\"\n          lead_status: \"New\"\n          lead_tier: \"{tier}\"\n          routing_reason: \"{routing_logic}\"\n          \n  6. create_task:\n      hubspot:\n        type: CALL\n        subject: \"Follow up: New {tier} lead - {company}\"\n        due_date: \"{sla_deadline}\"\n        priority: \"{priority_based_on_tier}\"\n        notes: |\n          Lead Score: {score}\n          Routing Reason: {routing_reason}\n          Key Info: {summary}\n          \n  7. notify_owner:\n      slack_dm:\n        message: |\n          🎯 *New Lead Assigned*\n          \n          **{contact_name}** at **{company}**\n          Score: {score} ({tier} Tier)\n          \n          📞 SLA: Respond within {sla_time}\n          \n          Quick actions:\n          • [View in HubSpot]({hubspot_link})\n          • [LinkedIn]({linkedin_url})\n          • [Schedule Call]({calendly_link})\n          \n  8. start_sla_timer:\n      deadline: \"{sla_deadline}\"\n      escalation_path:\n        - 50%_elapsed: reminder_to_owner\n        - 80%_elapsed: notify_manager\n        - 100%_elapsed: reassign + alert\n```\n\n---\n\n## SLA Management\n\n```yaml\nsla_tiers:\n  tier_a:\n    response_time: 1_hour\n    escalation_path:\n      - 30min: slack_reminder\n      - 45min: manager_alert\n      - 60min: auto_reassign\n      \n  tier_b:\n    response_time: 4_hours\n    escalation_path:\n      - 2h: slack_reminder\n      - 3h: manager_alert\n      - 4h: auto_reassign\n      \n  tier_c:\n    response_time: 24_hours\n    escalation_path:\n      - 12h: slack_reminder\n      - 20h: manager_alert\n      - 24h: move_to_queue\n\nsla_reporting:\n  metrics:\n    - response_time_avg\n    - response_time_p90\n    - sla_compliance_rate\n    - escalation_count\n    \n  report_frequency: weekly\n  recipients: [sales_manager, ops_manager]\n```\n\n---\n\n## Reporting Dashboard\n\n```markdown\n# Lead Routing Report - {Week}\n\n## Distribution Summary\n| Rep | Assigned | Responded | Avg Response | SLA Met |\n|-----|----------|-----------|--------------|---------|\n| Alice | 45 | 43 | 1.2h | 96% |\n| Bob | 42 | 40 | 1.8h | 90% |\n| Carol | 38 | 38 | 0.8h | 100% |\n| **Total** | **125** | **121** | **1.3h** | **95%** |\n\n## By Tier\n| Tier | Count | Avg Score | Converted | Conv Rate |\n|------|-------|-----------|-----------|-----------|\n| A | 25 | 87 | 12 | 48% |\n| B | 45 | 68 | 15 | 33% |\n| C | 35 | 52 | 5 | 14% |\n| D | 20 | 28 | 1 | 5% |\n\n## Routing Breakdown\n- By Territory: 60%\n- By Industry: 25%\n- Round Robin: 15%\n\n## Issues\n- 3 leads waited >SLA (reassigned)\n- Alice at 95% capacity (monitor)\n- No coverage for Healthcare vertical (gap)\n\n## Recommendations\n1. Hire Healthcare specialist\n2. Increase Bob's training (response time)\n3. Adjust A-tier threshold to 85 (too many false positives)\n```\n\n---\n\n## Output Example\n\n**Request**: \"Route this lead: John Smith, CTO at TechCorp (500 employees, SF, SaaS)\"\n\n**Output**:\n\n```markdown\n# Lead Routing Decision\n\n## Lead Profile\n- **Name**: John Smith\n- **Title**: CTO\n- **Company**: TechCorp\n- **Size**: 500 employees\n- **Location**: San Francisco, CA\n- **Industry**: SaaS\n\n## AI Scoring\n```json\n{\n  \"score\": 85,\n  \"fit_score\": 90,\n  \"intent_score\": 80,\n  \"tier\": \"A\",\n  \"reasoning\": \"Strong ICP fit - CTO at 500-person SaaS company in our target market. High authority buyer.\",\n  \"recommended_action\": \"Immediate outreach - high-value prospect\"\n}\n```\n\n## Routing Decision\n\n**Assigned to**: Alice Chen (Enterprise West)\n\n**Routing Logic**:\n1. ✅ Territory: San Francisco → West Coast\n2. ✅ Company Size: 500 → Enterprise tier\n3. ✅ Industry: SaaS → No specialist needed\n4. ✅ Availability: Alice has capacity (18\u002F20 today)\n\n## Action Items Created\n\n1. **Task**: Follow up call\n   - Due: 1 hour (Tier A SLA)\n   - Priority: High\n\n2. **Slack Notification**: Sent to Alice\n\n3. **SLA Timer**: Started (1h countdown)\n\n## Recommended Outreach\n\n```\nSubject: Quick question about {pain_point} at TechCorp\n\nHi John,\n\nNoticed TechCorp is scaling fast - congrats on the growth. \n\nCTOs at similar SaaS companies often tell us {common_challenge}. \n\nWould a 15-min call this week make sense to see if we can help?\n\n[Calendly Link]\n```\n```\n\n---\n\n*Lead Routing Skill - Part of Claude Office Skills*\n","# Lead Routing\n\nIntelligent lead assignment and routing system with AI-powered scoring, territory mapping, round-robin distribution, and workload balancing. Based on n8n's HubSpot\u002FSalesforce automation templates.\n\n## Overview\n\nThis skill covers:\n- Lead scoring and qualification\n- Territory-based routing\n- Round-robin distribution\n- Workload balancing\n- SLA monitoring and escalation\n\n---\n\n## Routing Strategies\n\n### 1. Rule-Based Routing\n\n```yaml\nrouting_rules:\n  # By Company Size\n  - name: \"Enterprise Routing\"\n    condition:\n      company_size: \">= 500\"\n      OR:\n        annual_revenue: \">= $10M\"\n    assign_to: \"Enterprise Team\"\n    priority: high\n    sla: 1_hour\n    \n  - name: \"Mid-Market Routing\"\n    condition:\n      company_size: \"100-499\"\n    assign_to: \"Mid-Market Team\"\n    priority: medium\n    sla: 4_hours\n    \n  - name: \"SMB Routing\"\n    condition:\n      company_size: \"\u003C 100\"\n    assign_to: \"SMB Team\"\n    priority: standard\n    sla: 24_hours\n\n  # By Geography\n  - name: \"APAC Routing\"\n    condition:\n      country: [\"China\", \"Japan\", \"Singapore\", \"Australia\"]\n    assign_to: \"APAC Team\"\n    timezone_aware: true\n    \n  - name: \"EMEA Routing\"\n    condition:\n      country: [\"UK\", \"Germany\", \"France\", \"Netherlands\"]\n    assign_to: \"EMEA Team\"\n    \n  - name: \"Americas Routing\"\n    condition:\n      country: [\"US\", \"Canada\", \"Brazil\", \"Mexico\"]\n    assign_to: \"Americas Team\"\n\n  # By Industry\n  - name: \"Healthcare Specialist\"\n    condition:\n      industry: [\"Healthcare\", \"Pharmaceuticals\", \"Medical Devices\"]\n    assign_to: \"Healthcare Sales\"\n    \n  - name: \"Finance Specialist\"\n    condition:\n      industry: [\"Banking\", \"Insurance\", \"FinTech\"]\n    assign_to: \"Financial Services Sales\"\n```\n\n---\n\n### 2. Round-Robin Distribution\n\n```yaml\nround_robin_config:\n  team: \"SMB Sales\"\n  members:\n    - name: Alice\n      capacity: 100%\n      max_leads_per_day: 20\n      \n    - name: Bob\n      capacity: 100%\n      max_leads_per_day: 20\n      \n    - name: Carol\n      capacity: 50%  # Part-time\n      max_leads_per_day: 10\n      \n  rules:\n    distribution: weighted  # or equal\n    skip_if:\n      - out_of_office: true\n      - at_capacity: true\n    reset: daily\n    \n  tracking:\n    log_assignments: true\n    balance_check: hourly\n```\n\n**Distribution Algorithm**:\n```\n┌─────────────────────────────────────────────────────────────┐\n│                   ROUND-ROBIN LOGIC                         │\n├─────────────────────────────────────────────────────────────┤\n│                                                             │\n│  1. New lead arrives                                        │\n│                    │                                        │\n│                    ▼                                        │\n│  2. Check team availability                                 │\n│     - Filter out: OOO, at capacity, off-hours              │\n│                    │                                        │\n│                    ▼                                        │\n│  3. Calculate weighted position                             │\n│     - Current assignments today                             │\n│     - Capacity percentage                                   │\n│     - Last assignment time                                  │\n│                    │                                        │\n│                    ▼                                        │\n│  4. Assign to rep with lowest weighted score               │\n│                    │                                        │\n│                    ▼                                        │\n│  5. Update tracking, notify rep                            │\n│                                                             │\n└─────────────────────────────────────────────────────────────┘\n```\n\n---\n\n### 3. AI-Powered Lead Scoring\n\n```yaml\nai_scoring:\n  provider: openai\n  model: gpt-4\n  \n  input_factors:\n    demographic:\n      - company_size\n      - industry\n      - job_title\n      - location\n      \n    firmographic:\n      - annual_revenue\n      - employee_count\n      - funding_stage\n      - tech_stack\n      \n    behavioral:\n      - pages_visited\n      - content_downloads\n      - email_engagement\n      - demo_requests\n      \n    fit_score:\n      - icp_match_percentage\n      - competitor_usage\n      - budget_authority\n      \n  scoring_prompt: |\n    Score this lead from 0-100 based on:\n    \n    Our ICP (Ideal Customer Profile):\n    - B2B SaaS companies\n    - 50-500 employees\n    - Series A or later\n    - Using {competitor} or {similar_tool}\n    \n    Lead Data:\n    {lead_data}\n    \n    Return JSON:\n    {\n      \"score\": 0-100,\n      \"fit_score\": 0-100,\n      \"intent_score\": 0-100,\n      \"tier\": \"A\u002FB\u002FC\u002FD\",\n      \"reasoning\": \"...\",\n      \"recommended_action\": \"...\",\n      \"routing_suggestion\": \"...\"\n    }\n\n  tier_thresholds:\n    A: 80-100  # Hot lead, immediate follow-up\n    B: 60-79   # Qualified, standard follow-up\n    C: 40-59   # Nurture, marketing sequence\n    D: 0-39    # Low priority, long-term nurture\n```\n\n---\n\n### 4. Territory Mapping\n\n```yaml\nterritory_map:\n  north_america:\n    west:\n      states: [CA, WA, OR, NV, AZ, CO, UT]\n      owner: \"West Coast Team\"\n      reps: [Alice, Bob]\n      \n    central:\n      states: [TX, IL, OH, MI, MN, WI]\n      owner: \"Central Team\"\n      reps: [Carol, David]\n      \n    east:\n      states: [NY, MA, PA, FL, GA, NC]\n      owner: \"East Coast Team\"\n      reps: [Eve, Frank]\n      \n  international:\n    emea:\n      countries: [UK, DE, FR, NL, ES, IT]\n      owner: \"EMEA Team\"\n      timezone: \"Europe\u002FLondon\"\n      \n    apac:\n      countries: [JP, SG, AU, KR, IN]\n      owner: \"APAC Team\"\n      timezone: \"Asia\u002FTokyo\"\n\n  overlap_resolution:\n    # When lead matches multiple territories\n    priority_order:\n      1: named_account_owner  # If account already has owner\n      2: industry_specialist  # If industry requires specialist\n      3: geography           # Default to geography\n```\n\n---\n\n### 5. Workload Balancing\n\n```yaml\nworkload_balancer:\n  check_frequency: hourly\n  \n  metrics_tracked:\n    - current_open_leads\n    - leads_assigned_today\n    - leads_assigned_this_week\n    - average_response_time\n    - conversion_rate\n    \n  balance_rules:\n    max_variance: 20%  # Max difference between reps\n    \n    rebalance_trigger:\n      - variance > max_variance\n      - rep_at_capacity\n      - rep_underperforming\n      \n    rebalance_actions:\n      - pause_assignments: for_overloaded_rep\n      - increase_weight: for_underloaded_rep\n      - notify_manager: when_rebalancing\n      \n  capacity_management:\n    per_rep:\n      max_open_leads: 50\n      max_new_per_day: 15\n      max_new_per_week: 60\n      \n    team_level:\n      overflow_queue: true\n      overflow_notify: sales_manager\n      escalation_threshold: 2_hours\n```\n\n---\n\n## Workflow Implementation\n\n### Complete Lead Routing Workflow\n\n```yaml\nworkflow: \"Intelligent Lead Router\"\n\ntrigger:\n  - type: hubspot_contact_created\n  - type: form_submission\n  - type: api_webhook\n\nsteps:\n  1. enrich_lead:\n      providers: [clearbit, zoominfo]\n      fields:\n        - company_size\n        - industry\n        - revenue\n        - location\n        - linkedin_url\n        \n  2. score_lead:\n      method: ai_scoring\n      store_result:\n        hubspot_property: lead_score\n        \n  3. determine_tier:\n      A_tier: score >= 80\n      B_tier: score >= 60\n      C_tier: score >= 40\n      D_tier: score \u003C 40\n      \n  4. apply_routing_rules:\n      sequence:\n        - check: named_account_owner\n        - check: industry_specialist\n        - check: territory_match\n        - check: round_robin_availability\n        \n  5. assign_owner:\n      hubspot:\n        update_contact:\n          hubspot_owner_id: \"{selected_owner_id}\"\n          lead_status: \"New\"\n          lead_tier: \"{tier}\"\n          routing_reason: \"{routing_logic}\"\n          \n  6. create_task:\n      hubspot:\n        type: CALL\n        subject: \"Follow up: New {tier} lead - {company}\"\n        due_date: \"{sla_deadline}\"\n        priority: \"{priority_based_on_tier}\"\n        notes: |\n          Lead Score: {score}\n          Routing Reason: {routing_reason}\n          Key Info: {summary}\n          \n  7. notify_owner:\n      slack_dm:\n        message: |\n          🎯 *New Lead Assigned*\n          \n          **{contact_name}** at **{company}**\n          Score: {score} ({tier} Tier)\n          \n          📞 SLA: Respond within {sla_time}\n          \n          Quick actions:\n          • [View in HubSpot]({hubspot_link})\n          • [LinkedIn]({linkedin_url})\n          • [Schedule Call]({calendly_link})\n          \n  8. start_sla_timer:\n      deadline: \"{sla_deadline}\"\n      escalation_path:\n        - 50%_elapsed: reminder_to_owner\n        - 80%_elapsed: notify_manager\n        - 100%_elapsed: reassign + alert\n```\n\n---\n\n## SLA Management\n\n```yaml\nsla_tiers:\n  tier_a:\n    response_time: 1_hour\n    escalation_path:\n      - 30min: slack_reminder\n      - 45min: manager_alert\n      - 60min: auto_reassign\n      \n  tier_b:\n    response_time: 4_hours\n    escalation_path:\n      - 2h: slack_reminder\n      - 3h: manager_alert\n      - 4h: auto_reassign\n      \n  tier_c:\n    response_time: 24_hours\n    escalation_path:\n      - 12h: slack_reminder\n      - 20h: manager_alert\n      - 24h: move_to_queue\n\nsla_reporting:\n  metrics:\n    - response_time_avg\n    - response_time_p90\n    - sla_compliance_rate\n    - escalation_count\n    \n  report_frequency: weekly\n  recipients: [sales_manager, ops_manager]\n```\n\n---\n\n## Reporting Dashboard\n\n```markdown\n# Lead Routing Report - {Week}\n\n## Distribution Summary\n| Rep | Assigned | Responded | Avg Response | SLA Met |\n|-----|----------|-----------|--------------|---------|\n| Alice | 45 | 43 | 1.2h | 96% |\n| Bob | 42 | 40 | 1.8h | 90% |\n| Carol | 38 | 38 | 0.8h | 100% |\n| **Total** | **125** | **121** | **1.3h** | **95%** |\n\n## By Tier\n| Tier | Count | Avg Score | Converted | Conv Rate |\n|------|-------|-----------|-----------|-----------|\n| A | 25 | 87 | 12 | 48% |\n| B | 45 | 68 | 15 | 33% |\n| C | 35 | 52 | 5 | 14% |\n| D | 20 | 28 | 1 | 5% |\n\n## Routing Breakdown\n- By Territory: 60%\n- By Industry: 25%\n- Round Robin: 15%\n\n## Issues\n- 3 leads waited >SLA (reassigned)\n- Alice at 95% capacity (monitor)\n- No coverage for Healthcare vertical (gap)\n\n## Recommendations\n1. Hire Healthcare specialist\n2. Increase Bob's training (response time)\n3. Adjust A-tier threshold to 85 (too many false positives)\n```\n\n---\n\n## Output Example\n\n**Request**: \"Route this lead: John Smith, CTO at TechCorp (500 employees, SF, SaaS)\"\n\n**Output**:\n\n```markdown\n# Lead Routing Decision\n\n## Lead Profile\n- **Name**: John Smith\n- **Title**: CTO\n- **Company**: TechCorp\n- **Size**: 500 employees\n- **Location**: San Francisco, CA\n- **Industry**: SaaS\n\n## AI Scoring\n```json\n{\n  \"score\": 85,\n  \"fit_score\": 90,\n  \"intent_score\": 80,\n  \"tier\": \"A\",\n  \"reasoning\": \"Strong ICP fit - CTO at 500-person SaaS company in our target market. High authority buyer.\",\n  \"recommended_action\": \"Immediate outreach - high-value prospect\"\n}\n```\n\n## Routing Decision\n\n**Assigned to**: Alice Chen (Enterprise West)\n\n**Routing Logic**:\n1. ✅ Territory: San Francisco → West Coast\n2. ✅ Company Size: 500 → Enterprise tier\n3. ✅ Industry: SaaS → No specialist needed\n4. ✅ Availability: Alice has capacity (18\u002F20 today)\n\n## Action Items Created\n\n1. **Task**: Follow up call\n   - Due: 1 hour (Tier A SLA)\n   - Priority: High\n\n2. **Slack Notification**: Sent to Alice\n\n3. **SLA Timer**: Started (1h countdown)\n\n## Recommended Outreach\n\n```\nSubject: Quick question about {pain_point} at TechCorp\n\nHi John,\n\nNoticed TechCorp is scaling fast - congrats on the growth. \n\nCTOs at similar SaaS companies often tell us {common_challenge}. \n\nWould a 15-min call this week make sense to see if we can help?\n\n[Calendly Link]\n```\n```\n\n---\n\n*Lead Routing Skill - Part of Claude Office Skills*\n",{"mcp":24,"name":5,"tags":30,"author":36,"models":37,"license":15,"version":41,"category":42,"languages":43,"department":46,"description":7,"capabilities":47,"related_skills":53},{"tools":25,"server":29},[26,27,28],"hubspot_assign_owner","salesforce_route","enrichment_api","crm-mcp",[31,32,33,34,35],"lead-management","sales-automation","routing","assignment","crm","claude-office-skills",{"recommended":38},[39,40],"claude-sonnet-4","claude-opus-4","1.0.0","sales",[44,45],"en","zh","Sales",[48,49,50,51,52],"lead_scoring","territory_routing","round_robin","workload_balancing","sla_management",[54,55,56],"crm-automation","sales-pipeline","saas-metrics","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fclaude-office-skills-skills\u002Flead-routing\u002Flead-routing",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill lead-routing",{"tool":71,"command":72},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill lead-routing",{"tool":74,"command":75},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill lead-routing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fclaude-office-skills-skills\u002Flead-routing\u002Flead-routing\u002FSKILL.md",true,[],[80,87,92,99,104,111],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":88,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":100,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":112,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]