hasContext

This action is pretty simple, and only checks, if Variable var exists in Context. It can return true of false as a result intent.

Example:

actions:
  - hasContext:
      var: 'userId'
next:
  'true': UserId exists, continue
  'false': UserId does not exist, register user

Written by Andrey Esaulov on 12 March 2019

Updated on 12 March 2019