Skip to main content

Create a Global Node

Now you can see your first node in the workspace, how about on your testing chatbot? In this section, we will teach you to create another type of node: Global Node. It allows you to trigger the same node at any point of your conversation flow.

Once added to Channel, Global Node is often used as a "door" to kickstart a conversation. For example, we will trigger the global node with the Ice Breakers feature in Instagram messaging.

Without a Global Node, no one can ever kick-start your chatbot.

Expected Outcome

You should also be able to trigger the first node on your testing chatbot in two ways: by clicking the Ice Breakers button.

Ice Breakers
Ice Breakers
Welcome Message
Welcome Message

Create a Global Node: Welcome

Enter your Bot Builder.
  1. Select "+" on right top corner of workspace.
  2. Select "+ Global Node".
Add Global Node
Add Global Node
  1. Head to the "Node Inspector" and name your global node.

  2. Usually we would put Global at the end of the global node to identify it from the chatbot node with the same name.

Name Global Node
Name Global Node

Create a Trigger

  1. Scroll down to "Trigger" and click "+ New Trigger".
Add trigger
Add trigger
  1. Select "Keywords / Payload" from the dropdown, fill in the payload "WELCOME" and click enter to confirm. Remember to "Save" the node.
Click + 'New Trigger'
Click '+ New Trigger'
  1. Close the pop-up. Your trigger should be set up now under Trigger.
Click + 'New Trigger'
Click '+ New Trigger'

Toggle on Redirect

  1. Scroll down to "Redirect" and toggle it on (it will turn green).

  2. Select the chatbot and node you want to redirect your users to whenever they click on this global node and usually it's the chatbot and you are editing right now. So for chatbot, select "Instagram Flow"; for node, select your first node "Welcome Message".

Toggle on Redirect
Toggle on Redirect
tip

Sometimes we could also redirect users from one chatbot to another chatbot. It is applicable when you have multiple chatbots in your channel.

  1. Click "Save" at the bottom to save the node.
Save the node
Save the node

Add Global Node in Channel

  1. Click "Edit" to enter into the testing channel.
The testing channel
The testing channel
  1. In Chatbot Settings, click "+ New Chatbot" under "Default".
Change core version & click + New Tree
Change core version & click + New Tree
  1. Select your chatbot from the dropdown and select the global nodes. "Save" the chatbot settings.
Select all global nodes
Select all global nodes

Set Ice Breakers

  1. Now you have to add the Ice Breakers button. So head back to "Platform" on the left tab.

  2. Scroll down to Ice Breakers and click "Additional Question".

  3. Fill in the text content and then the payload. Please make sure the payload (i.e. WELCOME) matches with payload you have defined in the trigger of the global node.

  4. Click "Set Ice Breakers" to save your settings.

Set up Ice Breakers
Set up Ice Breakers
  1. Test your chatbot and see if you can get the expected outcome.