Skip to content

System Variables

System variables are variables that are built into the editor. System variables are set automatically by the editor, and can be used in condition or switch nodes to branch the editor flow. System variables are to be considered read-only, and should not be assigned manually in modify state nodes.

Reference

Variable Name Type Example Usage Info
{system_userLocale} string {system_userLocale} === "en-US" The current region/locale.
{system_platform} string {system_platform} === "alexa" The current platform.
{system_selectedChoice} string {system_selectedChoice} === "yes" The predefined utterance last recognized by the device
{__permissions} object {__permissions.reminders} === true
{__permissions.email} === true
Whether specific permissions has been given or not
{system_monetization} [object](/advanced/#object) {__permissions.reminders} === true
{__permissions.email} === true
Whether specific permissions has been given or not

System monetization:

system_monetization = {
    "<product reference>": {
          name: string,
          entitled: true | false,
          purchasable: true | false,
          platformId: string
    }
}