https://github.com/sandipmavani/webhooksample2
https://github.com/sandipmavani/webhooksample2
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sandipmavani/webhooksample2
- Owner: sandipmavani
- License: apache-2.0
- Created: 2017-10-03T08:38:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-05T04:42:15.000Z (over 7 years ago)
- Last Synced: 2025-01-11T21:10:49.532Z (5 months ago)
- Language: JavaScript
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Api.ai - sample webhook implementation.
This is a really simple webhook implementation that gets Api.ai classification JSON (i.e. a JSON output of Api.ai /query endpoint) and returns a fulfillment response.
More info about Api.ai webhooks could be found here:
[Api.ai Webhook](https://docs.api.ai/docs/webhook)# Deploy to:
[](https://heroku.com/deploy)# What does the service do?
It's a simple echo service that takes `resolvedQuery` and `action` fields from the Api.ai JSON reponse and echoes them back in into `speech` and `displayTest` fields in the fulfillment JSON.