Narrative Design Triggers
Last updated
Last updated
These triggers would be used to navigate through the story graph and activate specific narrative design sections.
In the example bellow calling the trigger (start tour) would activate "Greet User" section.
Once the logic is decided we can move to our Javascript code. Where we have initialised convaiClient.
We can call convaiClient.invokeTrigger()
whenver we require it in our use case.
Additional information for context can also be passed as the second argument : message.