Repository contains source code of simple chat bot to demonstrate capabilities for CTR specific needs.
This is also a demonstration of GCP Functions capabilities along with power of Chatbots.
gcloud beta functions deploy webhook --runtime nodejs8 --trigger-http --memory 128MB --set-env-vars PAGE_ACCESS_TOKEN=SOME_PAGE_ACCESS_TOKEN,VERIFY_TOKEN=SOME_VERIFY_TOKEN
curl -v -X POST "https://us-central1-ctrbot.cloudfunctions.net/webhook/handler?anything"
node index.local.js
curl -X POST "localhost:1337/handler"