Jump To Story

Our Platform lets you jump to a different story based on a logic written inside your embedded function

ctx.jumpTo(storyName, options);
ParameterDescription

StoryName

Name of the story to which the chatbot will run next

Options

Set of options to trigger a story

delay : time in mill seconds

time : e.g. 11AM

timezone : e.g. Asia/Kolkata (moment timezones)

e.g.

{ "time": "11AM" , "timezone": "Asia/Kolkata"}

{ "delay": "5000" } //5 second

Last updated