A web server which handles events received from Slack Events API written in Go
Usage:
cli [command]
Available Commands:
completion generate the autocompletion script for the specified shell
help Help about any command
run Run a slack event listener
version Print version info
Flags:
--config string config file (default is $HOME/.cli.yaml)
-h, --help help for cli
-t, --toggle Help message for toggle
Use "cli [command] --help" for more information about a command.
- Setup Slack app settings to subscribe event types you need.
- Setup Google Sheets API and service accounts
- Run server with the following commands
- Setup a proxy server and Set Request URL.
For example, if you use
ngrok
, you should sethttps://YOURDOMAIN.ngrok.io/slack/events
to Request URL in Slack apps settings.
cli run \
--secret SLACK_SIGNING_SECRET \
--token SLACK_BOT_TOKEN \
--credentials PATH_TO_CREDENTIALS_FOR_GOOGLE \
--sheetId SHEET_ID