I'm trying to build a chatbot with Watson Assistant which can query google sheets spreadsheet and display the result in the chatbot. So I want to know how can that be done? I know it can be done by using Webhooks which can be called using URL Endpoints but how would I store the user input and match it with the spreadsheet values and then store the returned spreadsheet values and display them while the conversation?.
This is my spreadsheet link it will give you the idea of what I am building, https://docs.google.com/spreadsheets/d/1hrRt3cmnr0hRfLfEpWMLDVmsicOU2bZzIAzv10WSttI/edit#gid=0