Create OmniChannel Routing Configuration
sf_create_routing_configurationDefine agent assignment rules for work items by creating a routing configuration with routing model, capacity, priority, and timeout settings.
Instructions
Creates a Routing Configuration that defines how work items are assigned to agents.
routingModel options:
LeastActive: routes to the agent with the fewest active work items
MostAvailable: routes to the agent with the most available capacity
ExternalRouting: custom routing via Apex or external system
capacity: agent capacity consumed per work item (1–100) priority: routing priority (lower number = higher priority, range 1–10) unitType: Percentage or Throughput (how capacity is measured) pushTimeout: seconds before a declined/unanswered item is re-queued (optional)
After creating, link it to a queue with sf_create_queue_routing_config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| capacity | No | Capacity percentage or item count | |
| priority | No | Routing priority (lower number = higher priority) | |
| unitType | No | Percentage | |
| configName | No | API name of the RoutingConfiguration | |
| description | No | ||
| pushTimeout | No | Seconds before push routing times out (0 = no timeout) | |
| routingModel | No | LeastActive | |
| routingPriority | No | Alias for priority | |
| routingConfigName | No | Alias for configName |