A lambda created to run every hour, to notify the correct community channel based on the description that the calendar event has.
- Ensure you have Google Calendar API enabled in the Google Developer Console.
- Ensure that you have setup a
service_account
in the Google Developer Console that has the ability to view the CalendarAPI.- Make sure you have copied the
JSON
for the account details intocredentials.json
file in the root of this project.
- Make sure you have copied the
- Ensure that you have setup a
Google Calendar
that has the correct events.- Make sure you have copied the
Calendar ID
into theCALENDAR_ID
environment variable in the.env
file.
- Make sure you have copied the
- Ensure that you have enabled Google Calendar API in the Google Developer Console.
- Ensure that you have added the
service_account
to the Google Calendar as aReader
. - Ensure that you have setup a
Slack App
that has the ability to post to the correct channel.- Make sure you have copied the
OAuth Access Token
into theSLACK_TOKEN
environment variable in the.env
file.
- Make sure you have copied the
- Run
npm i
to install the dependencies