An Express.js app for native polling on Slack
- Two available integration slots (incoming webhook + slash command)
- Heroku + MongoLab Add-on (or any other PaaS which uses MongoLab)
####Create a new poll
/poll new {poll title} {poll option}
(up to 4 options)
Note: When called, if a poll exists already in the channel you are in, it is replaced with the new poll and all data from the previous poll is erased.
####Cast a vote for an open poll
/poll vote {choice}
Note: A user may only vote once. If a vote already exists for that user, it is overwritten by the new vote.
####View the results for an open poll (Public)
/poll results
####View the results for an open poll (Private)
/poll peek
####In-app help
/poll help
- Fork this repository
- Deploy to Heroku (requires MongoLab Add-on)
- Copy Heroku URL to new slash command integration on Slack
- Create a new Incoming Webhook integration and copy the webhook URI
- Open slack and paste
/poll setup "YOUR-INCOMING-WEBHOOK-URI"
- Done.
- Once this app is running on Heroku, you may use it in as many different teams as you'd like.
- Only one active poll may be active (per channel) at any given time.
- Enable support for up to 26 poll options (A-Z).
***This app is not affiliated with, or endorsed by, Slack***