Instead of confusing yourself by jumping head first into state handlers and such, it would be much easier to understand Dialogflow CX by starting with
a) understanding state machines
b) implementing a simple state machine using CX
c) building on top of your existing learning
That’s what we will do in this tutorial.
What is a state machine?
What we are building
User Asks For Balance
Testing it in the simulator
No state transition
Add state transitions
Ask for balance after transition
Complete the bot
This website contains affiliate links. See the disclosure page for more details.
"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