Name: slack-poll-app
Owner: International Business Machines
Description: A self-hosted slack polling app using Cloudant as storage, with support for deploying to IBM Cloud.
Created: 2018-03-09 05:17:08.0
Updated: 2018-03-09 06:32:58.0
Pushed: 2018-03-09 09:30:40.0
Size: 41
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A simple slack polling app which can be deployed in your own environment.
In the slack app, create a slash command:
/poll
or another commandhttps://your-slack-app-route/slack/command
, where route is obtained from Step 1.Simple polling app hosted on IBM Cloud.
"Would you like to play a game?" "Chess" "Falken's Maze" "Thermonuclear War"
Go to Interactive Components, and set Request URL to https://your-slack-app-route/slack/action
Go to Basic Information, write down Client ID, Client Secret and Verification Token
In deployed IBM Cloud app, set env var CLIENT_ID, CLIENT_SECRET and VERIFY_TOKEN
Visit https://your-ibm-cloud-app-route with browser
Click Add to Slack button
Confirm the authorization
After slack redirects back, if you see a message “Success!“, you have installed the app to your slack workspace.
Check whether poll
command shows up in your slack workspace.