Reference
Article MarkdownReport an error

Action set_language

System ID: action_set_language

Description

Sets the user's dialog language. The language code is taken from the lang_code constant and validated against the bot languages enabled for the dialog. Alias for the same logic: action_language__set.

Events (scenario branches)

Event When it occurs
success Language was set and validated
error No lang_code in constants, or the code is not among the bot's available languages

Parameters

No parameters in the node JSON ({}).

Before execution, user constants must include:

Constant Type Required Description
lang_code string yes Language code (e.g. uk, en)

Configuration example

Node config:

{}

User constants (example):

{
  "lang_code": "uk"
}
Using your own AI agent?Install the open skill so your AI agent can work with current official ConnectiveOne documentation.Get the skillNeed support?Couldn’t find the answer or need help from the ConnectiveOne team? Create a request in Client Portal.Create a request