---
name: shift-scheduling
description: "Optimize support team shift scheduling using demand forecasting, skills-based staffing, and workforce management to ensure adequate coverage while controlling labor costs. Use when creating shift schedules, forecasting call/ticket volume, managing overtime, handling schedule changes, or optimizing labor cost. Triggers on phrases like 'shift scheduling', 'workforce management', 'WFM', 'staffing plan', 'schedule optimization', 'inbound forecasting', 'adherence tracking', 'shrinkage management', 'overtime management', 'schedule adherence', 'labor forecasting', 'real-time adherence'."
---

# Shift Scheduling & Workforce Management

Optimize support team staffing through demand forecasting, skills-based scheduling, real-time adherence monitoring, and shrinkage management to balance service levels with labor cost efficiency.

## Workflow

### Phase 1: Demand Forecasting

1. **Historical volume analysis**:
   - Inbound volume by channel (phone, chat, email, social) by hour/day
   - Handle time distribution by channel and issue type
   - Seasonal patterns (holidays, product launches, quarter-end)
   - Trend analysis (growth, decline, structural changes)
2. **Forecast model building**:
   - Base forecast: rolling average of last 4-8 weeks
   - Trend adjustment: volume growth rate, seasonal factors
   - Event overlay: known events (product launches, outages, marketing campaigns)
   - Confidence intervals: high/low volume scenarios
3. **Service level targets**:
   - Phone: 80/20 (80% answered in 20 seconds)
   - Chat: <2 minute average speed of answer (ASA)
   - Email: <4 hour first response time
   - Callback: <30 minute queue time

### Phase 2: Staffing Plan & Schedule Creation

1. **Erlang C / staffing calculation**:
   - Calculate required agents per interval (15-30 min intervals)
   - Factor in service level targets and handle times
   - Account for shrinkage (breaks, meetings, training, PTO, absence)
2. **Schedule design**:
   - Shift patterns: standard (9-5), extended (7-3, 11-7), rotating
   - Skills-based coverage matrix per shift
   - Break and lunch scheduling (staggered to maintain coverage)
   - Flex staffing: part-time, on-call, overflow
3. **Schedule publication & management**:
   - Publish schedules 2-4 weeks in advance
   - Self-service scheduling portal for swaps and time-off requests
   - Approval workflow for schedule changes
   - Communication via app/email/Slack

### Phase 3: Real-Time Adherence & Intraday Management

1. **Real-time monitoring**:
   - Live adherence dashboard (on schedule vs. off schedule)
   - Queue wait times and abandon rates
   - Agent status monitoring (available, on call, in break, offline)
   - Service level tracking per channel
2. **Intraday adjustments**:
   - Pull agents from low-queue channels to high-queue channels
   - Call in on-call agents or overtime triggers
   - Extend breaks or delay shifts when volume is low
   - Real-time coaching alerts for adherence deviations
3. **Post-shift analysis**:
   - Schedule adherence report (actual vs. planned)
   - Service level achievement vs. targets
   - Shrinkage analysis and accuracy improvement
   - Forecast accuracy measurement and model refinement

## Templates

### Workforce Forecasting Model

