A Google Apps Script to store incoming SMS from 46elks to a Google Sheet.
- Copy the Google Apps script to your drive from the original file by
File => Copy. - Add the settings
SpreadSheetIDandSheetNamein theFile => Project properties => Script properties. SpreadSheetID is the the id in the URL of the document, for exampled2sPTTxOeL-GNcFC8caBLeZzXUuAJWT3NoBP9SGao9AKPis the key in https://docs.google.com/spreadsheets/d2sPTTxOeL-GNcFC8caBLeZzXUuAJWT3NoBP9SGao9AKP/edit#gid=0. SheetName is the name of the SheetTab. If you want to make a SMS Voting Spread Sheet then you may copy this Google SpreadSheet file byFile => Copy, or make your own. - Initiate install by
Run => doInstalland authorize the script access to the document. Make sure the fields are set to To, From, Message in the top Row in the Sheet with the selected Sheet Name. - Make into webbapp by
Publish => Deploy as web app...select the latestProject version:(It will probably default to New, this is good), "Me" inExecute the app as:and "everyone, even anonymous" inWho has access to the app:. Copy theCurrent web app URL:. - Go to the 46elks dashboard to configure your number.
- Paste the url in your 46elks number in the
sms_urlfield and press save.