问题
I'm quite new to nodeJS and I want to know how could I make a server that will respond to dialogflow's webhook fulfillment based on the intents and the parameters in dialogflow.
回答1:
I would encourage you to follow this Actions Codelab. It would help you setup your webhook deployment on your local environment. Then follow this to parse parameters in your fulfillment.
Hope that helps !
来源:https://stackoverflow.com/questions/53458276/how-to-simply-respond-to-a-dialogflow-webhook-fullfilment-based-on-the-parameter