Redirect to a different passage

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

nextPassage.passageId = 'abcdef';

To find the passage ID:

  1. Click Create in the left navigation, then click Conversations.
  2. Click the conversation with the passage you want to use.
  3. Click the menu on the passage, then click Copy Passage ID.

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