Queue staffing (Erlang C)
erlang_staffingCalculate agents needed for live phone or chat queues using Erlang C, including service level, wait chance, occupancy, and scheduled headcount after shrinkage.
Instructions
Agents needed on a live queue (phone, chat) to answer a target share of contacts within a target time, using Erlang C. Give contacts per hour for the interval being staffed (usually the busiest hour) and handle time in seconds. Returns agents needed, the service level at that number and at one fewer, chance of waiting, occupancy, and people to schedule after shrinkage. Use required_fte for case or ticket work with no answer-time target.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shrinkage | No | Share of paid time agents are off the queue. Converts agents to people scheduled. Default 0.3. | |
| service_level | No | Share of contacts to answer within the target time. Default 0.8. | |
| contacts_per_hour | Yes | Contacts arriving per hour in the interval being staffed. | |
| handle_time_seconds | Yes | Average handle time in seconds: talk plus after-contact work. | |
| answer_within_seconds | No | Target answer time in seconds. Default 20. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| steps | Yes | ||
| agents | Yes | ||
| answer | Yes | ||
| engine | Yes | ||
| inputs | Yes | ||
| occupancy | Yes | ||
| people_to_schedule | Yes | ||
| offered_load_erlangs | Yes | ||
| probability_of_waiting | Yes | ||
| service_level_at_agents | Yes | ||
| service_level_one_fewer | Yes |