Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 886 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 886 Bytes

AIS Birthday Bot

Birthday bot that reads names & dates from a google sheet & posts birthday messages to a slack channel.

Local Development

Download service account credentials from Google Cloud Console.
  • Open Membership-Portal project in Google Cloud
  • Navigate to IAM & Admin > Service Accounts
  • Open birthday-bot service account
  • Open Keys tab, select Add Key & click Create New Key
  • Create a JSON key and download it
Set environment variables
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/birthday-bot-credentials.json
export BIRTHDAY_SPREADSHEET_ID=https://docs.google.com/spreadsheets/d/BIRTHDAY_SPREADSHEET_ID
export SLACK_CHANNEL_ID=birthday-bot-channel-id
Build and run
npm run build
npm start

Questions

Reach out to Harsha Srikara for any questions.