Live: https://slackmood.herokuapp.com/
This project was made for CUNY Hackathon in 1 day. Came in 3rd (honorable mentions). This works with 3 technologies:
- Firebase (https://firebase.google.com)
- Webtask (https://webtask.io/make)
- Tone Analyzer (https://www.ibm.com/watson/developercloud/tone-analyzer.html)
- Create a slackbot with permissions to read public channel messages.
- Create a task on webtask, and copy paste code from webtask.js in it. Make sure to put api keys into their places as listed in the file, you need IBM's api keys, and Firebase api keys.
- Take webtask webhook url and put it in slack bot configuration where it will send some code which you would need to verify too.
- Slack bot reads messages in all public channels, on every message Slack sends the text to Webtask webhook.
- Webtask file checks if it's a text message, then sends it to ibm for tone analysis.
- After it get sentimental data back it adds it to Firebase
- On dashboard Firebase library fires update event through 'value' and there dashboard is updated
It allows company managers to overview company's mood by analyzing what is being said on slack and set baseline, which they can see over days, weeks, months to see if general mood is improving or not. Turnover is biggest problem in Tech, and primary reason is unaddressed emotional needs. Future version would allow private and anonymous messaging to the bot. That would allow employees to give emotional feedback without repercussions of any kind.