Best way to setup a webhook for dialogflow? : I'm using the inline code editor with dialogflow. But i want to use an external webhook I just wasn't sure the best way to do this. I've got some experience with firebase and firebase functions - so if I wanted to create a firebase project i'd just run firebase init, etc. Can the url for the webhook be the firebase functions url? 

In addition there are is the action on google github page https://github.com/actions-on-google/actions-on-google-nodejs where there are examples of writing conversational code for dialogflow using a dialogflow instance but the syntax for this is different to the syntax used in fulfilment. Just wondering the differences between writing code for actions on google versus dialogflow.