What we are building

Autogenerated YouTube transcript

[00:00] Now that you understand the concept

of the state machine we will build a bot which is going to use the concept of the vending machine and we are just going to call it Vendee and I think that it’s probably the simplest way to get started with Dialogflow CX. And when I say the simplest way I mean that it’s the simplest way where you have a Dialogflow CX bot which is actually built

[00:30] using all the Dialogflow CX features

you can build much simpler like FAQ bots and things like that which don’t even have like state changes. But that’s not really a use case for Dialogflow CX in that case you could as well just stick to the old version of Dialogflow ES which has a very generous free tier and is much less expensive. So the bot that we are going to build is going to be called Vendee it’s a

[01:00] vending machine bot

and the only unit of currency that it accepts is the quarter that is the vending machine which is a quarter is 25 cents as you know. And there are three products like we saw before you can get a Snickers for 25 cents you can get a Twix for 50 cents or you can get a KitKat for 75 cents and the user can say the following phrases. Okay this is the list of phrases that

[01:30] the user can say and what we support

they can either say add a quarter which is their intent is to add a 25 cents coin into the vending machine Then they can ask what is my balance. And it’s going to tell them how much money they have inserted into the machine what can I get with my balance in this case it is going to tell them the different products which they can buy using the balance they have. And they can select one of the three products by saying give me a Snickers

[02:00] give me a Twix or give me a KitKat

. And finally they can also say return or refund my balance so these are the different phrases or you can say these are the different things that the user can say to the Vendee bot and it has to perform actions according to whatever the user has said.

Transcript auto-formatted using ATF

Free: Dialogflow ES Crash course for non-programmers

I recently changed the name of my website from Mining Business Data to BotFlo. To help spread the word, and to hopefully get people to bookmark my website, I am making a set of my training courses free for a few weeks. 

Learn more
"The magic key I needed as a non-programmer"

The custom payload generator was the magic key I needed (as a non-programmer) to build a good demo with rich responses in DialogFlow Messenger. I've only used it for 30 minutes and am thrilled. I've spent hours trying to figure out some of the intricacies of DialogFlow on my own. Over and over, I kept coming back to Aravind's tutorials available on-line. I trust the other functionalities I learn to use in the app will save me additional time and heartburn.

- Kathleen R
Cofounder, gathrHealth