ConvIntelligenceSignalRule
Represents the conversation intelligence signal rule. The rule triggers actions based on real-time intelligence signals from your telephony system or keywords mentioned by support reps or customers. The rule contains a set of conditions (subrules) and the filter logic used to evaluate those conditions to determine whether to trigger actions.
This type extends Metadata and inherits its fields.
ConvIntelligenceSignalRule components have the suffix .ConvIntelligenceSignalRule and are stored in the ConvIntelligenceSignalRule folder.
Introduced in API version 62.0.
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.
- Type: ConvIntelligenceActionType (enumeration of type string)
- Required: Yes
- Description: Required. The conversation intelligence signal type. Values are:
- Possible values:
- AlertSupervisor — Sends an alert to the supervisor.
- AlertSupervisorAndAgent — Sends an alert to the rep and supervisor.
- LaunchFlow — Triggers an auto-launched flow. If set, also set
ActionValue. - LaunchNBA — Recommends the next best action to the rep.
-
Type: string
-
Required: No
-
Description: Action to perform based on the
actionTypespecified.If
actionTypeis set to LaunchFlow, this value is thedeveloperNameof the flow to be launched. For example, EmailAlert.For all other
actionTypevalues, don’t set this parameter.
- Type: boolean
- Required: Yes
- Description: Required. Indicates whether the conversation intelligence signal rule is active (
true) or inactive (false). The default value isfalse.
- Type: string
- Required: Yes
- Description: Required. ID (
ChannelAddressIdentifier) of the Messaging channel or name (InternalName) of the Voice channel.
-
Type: string (enumeration of type string)
-
Required: Yes
-
Description: Required. Channel type.
For Messaging,
For Voice, set this parameter to
Phone. -
Possible values:
- 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.
- Text
- Type: string
- Required: Yes
- Description: Required. Filter logic applied to the rule conditions (subrules). For example, ((1 AND 2) OR 3). The numbers in the formula are derived from the
ConvIntelligenceSignalSubRule.ordervalue plus 1. For example, filter logic (1 AND 2) is calculated by adding the first condition (order=0) with the second condition (order=1).
- Type: string
- Required: Yes
- Description: Required. API name of the conversation intelligence signal rule.
- Type: ConvParticipantRole (enumeration of type string)
- Required: No
- Description: If
serviceis set to KeywordMatch, this value determines whether the rule applies to utterances made by reps, customers, or both roles. Possible values are:
- Type: string
- Required: Yes
- Description: Required. Name of the conversation intelligence signal rule.
-
Type: ConvIntelligenceService (enumeration of type string)
-
Required: Yes
-
Description: Required. Salesforce- or partner-provided intelligence source.
For Salesforce-provided intelligence sources, set this parameter to
KeywordMatch.For partner-provided intelligence sources,
If none of the options apply to you, contact your Salesforce representative for the service name.
-
Possible values:
- KeywordMatch
- AmazonConnectContactLens
- Type: ConvIntelligenceSignalSubRule[]
- Required: No
- Description: A set of intelligence rules used to measure an agent or customer’s sentiment during a voice call.
Represents a condition (subrule) within a conversation intelligence signal rule.
- Type: string
- Required: Yes
- Description: Required. Value of the signal type used to determine if the rule condition is met.
- Type: ConvIntelligenceOperator (enumeration of type string)
- Required: Yes
- Description: Required. Filter logic operator used to determine if the rule condition is met.
- Possible values:
- Equals
- GreaterThan
- In
- LessThan
- NotEquals
- Type: int
- Required: Yes
- Description: Required. Order the condition appears in relation to the other conditions in the list, with zero (0) being the first condition listed. If
typeis set to Keyword, the maximum value is 24. For all othertypevalues, the maximum value is 4. This value is used when applying filter logic to the rule.
- Type: ConvIntelligenceType (enumeration of type string)
- Required: Yes
- Description: Required. Type of conversation intelligence signal used by the rule to determine whether to trigger an action. This value depends on the
ConvIntelligenceSignalRule.channelTypeandConvIntelligenceSignalRule.servicevalues.
The following is an example of a ConvIntelligenceSignalRule component.
The following is an example package.xml that references the previous definition.
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.