Tips

I have updated my flowchart conventions a bit after releasing this course, plus I have seen students/clients get confused about a few things while going through the flowcharts course.

So please make note of all the following tips. Come back to this lesson and re-read these tips after you have gone through the videos:

1 Both user says and bot says should go into a single rectangle, and the user says should be written first, followed by bot says. It is a logical unit representing an intent, and will be represented in the flowchart as such. Putting both user says and bot says in a single rectangle is not only very important, but the only way you can create a cogent flow diagram in Dialogflow. 

2 Use ellipse instead of diamond to represent contexts

3 Instead of using the context name directly in the circles, it is better to use numbers to make your flowchart more compact. To do this, you need to use the Modify -> Label feature to add a number to represent the context. You will not lose much in terms of clarity. 

5 Use the SHIFT + ENTER key within the rectangle to add more lines and reduce the width of the rectangle. In general, this will make your overall bot flow much more readable.

6 Optional: Color code your fallback intent (change border color) so it is easy to see at a glance.

Finally, you should, in theory, be able to "step through" the flowchart and have a sample conversation as the output. That is, if you go through your flow diagram in sequence, and just take the user says and bot says and print them in sequence, it should form a logical conversation. 

While this might seem like a lot of effort, going through the effort will immediately clarify for you what is actually going on, and will in fact help you build a much better chatbot.