This is a really simple webhook implementation that gets Api.ai classification JSON (i.e. a JSON output of Api.ai /query endpoint), returns a fulfillment response and interact with the sensors in an IOT ecosystem
More info about Api.ai webhooks could be found here: Api.ai Webhook
It's a simple echo service that takes
action fields from the Api.ai JSON reponse and echoes them back in into
displayTest fields in the fulfillment JSON.