What comes after the Tree? The Node.
A Node is a set of message response(s) that can be triggered by following a designated path and trigger. A tree is basically layers of connected tree nodes. The First Node usually refers to the first message response of a Chatbot, and it is always a Tree Node.
In the following time, we are going to adopt the following conversation tree diagram as the skeleton of your first chatbot:
Both chatbot reply and final result are nodes while the user action is the trigger that can leads you to those nodes following the correct path. The whole structure is a conversation tree.
Now, let's build your first tree node!
What is your Result?
|You should be able to find your created first node in your workspace.|
Enter the Bot Builder here to start building your node.
Add Your First Node
- Select "+" on right top corner of workspace.
- Select "+ Tree Node".
- After that, a panel will be revealed on the right. This is the Node Inspector.
- Fill in the node name and description.
- Scroll down to "Responses" and click "+ New Response". Now, we are going to create the response of our first node, that is "Hi, what do you want to do?"
- A new window of Response Builder will be opened. Click "+ New Response" to add your response.
- Name your response and click "+ More Response" to select the correct message type.
- According to our tree diagram, our first node will be a question "Hi, what do you want to do?". We should also enrich the content by adding an additional sentence "Type  if you want to make a booking" to guide the users.
Check the response preview on the right side to see if the response content is set properly.
Click "Save" to save the response.
Close the pop-up. Your response should be set up now under Responses.
Save User Position
- Now, scroll down to "Save User Position" and toggle on the button. It helps you track all user journey.
Click "Save" at the very bottom to save this node!
You should now have your first node created. Check if you can get a successful result 🎉