ANALYTICS

Triggers sentiment analysis on email text, evaluating content for positive, negative, neutral, or mixed tones. The emails can be routed to agents based on this analysis. For example, an email with negative or mixed sentiment analysis can be routed to an agent skilled at customer retention.

Supported Script Types

Email

Properties

ScriptMediaType
Specifies the type of media the action will process. Currently the only available value is Email.
Language
Specifies the language of the text being analyzed. Currently the only available language is English. Specifying the language speeds up the analysis process, which otherwise would need to detect the language itself before beginning analysis.
Results
Allows customization of the variable where sentiment analysis results (positive, negative, neutral, mixed) will be stored. The default value is Analytics.

Branches

Default
The branch the script follows unless an error occurs.
OnError
The branch the script follows if an error occurs.