Flow diagrams

As this is a large and complex conversation, we are going to break the flow into sections. This will make it easier to create and visualize.

The first part of the full conversation, as well as the stock-checking conversation, can be used to create a productFind flow diagram:

The productFind flow diagram

As you can see, there is some logic that is similar to the logic that we used in the Car Helper chatbot in Chapter 3, Creating Your First Alexa Skill. By the end of this flow, we know what product the user is asking about.

You may have noticed a new symbol in this flow. This symbol is similar to intentTrigger but this is for starting ...

Get Hands-On Chatbot Development with Alexa Skills and Amazon Lex now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.