Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nothingrandom/slack-sheets-cleaning-webhook
Using Google Sheets create a daily bot telling Slack members what random office chore they have
https://github.com/nothingrandom/slack-sheets-cleaning-webhook
Last synced: 4 days ago
JSON representation
Using Google Sheets create a daily bot telling Slack members what random office chore they have
- Host: GitHub
- URL: https://github.com/nothingrandom/slack-sheets-cleaning-webhook
- Owner: nothingrandom
- Created: 2019-04-18T09:54:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-18T11:38:07.000Z (over 5 years ago)
- Last Synced: 2024-10-25T00:48:16.696Z (21 days ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# slack-sheets-cleaning-webhook
A chorebot webhook script for slack. "Randomly" assign chores to people working in your office
### Setup
- Create a new Google sheets document.
- Create 3 tabs / pages; called `people`, `chores`, and `state`.
- In the `people` page use the first column for unique user ids `UXXXXXXXX`. The second column can be used for a single day that user gets ignored, ie `friday`. No other columns are required, but I use the third for the user's name.
- In the `chores` page setup your chores. The first column is the chore message. The second column is the frequency of the chore; put either `daily` or a day, ie `friday`. If you need the task to be on both Monday and Wednesday, list the task twice.
- Leave the `state` page empty.
- In Google Sheets open the script editor (Tools > Script Editor) and place the script.js file in there.
- Change the `slackWebhookURL` to your URL.
- Setup a trigger for the `delegateChores` function. Google can do this internally. Set it for daily, early in the morning.