```
WORKFORCE FORECASTING — Inbound Volume Model
===============================================
Version: [3.2] | Model Period: [Feb 1 - Feb 28, 2025]

HISTORICAL BASELINE (Last 8 Weeks Average):
┌─────────────┬──────────┬──────────┬──────────┬──────────┬──────────┐
│ Time Block  │ Phone    │ Chat     │ Email    │ Social   │ Total    │
│             │ Contacts │ Contacts │ Tickets  │ Messages │ Contacts │
├─────────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
│ 06:00-08:00 │   12     │    18    │    8     │    4     │    42    │
│ 08:00-10:00 │   45     │    62    │   22     │   12     │   141    │
│ 10:00-12:00 │   52     │    71    │   28     │   15     │   166    │
│ 12:00-14:00 │   38     │    48    │   25     │   10     │   121    │
│ 14:00-16:00 │   48     │    65    │   30     │   14     │   157    │
│ 16:00-18:00 │   42     │    58    │   24     │   11     │   135    │
│ 18:00-20:00 │   22     │    32    │   12     │    6     │    72    │
│ 20:00-22:00 │   08     │    14    │    6     │    3     │    31    │
│ 22:00-06:00 │   04     │     8    │    4     │    1     │    17    │
└─────────────┴──────────┴──────────┴──────────┴──────────┴──────────┘
  Daily total:  271 phone + 376 chat + 159 email + 76 social = 882 contacts/day

HANDLE TIMES BY CHANNEL:
  Phone:  8.4 min avg (std dev: 4.2) | After-call work: 2.1 min
  Chat:   9.2 min avg (std dev: 5.1) | After-call work: 1.5 min
  Email: 22.5 min avg (std dev: 12.3) | After-call work: 5.0 min
  Social: 12.8 min avg (std dev: 6.5) | After-call work: 2.5 min

SERVICE LEVEL TARGETS:
  Phone: 80/20 (80% in 20 seconds)
  Chat:  ASA < 2 minutes
  Email: First response < 4 hours
  Social: First response < 1 hour

SHRINKAGE ASSUMPTIONS:
  Paid shrinkage:
    Breaks:              20% (30 min break per 4 hours worked)
    Lunch:               12% (30 min lunch)
    Meetings/Training:    5%
    Admin/Ready time:     3%
  Unpaid shrinkage:
    Absenteeism:          3%
    PTO/Vacation:         4%
    Late/Early leave:     1%
  ─────────────────────────────────────
  Total shrinkage:      48%

  Effective capacity per agent per day (8 hour shift):
    Gross hours: 8.0
    Net productive hours: 4.2 (52.5% utilization)
    Contacts handled/day: ~30-40 (depends on mix and handle time)

FEBRUARY 2025 ADJUSTMENTS:
  + Product launch (Feb 10): +25% volume estimated for Feb 8-14
  + Valentine's Day: No impact expected (B2B product)
  - Winter weather: +5% volume possible (remote work connectivity issues)
  + Marketing campaign (Feb 20): +15% email volume estimated

FORECAST ACCURACY (Last 4 Months):
  Volume forecast accuracy: ±8.2% (target: ±10%) ✓
  Handle time forecast accuracy: ±5.1% (target: ±8%) ✓
  Shrinkage forecast accuracy: ±12.4% (target: ±15%) ✓
```

### Schedule Template

```
WEEKLY SCHEDULE — Support Team A (Feb 3-7, 2025)
===================================================

SHIFT PATTERNS:
  Shift A: 06:00 - 14:30 (includes 30 min lunch + 2x15 min breaks)
  Shift B: 10:00 - 18:30
  Shift C: 14:00 - 22:30
  Flex:    Variable (on-call for overflow)

DAILY COVERAGE PLAN:
┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐
│          │ 06-08    │ 08-10    │ 10-12    │ 12-14    │ 14-16    │ 16-18    │ 18-20    │
├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
│ Tue 03   │ Shift A  │ Shift A  │ Shift A  │ Shift A  │ Shift B  │ Shift B  │ Shift C  │
│          │ (8)      │ (8)      │ (8)      │ (7 lunch)│ (8)      │ (8)      │ (7)      │
├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
│ Wed 04   │ Shift A  │ Shift A  │ Shift A  │ Shift A  │ Shift B  │ Shift B  │ Shift C  │
│          │ (8)      │ (8)      │ (8)      │ (7 lunch)│ (8)      │ (8)      │ (7)      │
├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
│ Thu 05   │ Shift A  │ Shift A  │ Shift A  │ Shift A  │ Shift B  │ Shift B  │ Shift C  │
│          │ (8)      │ (8)      │ (8)      │ (7 lunch)│ (8)      │ (8)      │ (7)      │
├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
│ Fri 06   │ Shift A  │ Shift A  │ Shift A  │ Shift A  │ Shift B  │ Shift B  │ Shift C  │
│          │ (7 PTO)  │ (7 PTO)  │ (7 PTO)  │ (6 PTO)  │ (8)      │ (8)      │ (7)      │
├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤
│ Sat 07   │ Shift A  │ Shift A  │ Shift A  │ Shift B  │ Shift B  │ Shift C  │ Shift C  │
│          │ (4)      │ (4)      │ (4)      │ (4)      │ (4)      │ (4)      │ (3)      │
└──────────┴──────────┴──────────┴──────────┴──────────┴──────────┴──────────┴──────────┘

  Numbers in () = active agents on floor (after breaks/lunch deducted)

SKILLS COVERAGE MATRIX (per shift):
  Tier 2 specialists: min 2 per shift
  Billing experts: min 1 per shift
  Technical (API/Integration): min 1 per shift
  Non-English speakers (Spanish): min 1 during 08-20
  Team Lead: 1 present during 08-18 Mon-Fri

PRODUCT LAUNCH OVERLAY (Feb 8-14):
  Additional 4 agents on Shift B pattern
  2 Tier 2 specialists added per shift
  On-call flex team (3 agents) available 08-18
  Extended coverage: Shift D added (22:00-06:30) — 2 agents

OVERTIME TRIGGERS:
  IF phone queue > 15 waiting → pull 1 flex agent (30 min notice)
  IF chat ASA > 3 min → reassign 2 email agents to chat
  IF any channel service level < 70% for 30 min → intraday escalation
  Max OT: 4 hours/day per agent | Max 12 hours/week OT total
```

