Skip to main content

Create a Global Node

In the previous section, you can trigger the greeting message using the ice breaker. However, when the ice breaker is no longer available, how could we trigger the same chatbot node again?

In this section, we will teach you to create another type of node: Global Node, which allows you to trigger the same node at any point of your conversation flow.


Expected Outcome

Now you can trigger the greeting message at anytime by clicking on the button in persistent menu.

Sample Chatbot Structure
Expected Outcome

Create a Global Node

  1. Enter your Bot Builder and start working on your chatbot.

  2. Select "+" on right top corner and then select "+ Global Node".

Add Global Node
  1. Head to the "Node Inspector" and name your global node.
Add Global Node

Create a Trigger

  1. In the global node, create a new trigger.

  2. Select "Keyword/Payload" and enter a payload. For example: GET_STARTED.

Create Payload Trigger

Toggle on Redirect

  1. Switch on "Redirect" and link it to the "Get Started" node.
Redirect

Create Persistent Menu

We want a method to trigger this greeting message at anytime. One method is to make use of the persistent menu in Web Chat integration.

  1. Head to the Web Chat channel -> "Platform".

  2. Select "Ice breaker and Persistent Menu". Then, create a button under "Persistent Menu".

Create Persistent Menu
  1. Enter a title and payload for the button.
NOTE

The "payload" must match with the trigger of the tree node. For example, GET_STARTED.

Create Persistent Menu

Add Global Node in Channel

  1. Head to "Chatbot Settings".

  2. Add the chatbot under "Default" and check all the Global Nodes. Remember to "Save" the settings.

Add Chatbot to Channel
  1. Finally, open the full page Web Chat by clicking "Test your bot" in "Platform", and test by selecting the button in persistent menu.
Test persistent menu