Create OmniChannel Service Channel
sf_create_service_channelCreate a Salesforce OmniChannel Service Channel to route work items from an object to the routing engine. Set channel type, related object, and capacity for agent routing.
Instructions
Creates an OmniChannel Service Channel that connects work items from a Salesforce object to the OmniChannel routing engine.
channelType options: Case, Chat, Messaging, Voice, Email, SocialPost, Custom
relatedObjectApiName: the Salesforce object this channel routes (e.g. "Case", "LiveChatTranscript", "MessagingSession"). Required for Custom type.
capacity: maximum number of simultaneous work items an agent can handle on this channel (default 1).
Service Channels are referenced by Routing Configurations and Presence Configurations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| capacity | No | Capacity weight for this channel | |
| channelName | Yes | API name / DeveloperName of the Service Channel | |
| channelType | No | Case | |
| relatedObject | No | Alias for relatedObjectApiName | |
| relatedObjectApiName | No | SObject routed via this channel, default 'Case' |