/twilio-secret-santa

Use Twilio's SMS API to set up Secret Santa!

Primary LanguageGo

twilio-secret-santa

Use Twilio's SMS API to organize Secret Santa!

Usage

  1. Clone this repo and modify the list of participants to match your Secret Santa participants
  2. Set your Twilio environment variables TWILIO_TOKEN, TWILIO_NUMBER, and TWILIO_SID (see https://www.twilio.com/docs/sms)
  3. Run santa.go (go run santa.go if you have already set your environment variables, or TWILIO_TOKEN=??? TWILIO_NUMBER=??? TWILIO_SID=??? go run santa.go to define the environment variables and run the program in one Go (lol))

If your Twilio credentials and phone numbers are valid, each participant in your list of participants will recieve a text greeting them and informing them of their Secret Santa recipient. For example, if Rudolph is assigned as Dasher's Secret Santa, Rudolph would recieve a text that says Hey Rudolph! You are assigned to Dasher for Secret Santa!.