ConvIntelligenceSignalRule defines a real-time conversation rule that triggers an action from telephony intelligence signals or keywords spoken or typed by support reps and customers. It connects an intelligence source to a channel, contains conditions called subrules, and combines those conditions through filter logic to determine when to act.
The rule is separate from the action it triggers. For example, a rule can launch an auto-launched Flow, but the rule contains only a reference to that flow, not its definition. A rule definition also does not establish that the rule is enabled: active defaults to false.
Key Elements
| Element | What the Element Controls |
|---|---|
actionType |
Required. AlertSupervisor alerts the supervisor; AlertSupervisorAndAgent alerts the rep and supervisor; LaunchFlow triggers an auto-launched flow; LaunchNBA recommends the next best action to the rep. |
actionValue |
For LaunchFlow, identifies the flow by its developerName, not a record ID. Omit this element for every other action type. |
active |
Required boolean indicating whether the rule is active. Defaults to false. |
channelAddressIdentifier |
Required. Uses the channel's ChannelAddressIdentifier ID for Messaging, or its InternalName for Voice. |
channelType |
Required string. Use Phone for Voice. Messaging values are AppleBusinessChat, Custom, EmbeddedMessaging, Facebook, Text, and WhatsApp. |
service |
Required intelligence source. Recognized values are AmazonConnectContactLens, CXoneAgentAssistService, EinsteinConversationIntelligenceSignals, KeywordMatch, and VonageConversationalInsights. Supported signal types depend on the source and channel. |
participantRole |
For KeywordMatch only, selects whose utterances are evaluated: Agent, Customer, or AgentOrCustomer. Omit it for other services. |
criteria |
Required filter logic, such as ((1 AND 2) OR 3). Each number refers to a condition's order value plus one. |
subrule.type |
Required within each condition. Documented combinations are Keyword for KeywordMatch and Category for AmazonConnectContactLens. The enumeration also includes AgentSentiment, CustomerSentiment, and Intent, subject to source and channel compatibility. |
subrule.operandValue |
Required within each condition. The value being compared, interpreted according to the signal type, such as a keyword phrase or telephony-defined category name. |
subrule.operator |
Required within each condition. Allowed comparison operators are Equals, GreaterThan, In, LessThan, and NotEquals. |
subrule.order |
Required zero-based condition position, also used to calculate filter-logic references. The maximum is 24 for Keyword conditions and 4 for all other signal types. |
Behavior and Constraints
Access requires an add-on license. This type requires an add-on license for Service Cloud Voice for Amazon Connect, Service Cloud Voice for Partner Telephony with Amazon Connect, Service Cloud Voice for Partner Telephony, or Digital Engagement.
Channel identifiers have different meanings for Voice and Messaging. Interpret channelAddressIdentifier together with channelType. For Phone, supply the Voice channel's InternalName. For Messaging, supply the channel's ChannelAddressIdentifier ID. A value copied from another org must therefore be checked against the intended destination channel using the appropriate identifier.
Within Messaging, AppleBusinessChat represents Apple Messages for Business. Custom represents Bring Your Own Channel for Messaging or Bring Your Own Channel for CCaaS. EmbeddedMessaging represents Messaging for In-App and Web.
The intelligence source, channel, and signal type must be compatible. KeywordMatch supports Salesforce- or partner-provided keyword intelligence, with subrule.type set to Keyword. A keyword can be a word or group of words spoken or typed. For this service, participantRole determines whether the rule evaluates the rep, customer, or both.
AmazonConnectContactLens is a partner-provided source. Its documented signal type is Category, and the condition's operandValue is a category name defined in the telephony system. Do not set participantRole for this or any other service besides KeywordMatch.
The recognized service and signal-type enumerations do not establish that every source supports every signal type or channel. For other intelligence sources, confirm available signal types with Salesforce rather than combining enumeration values arbitrarily.
Condition numbering starts at one in filter logic, but at zero in order. The subrule array contains ConvIntelligenceSignalSubRule conditions. A condition with order=0 is referenced as 1; a condition with order=1 is referenced as 2. Thus, ((1 AND 2) OR 3) combines the conditions whose order values are 0, 1, and 2.
Changing a condition's order can change which condition a term in criteria denotes. Keep the formula aligned with those values. The order limits differ by signal type: Keyword permits a maximum order of 24, while every other signal type permits a maximum of 4.
Deployment and Retrieval
Components use the .ConvIntelligenceSignalRule suffix and reside in the ConvIntelligenceSignalRule folder. The type supports the * wildcard in package.xml manifests.
developerName is the required API name of the rule, while ruleName is its required name. The type extends Metadata and inherits fullName. Keep these identity fields distinct from the channel identifier and, for flow-launching rules, the flow name stored in actionValue.
When moving a rule between orgs, check the destination channel using the correct ID or name convention. For LaunchFlow, set actionValue to the intended auto-launched flow's developerName, not its record ID. For every other action type, omit actionValue; it is not a general-purpose action payload.
Also check active explicitly. Its default is false, so the presence of a deployed rule definition alone does not mean that it will trigger actions.
Relationships
The rule contains ConvIntelligenceSignalSubRule conditions through subrule. Its reference to a separate action component is conditional: actionValue identifies a flow only when actionType is LaunchFlow.
References
-
Flow:actionValue, using the flow'sdeveloperNamewhenactionTypeisLaunchFlow.
Documentation Inconsistencies
The metadata type definition identifies this type as ConvIntelligenceSignalRule, but Salesforce's published package.xml example uses ConversationIntelligenceSignalRule. That spelling conflicts with the type definition. Treat it as a documentation discrepancy, not as an established alternate metadata type name.
Common Questions
Why is my deployed conversation intelligence rule not active?
active defaults to false. A rule definition does not establish that the rule is enabled; check its explicit active value.
Should actionValue contain a Flow ID or a developer name?
For LaunchFlow, use the auto-launched flow's developerName, not a record ID. Omit actionValue for all other action types.
What goes in channelAddressIdentifier for Voice and Messaging?
For Voice, use the channel's InternalName and set channelType to Phone. For Messaging, use the channel's ChannelAddressIdentifier ID with the appropriate Messaging channel type.
How do criteria numbers map to subrule order?
Each number in criteria equals the referenced condition's order plus one. For example, 1 AND 2 refers to conditions with order values 0 and 1. Update the formula when changing those order values.
Is the metadata type ConvIntelligenceSignalRule or ConversationIntelligenceSignalRule?
The type identity is ConvIntelligenceSignalRule. The longer spelling in Salesforce's manifest example conflicts with the type definition and is not an established alternate name.