A Secret Santa script using Nexmo (SMS) api.
You will need :
Then, install the dependencies :
$ cd path/to/SecretSanta/
$ yarnFirst, set your own contacts configuration
$ cp config.sample.json config.json
$ edit config.jsonThen start the send script
$ yarn sendIf something happened, you can use the sendMessage() function to resend message based on the backup file.