Here I am going to explain and demonstrate how we can develop custom actions in order to serve your customised questions.
I am using the following tools/ components:
DialogueFlow:
I am using DialogueFlow, it is a natural language understanding module that understands the nuances of human language. Dialogflow translates end-user text during a conversation to structured data that your apps and services can understand.
Google Actions:
It is a development platform for the Google Assistant. It allows the third-party development of "actions" applets for the Google Assistant that provide extended functionality.
DialogueFlow fulfillment:
To use fulfillment in your application, you should implement and deploy a webhook service. To handle fulfillment, your webhook service needs to accept JSON requests and return JSON responses.
DialogueFlow must handle HTTPS requests. HTTP is not supported.
Webhook URL for requests must be publicly accessible. more details on - https://cloud.google.com/dialogflow/d...
Heroku: Heroku is a cloud platform as a service which supports several programming languages.
If required we can also go for private Heroku instance for managing operations.
Google Cloud Platform - https://cloud.google.com/
Google Cloud platform free trail for testing - https://console.cloud.google.com/free...
Webhook source code on GitHub url - https://github.com/prabhakar2020/goog...
Be careful to choose other options you will be charged. Quick disclaimer, I am not going to be responsible for any charges incurred throughout this workshop. Please choose type of instances/Google resources carefully before launching.