Simple Heroku Worker to send SMS updates when 538's 2020 election predictions change
- Create a Twilio Account
- Set the config settings to specify the state poll to watch, how often to check & the threshold results must pass before an alert is issued.
- Deploy to heroku.
- Set the following environment variables:
SMS_FROM_NUM=(Twilio from number)
SMS_ID=(Twilio SMS ID)
SMS_TOKEN=(Twilio SMS Token)
PHONE_NUMBERS=(Phone Numbers, seperated by ";" - example: "3235554433;2145559988;4698887777")