Values_0.RuleActionSourceInformation about the action to be performed when a rule is triggered.
type nonrec t = {actionType : ActionType.t;The type of action that creates a rule.
*)taskAction : TaskActionDefinition.t option;Information about the task action. This field is required if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
*)eventBridgeAction : EventBridgeActionDefinition.t option;Information about the EventBridge action. Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable | OnPostChatAnalysisAvailable | OnContactEvaluationSubmit | OnMetricDataUpdate
*)assignContactCategoryAction : AssignContactCategoryActionDefinition.t option;Information about the contact category action. Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable | OnPostChatAnalysisAvailable | OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
*)sendNotificationAction : SendNotificationActionDefinition.t option;Information about the send notification action. Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable | OnPostChatAnalysisAvailable | OnContactEvaluationSubmit | OnMetricDataUpdate
*)createCaseAction : CreateCaseActionDefinition.t option;Information about the create case action. Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnPostChatAnalysisAvailable.
*)updateCaseAction : UpdateCaseActionDefinition.t option;Information about the update case action. Supported only for TriggerEventSource values: OnCaseCreate | OnCaseUpdate.
*)assignSlaAction : AssignSlaActionDefinition.t option;Information about the assign SLA action.
*)endAssociatedTasksAction : EndAssociatedTasksActionDefinition.t option;Information about the end associated tasks action. Supported only for TriggerEventSource values: OnCaseUpdate.
*)submitAutoEvaluationAction : SubmitAutoEvaluationActionDefinition.t option;Information about the submit automated evaluation action.
*)}val make :
?taskAction:??? ->
?eventBridgeAction:??? ->
?assignContactCategoryAction:??? ->
?sendNotificationAction:??? ->
?createCaseAction:??? ->
?updateCaseAction:??? ->
?assignSlaAction:??? ->
?endAssociatedTasksAction:??? ->
?submitAutoEvaluationAction:??? ->
actionType:ActionType.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `String of FieldValueId.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Double of Double.t
| `String of FieldStringValue.t
| `Structure of 'a list ])
list ])
list ]
list
| `Map of
([> `String of ReferenceKey.t ]
* [> `Structure of
(string
* [> `Enum of string | `String of ReferenceValue.t ])
list ])
list
| `String of TaskNameExpression.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `String of UserId.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Double of Double.t
| `String of FieldStringValue.t
| `Structure of 'b list ])
list ]
list
| `Long of TargetSlaMinutes.t
| `Map of
([> `String of String_.t ] * [> `String of String_.t ])
list
| `String of SlaName.t ])
list ])
list ])
list ]