Create OmniChannel Service Channel
sf_create_service_channelCreate an Omni-Channel Service Channel to route work items from Salesforce objects like Case or Chat to the Omni-Channel routing engine. Set channel type, capacity, and related object for custom channels.
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' |