Reference
Article MarkdownReport an error

Standard bot constants (Operator Panel)

When working with the Operator Panel, the bot shows the client texts from bot constants for the current language (lang_code). Below are the constants most often used by the Connect to operator action and related chat events.

Configure them in the bot constructor (constants / translations section) for each language the scenario uses.

Client messages

Constant Purpose Typical content
chat_created_msg After creating a dialog with an operator “Please wait while a specialist connects…”
chat_operator_connected An operator joined the dialog “joined the dialog” (role and name are appended)
auto_connected Operator auto-connect (auto_connect_operator: true) If missing — chat_created_msg is often used
chat_closed_by_operator Chat closed by the operator “Chat closed by operator”
chat_closed_by_timeout Chat closed due to inactivity “Chat closed due to timeout”

Role names

Constant Purpose
op_role_supervisor Label for the “Supervisor” role
op_role_operator Label for the “Operator” role
op_role_admin Label for the “Administrator” role

Buttons and commands

Constant Purpose
close_chat_button_text Text of the end-conversation button (add_button: true)
return_button_text Text of the return button (add_return_button: true)
close_chat_command Chat-close command (if set together with add_button)
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