Let the most excellent Keanu improve your Slack conversations
Name | Description |
---|---|
APIAI_TOKEN |
The api.ai access token |
SLACK_TOKEN |
The Slack Bot token |
VERIFICATION_TOKEN |
The Slack verification token |
-
Create a Slack App and install it on your team
-
Using your Slack and API.ai credentials, create a config.json file. Use the config.default.json as a guide.
-
Deploy the app to CloudFunctions :
gcloud alpha functions deploy keanubot --stage-bucket <YOUR_CLOUD_STORAGE> --trigger-http
- Trigger your CloudFunctions
curl -X POST "https://[YOUR_REGION].[YOUR_PROJECT_ID].cloudfunctions.net/keanubot" --data '[Slack Message Event]'