Powered by the IBM Watson Language Translator API, the Detect Language action allows you to recognize the language of a piece of text and cater your flow to that language.
Here you will enter the text that you would like to detect the language from. To detect the language of an incoming SMS, for example, select the variable assigned to the Incoming SMS block and drag it down to the Text/Message field.
The Detect Language action creates several variables. These variables can be used later on in a flow through the SMS, External Web Call, Dial action, or more.
The entire response from the API
The code that indicates the status of the API response (i.e. 200 = success, 404 = not found, 403 = forbidden).
The language that was returned by the Detect Language API which can be used to translate to English or another language.