So now that you have read the functional spec, let us try to create a flowchart for it.
As you might know, I am a big proponent of creating flowcharts for your chatbots. Even if they are only moderately complex. And if your chatbot has more than 10 intents, it is already moderately complex.
This is what the flowchart looks like for the GiftMinion chatbot. I have used XMind to create this flowchart as usual.
You can read how to study and interpret this flowchart by reading my previous article.As I am creating a flowchart for the Google Assistant message type for the first time, I had to make some enhancements to my flowchart system for that purpose. I have added another UI element – as you can see, I have added a lot of circles with the number 1. These are similar to placeholders in very long flowcharts. This is because we will have suggestion chips show up at pretty much every step. You can go back and watch the video of the demo again to see what I am talking about.
I have also added another enhancement – where the user clicks or taps on the UI and the action gets converted into a text response, I use the angle brackets to indicate this is happening. While this isn’t a strict rule, it helps to understand how the words the user says are appearing on the screen. I write the words which appear on screen first, followed by the action the user takes as this seems simpler and clearer.
The branches can be drilled down for further detail in XMind.