Slack bot to post with who is scheduled to be out of the office this week and next
Slack bot to post in a slack channe every Monday with who is scheduled to be out of the office this week. It will post to the slack channel you specify as default when setting up a custom integration. The bot looks at the current week (M-F) and sees if any scheduled time off overlaps. The people with time off, and the days they'll be gone, will be posted to Slack.
Uses the BambooHR time off API, botkit, lodash.find, and moment!
Generate Slack custom integration webhook here and choose the channel you would like WhosOut to post to. Create a BambooHR api token within your account, and note the subdomain associated with your BambooHR organization.
From within the bambooHR-whosOut directory, run
docker build -t whosout:latest -q . &&
docker run -d --env BAMBOOHR_SUBDOMAIN=<YOUR TEAM> --env SLACK_WEBHOOK=<YOUR WEBHOOK> --name whosout --env BAMBOOHR_TOKEN=<YOUR TOKEN> whosout