ConversationChannelDefinition defines the Interaction Service integration for Bring Your Own Channel for Messaging and Bring Your Own Channel for CCaaS messaging channels. It connects authentication, partner event exchange, routing and consent responsibilities, and supported messaging capabilities.
This definition describes an integration's capabilities and responsibilities, not an individual customer's consent record. It also distinguishes partner support from channel configuration: exposing an option in Messaging settings does not prove that an administrator has enabled it on a particular messaging channel.
Key Elements
| Element | What the Element Controls |
|---|---|
developerName |
The definition's unique API name. It follows <Prefix>_<ConversationChannelDefinition>, where the prefix matches the Interaction Service authentication app's name prefix. |
connectedAppType |
Who creates the external client app or connected app used for authentication. Allowed values are Partner and Customer; the default is Partner. |
connectedAppOauthLink, customerConnectedAppOauthLink
|
Automatically generated authentication app identifiers for partner-owned and administrator-created apps, respectively. Do not set or change them manually. |
routingOwner, consentOwner
|
Which system manages routing and consent. Each accepts Partner or Salesforce and defaults to Salesforce. Both must be Salesforce for Bring Your Own Channel for Messaging. |
conversationVendorInfo |
Links to ConversationVendorInfo.developerName. Supply a developer name, not a record ID. |
customPlatformEvent |
Required API name of the custom platform event created for the Interaction Service API. The documented format is <orgNamespace>__<CustomPlatformEventName>__e. |
customEventPayloadField, customEventTypeField
|
API names of the custom Payload and EventType fields on that event. The payload mapping is required. Both use the documented format <orgNamespace>__<CustomFieldName>__c. |
supportsImplicitConsent |
Declares Implicit Opt-In support. Required and must always be true, despite the documented default of false. |
supportsExplicitConsent, supportsDoubleOptInConsent
|
Declare Explicit Opt-In and Double Opt-In support. Double Opt-In defaults to false, requires explicit-consent support, and is supported only for Bring Your Own Channel for CCaaS. |
supportsCustomChannelParameters |
Allows administrators to configure custom parameters and parameter mappings that pass information to Omni-Channel flows at runtime. Defaults to false. |
isRoutingWorkResultSupported |
Determines whether the Routing Work Result event is sent as a custom platform event. Defaults to false. |
isInboundAcknwOptionExposed |
Declares support for inbound read and delivery receipts. When false, the options are hidden from administrators. Defaults to false. |
isProgressIndicatorOptExposed |
Declares support for AI agent progress indicators. When false, the functionality is hidden from administrators. Defaults to false. |
isTypingIndicatorOptionHidden |
Uses the opposite polarity: true declares no support for outbound typing indicators and hides the functionality. The default, false, means outbound typing indicators are supported. |
isConferenceSupported, maxParticipantsForCnfrOverride
|
The Boolean declares support for sessions with more than two participants and defaults to false. The integer overrides the messaging platform's conference participant limit when set. |
Behavior and Constraints
Access prerequisites
Interaction Service must be configured. Access to the associated tooling objects requires Salesforce administrator privileges or the Customize Application permission.
Routing and consent ownership
For Bring Your Own Channel for Messaging, set both routingOwner and consentOwner to Salesforce. Although both elements expose Partner as an allowed value, partner ownership is not supported for that channel model.
The ownership settings and capability settings answer different questions. consentOwner identifies the system that manages consent, while the supportsImplicitConsent, supportsExplicitConsent, and supportsDoubleOptInConsent elements declare which consent levels the channel supports. None records a customer's actual consent.
Do not rely on the documented false default for supportsImplicitConsent: the element is required and must be true. Double Opt-In is available only for Bring Your Own Channel for CCaaS and requires explicit-consent support.
Event delivery and flow context
isRoutingWorkResultSupported controls delivery of the Routing Work Result event as a custom platform event. It does not select the routing owner; that is the separate responsibility of routingOwner.
Enabling supportsCustomChannelParameters lets administrators configure custom parameters and parameter mappings for messaging channels. Those mappings pass additional information to Omni-Channel flows at runtime. The capability flag does not identify any particular mapping or flow.
Administrator-visible capabilities
Check the direction of each visibility flag. Setting isInboundAcknwOptionExposed or isProgressIndicatorOptExposed to true declares support and exposes the corresponding options. Setting isTypingIndicatorOptionHidden to true instead declares a lack of support and hides outbound typing indicators. An exposed option is not evidence that it is enabled on a channel.
isConferenceSupported declares whether messaging sessions can include more than two participants. Setting maxParticipantsForCnfrOverride changes the participant limit but does not itself declare conferencing support. If the override is unset, the messaging platform's conference participant limit applies.
supportsIsoCountryCode and supportsKeywords declare support for ISO country codes and keywords, respectively. Both default to false.
Deployment and Retrieval
Metadata API components use the suffix .ConversationChannelDefinition and reside in the conversationChannelDefinitions folder. The type extends Metadata and inherits its fullName field.
Identity and authentication
The developerName naming pattern is <Prefix>_<ConversationChannelDefinition>. For example, in Partner1_ChannelDefinition1, Partner1 matches the prefix used in the Interaction Service external client app or connected app name. This app-name association is separate from the namespace-qualified API names used for platform events and their fields.
With connectedAppType set to Partner, the partner creates the external client app or connected app and includes it in its managed package. With Customer, an administrator creates the app.
Leave both generated OAuth link values untouched. Under partner ownership, connectedAppOauthLink identifies the authentication app at runtime using the partner org ID and consumer ID with their key prefixes removed. Under customer ownership, customerConnectedAppOauthLink identifies the administrator-created app. Neither value is a developer-name reference.
Event mappings and optional image
Configure customPlatformEvent with the event's API name, and configure the field mappings with field API names on that event. For example, devorg__TestEvent__e identifies an event, while devorg__Payload__c and devorg__EventType__c identify fields. The mappings are not payload contents or event-type values.
customIcon optionally names the resource image used to identify the channel integration, such as a channel logo. Salesforce recommends a 50px by 50px image in SVG format.
The Salesforce type reference documents the component fields and file location.
Relationships
The definition connects a vendor record to an authentication app and a custom platform event. customPlatformEvent identifies the event, and customEventPayloadField and customEventTypeField identify fields on that event. The generated OAuth links select the authentication app at runtime rather than referencing its developer name.
References
-
ConversationVendorInfo:conversationVendorInfolinks to the vendor record'sdeveloperName, not its record ID.
Name-based association: the prefix in developerName matches the prefix in the Interaction Service external client app or connected app name. This naming rule is not an OAuth link value and is not the namespace prefix used in event and field API names.
Documentation Inconsistencies
-
Implicit consent has a conflicting default and requirement. The documentation gives
supportsImplicitConsenta default offalsebut also requires it to betrue. Set it totrue; do not rely on the default. -
The Double Opt-In prerequisite uses a different element name. The documentation says Double Opt-In requires
capabilitiesSupportsExplicitConsent=true, but the exposed metadata element issupportsExplicitConsent. The documented dependency is explicit-consent support; the prerequisite name does not match the exposed element.
Reported Issues
-
Messaging channel creation can fail with an Internal Server Error because of capability field names in a packaged definition. In a 2026 BYOC sandbox report, the error occurred on the last page of the channel-creation wizard despite system administrator access, Digital Engagement, and the Partner Messaging User permission set license. The accepted answer reported that rebuilding the package with the current fields
isTypingIndicatorOptionHidden,isInboundAcknwOptionExposed, andisRoutingWorkResultSupportedresolved the failure. See the channel-creation error discussion.
Common Questions
Where are ConversationChannelDefinition components stored?
They are stored in the conversationChannelDefinitions folder and use the Metadata API suffix .ConversationChannelDefinition.
Can routingOwner or consentOwner be Partner for Bring Your Own Channel for Messaging?
No. Both must be Salesforce for Bring Your Own Channel for Messaging, even though both elements expose Partner as an allowed value.
Should supportsImplicitConsent be true or false?
Set it to true. It is required and must always be true, despite its documented default of false.
Should I edit connectedAppOauthLink during deployment?
No. Both connectedAppOauthLink and customerConnectedAppOauthLink are automatically generated and must not be set or changed manually. They identify authentication apps at runtime and are not developer-name references.
Can ConversationChannelDefinition cause an Internal Server Error when creating a messaging channel?
A 2026 community report linked that error to capability field names in a packaged definition. Rebuilding the package with isTypingIndicatorOptionHidden, isInboundAcknwOptionExposed, and isRoutingWorkResultSupported reportedly resolved that case.