Use the instructions on this page to get your account credentials setup.
- Add this package to your functions config: google-spreadsheet
- Copy stuff from index.js to your function.
- Add variables in demo.env to your function config
- Buy a number
- Attach a number to this function
- Share the sheet with the service credential you made above.
- ...
- profit!