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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.