Skip to main content

Variables

warning

This documentation page is still being written.

Any non-trivial bot will need to gather information from the user and remember it for later or use it when executing actions. You can achieve this use context variables.

define flow greeting
user express greeting hello
bot "Hello! What is your name?"

user inform name
bot "Nice to meet you, $name!"
define user inform name
entity $name as name

"my name is $name"
"the name is $name"