Build the First Node of a Conversation Tree
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.
You should be able to find your created first node in your workspace.
Add Your First Node
Enter your Bot Builder.
- 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.
Build a Response
- 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. Name your response, then click on the arrow sign and open a new panel.
- Click "Add Platform".
- Since you are building this response for Facebook, select "Facebook" from the dropdown.
- The set of response types for Facebook will be ready for you. Select "Text", and fill in the content.
- Click "+ Quick Replies".
- Fill in a "Title" and a "Payload" for the quick reply. The Payload is case-sensitive and we will use "CHECK_MENU" in this example.
- Click "+ Quick Replies" again to create another quick reply. Fill in another name and payload.
- Now you can see the response preview on the left. Remember to Save the newly created response.
- Close the pop-up, and click Save at the bottom to save the changes made to this node.