Redirect to a different passage

When you configure a webview in your chatbot, you specify which passage it should go to when the webview closes.
In the webview code, you can tell the chatbot to open a different passage instead by overwriting the next_passage variable.

nextPassage.conversationId = '123456';
nextPassage.passageId = 'abcdef';

You’ll need the conversation ID and the passage ID of the new passage you want to go to. You can find these by opening the passage in the chatbot conversation flow and looking at the URL.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.