Skip to content

A bot that sends out a O.O.O. message for all the people on the Justworks ICS calendar

Notifications You must be signed in to change notification settings

Fueled/booot-bot

Repository files navigation

bOOOt bot

Justworks Company Calendar Slack Bot

A bot that sends out a O.O.O. message for all registered P.T.O requests, this for currently only the Justworks ICS File. Basically schedules a Cloudwatch Event and executes a Lambda Function to chat on Slack. Gets next week entries and calculates who is out in that week and shows it i.e.:

Hey there 👋, keeping you up to date on who's O.O.O. next week:

🏡 Working Remotely (2 in total):

  • Rachel J. is out on Thursday
  • Nathan J. from Wednesday and starts after the weekend

🌴 Vacation (3 in total):

  • Nathan J. on Tuesday
  • Rob S. from Tuesday to Thursday
  • Meredith F. from Thursday and starts after the weekend

Installation

Install Serverless

npm install -g serverless

Clone our repository and run the install command inside the created directory:

npm install

To run local endpoints:

serverless offline start

Deployment

To deploy new code to your AWS Account (configuration on serverless is required)

serverless deploy

About

A bot that sends out a O.O.O. message for all the people on the Justworks ICS calendar

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published