简体   繁体   中英

How to create a custom webhook in Dialogflow based on Azure?

So I would like to implement Dialogflow fulfilliment using a custom node.js webhook. I've created a node.js app in Azure (I have my own .azurewebsites.net site), however I'm not quite sure how to link it to Dialogflow. How do I do this? Thank you.

On the dialog flow side Go to dashboard and click on fulfillment on side bar provide the web hook and basic authentication and headers. On nodeJs make sure you provide POST Webhook API where dialogflow app sends requests.

Are you familiar with Express or any other framework to create REST APIs with Node?

There are tons of material on the web, but this is a starting point if you like.

In this link you'll find the documentation that shows which fields will be posted to your endpoint and those that you'll want to send back to Dialogflow.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM