This site is no longer updated.Go to new Conversational Cloud docs

$client


An object which is used to store permanent client data.

Once all the reactions are executed, the $client structure is getting saved in the interior database. There are no specific fields.


How to use

state: Welcome
    script:
      $context.session = {}
      var $session = $context.session; 
      $client.welcome = true;
if: !$client.registered
            go!: /Registration/Start
        else:
            go!: /Welcome