Setting up variables and transitions for routing SMS workitems by detected language
Language detection can be used to route text based work items. If Language detection is used then a single campaign and workflow can be used as opposed to creating a separate campaign per supported language
In order to set up language detection you need to add a few actions in the SMS campaign workflow
in the expression field, this tells the system to capture the text in the email subject
You can name the variable whatever you want but make sure not to include spaces or special character. The variable will now contain the text that was contained in the expression. In this example let us call the variable ContentSMS
the system will be analyzing the content of the SMS message to detect the language
workitem.detectLanguageResult.mostLikelyLanguage == the 1st language your organization supports
eg. if your organization wants to route work items based on French being detected you would enter
workitem.detectLanguageResult.mostLikelyLanguage == ‘fr’
workitem.detectLanguageResult.mostLikelyLanguage == the 2nd language your organization supports
eg. if your organization wants to route work items based on Spanish being detected you would enter
workitem.detectLanguageResult.mostLikelyLanguage == ‘es’
Currently you can access a list of language codes supported by google here.
The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.
A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!
Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.