Skip to content
/ availyv2 Public

Second generation of Availy - Slack bot used to request off and cover shifts

Notifications You must be signed in to change notification settings

breyr/availyv2

Repository files navigation

Introduction

Availy.v2 is a slack app that allows users to request off shifts cover others' shifts. It was originally built using bolt and mongoDB hosted on heroku. View the original repo here.

Availy.v2 is the superman brother to Availy (v1). The hosting process simplified using this package. It is hosted on cloudflare workers utilizing cloudflare kv storage.

How to use Availy.v2 :)

/requestoff can only be used in the App Messages tab\nThis command will send you a form that looks like the following:

drawing

If you use /requestoff in any other channel, it will send you a message saying that you can only use it in the App Messages tab.

How to use the form:

Clicking on the date will open a calendar where you can select the date you want to request off. Clicking on the time will open a dropdown where you can select the time you want to request off. Clicking on the submit button will submit your request, post it to availy-posts channel, and update the form message saying that your request has been submitted.

What happens when you hit submit?

Your request will be posted to the availy-posts channel. The message will look like this:

From here you (or someone else since this is your own message) can click on the Cover Shift button to take the shift. This will send a message to the person who requested off saying that you will take their shift. The message will look like this:

Note: You will not be able to cover your own shift.

What if I forget all of this? 😅

Don't worry! If you use /tutorial in any channel, it will send you a message that only you can see if you use the command not in the DM with Availy.v2. This includes a basic run down on how to submit a request. Here is an example:

That's it! Please feel free to email me if you experience any bugs :)

How to install:

Use this button to add Availy.v2 to your slack workspace:

Add to Slack

Once installed to your workspace, create a channel called availy-posts and add Availy.v2 to it. This is where all of the shift requests will be posted. Then you are all set! You can start using Availy.v2 by typing /requestoff in the App Messages tab.

About

Second generation of Availy - Slack bot used to request off and cover shifts

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published