## Integration Points

- **WFM platforms**: NICE inContact WFM, Verint, Aspect, Calabrio, Aspect
- **Ticketing/ACD**: Zendesk Talk, Five9, Genesys, Avaya
- **Real-time analytics**: NICE IXM, Verint WFM Real-Time, Aspect RM
- **Scheduling tools**: UKG Ready, Workforce Ready, When Work
- **Time & attendance**: UKG, Kronos, ADP, TimeTrex
- **Communication**: Slack, Microsoft Teams (schedule alerts, change notifications)
- **Analytics**: Tableau, Power BI (workforce performance dashboards)
- **HR systems**: Workday, BambooHR (PTO balances, employee data)

## Edge Cases

| Scenario | Handling |
|----------|----------|
| Unexpected volume spike (outage, viral issue) | Activate overflow protocol; pull from low-volume channels; overtime; after-hours callback option |
| Mass absenteeism (illness, weather) | Call in on-call staff; redistribute skills; adjust SLA targets; escalate to management |
| Agent calls out 30 min before shift | Immediate reassignment of queue; adjust real-time schedule; backup agent notification |
| Schedule conflict with major event (product launch, holiday) | Pre-plan extended schedule; voluntary overtime program; temporary staffing |
| Forecast significantly over/under actual | Adjust real-time; log forecast error; refine model; communicate impact to stakeholders |
| Skill coverage gap (specialist absent) | Cross-train backup agents; escalate to next tier; adjust routing temporarily |
| Agent adherence consistently low | Coaching session; identify root cause (schedule fit? workload? personal?); corrective action |
| Labor cost exceeds budget | Reduce overtime; optimize shift lengths; review staffing model; reallocate from low-utilization channels |

## Output

### Workforce Management Dashboard

```
WORKFORCE MANAGEMENT DASHBOARD — Live View
============================================
As of: 2025-01-15 14:23 EST | Shift: B (peak hours)

CURRENT STAFFING:
  Scheduled on shift:     24 agents
  On floor (available):   19 agents
  On call/ticket:         14 agents
  On break/lunch:          4 agents
  Off schedule:            1 agent  ⚠ (Agent K — 15 min overdue return)
  Absent today:            3 agents (2 sick, 1 personal)

SERVICE LEVEL STATUS (Last 15 min):
┌────────────┬────────────┬────────────┬────────────┬──────────────┐
│ Channel    │ Target     │ Current    │ Queue      │ Status       │
├────────────┼────────────┼────────────┼────────────┼──────────────┤
│ Phone      │ 80/20      │ 83%        │ 4 waiting  │ ✓ On Target  │
│ Chat       │ ASA < 2m   │ 1.4 min    │ 8 waiting  │ ✓ On Target  │
│ Email      │ FRT < 4h   │ 2.8 hours  │ 34 tickets │ ✓ On Target  │
│ Social     │ FRT < 1h   │ 47 min     │ 5 messages │ ✓ On Target  │
└────────────┴────────────┴────────────┴────────────┴──────────────┘

VOLUME vs. FORECAST (Today):
  Forecast: 882 contacts | Actual (YTD): 623 | On pace for: ~895
  Variance: +13 contacts (+1.5%) — Forecast accuracy: 98.5%

SCHEDULE ADHERENCE (Today):
  Overall adherence: 96.2% [███████████████████████████████████████░]
  Adherence violations: 3 (target: < 5)
    Agent K: Returned 15 min late from break (coaching note logged)
    Agent M: Logged into wrong queue (corrected)
    Agent R: Unlogged offline for 8 min (first offense — warning)

LABOR COST TRACKING:
  Planned labor cost today: $4,200
  Actual labor cost (YTD):  $3,150
  Overtime used today:      $180 (within budget)
  Projected daily cost:     $4,250 (+$50 over plan — acceptable)

INTRA-DAY ALERTS:
  ✓ All channels within SLA — no action needed
  ⚠ Afternoon chat volume running 12% above forecast — monitor
  ⚠ Agent K adherence violation — manager notified
  ✓ Product launch staffing ready for Feb 8 activation

TOMORROW OUTLOOK:
  Forecast: 865 contacts (-2% from today)
  Scheduled: 22 agents (2 on PTO)
  Risk: Low — coverage adequate for forecasted volume
  Note: No special events or known volume drivers
```
