User initiatives

In addition to your narrative, you can also add user initiatives to your app. These are typically used to supply answers to questions users might ask at any time in the dialog, or to let users take control over the dialog. A key feature in Narratory is that the bot will continue where it was in the Narrative after a user inititative has been completed unless you do a goto to a different place in the dialog.

Here is an example of a user initiative where the bot simply replies to a question a user may ask (and then continues where it was in the narrative):

Another example, where the user changes the direction of the dialog by going to a different part of the narrative using the optional goto parameter of the bot turn. Note that this overrides the default behavior of continuing where the bot was in the Narrative.