Skip to content
/ lab-bot Public

Back-end serverless function that handles API requests from the lab's Slack app

Notifications You must be signed in to change notification settings

evdkv/lab-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab Schedule Slack Bot

This is the backend code for a Slack app to help lab members manage their testing schedules. Right now, it can access a Firestore database, validate workspace users, and pull a schedule summary for each user.

Features

Adding Slots to the Calendar

The form can be acccessed through /add-slot command, then it prompts the user to enter the information for their new time slot. After the form is submitted, the bot validates the user (determines whether they belong to a project), validates their entered time (whether it's too short, whether it overlaps with other slots in the same location, and whether the begin/end times are flipped).

add slot

Then, the request goes to the selected approver and they get a request and have an option to either approve it or reject it. The requester gets notified of the decision.

approve

If approved, the event is added to the database and will appear on the lab calendar after the time it's supposed to go in effect.

cal

Project in progress

About

Back-end serverless function that handles API requests from the lab's Slack app

Resources

Stars

Watchers

Forks

Languages