Task: Build a pizza ordering bot for YoYo Pizza!
Build a chatbot which can help users with the Pizza Ordering. Imagine what the user flow would look like in an actual store; All the orders generated on the Bot should get stored in a database.
The bot should support the following use-cases:
To build a chatBot we need three platforms:
- Dialogflow: It will have all the source code including user input and bot response.
2. Firebase Database: Firebase is the realtime database for ChatBot. All the order from chats is stored in firebase database.
3. Google Action console: It will help to run and test our application.
Go to Dailogflow console. It has Intents, entities, and Fulfillment.
Intents: Intents are list of functions which will run one by one and gives responses to the user and take text/value response from the user.
Entities: Entities are a list of value/text which needs to take from user and store in the database.
Fulfillment: Fulfillment contains editable source code. It will perform saving data to the database and reading data from database functions.
Enable webhook in each intent and edit the fulfillment source code and go to firebase console.
Write the save to the database and read from the database code.
And test the app in google action console.
Finally, Deploy it and submit for review.