Using Slack Slash Commands to Send Data from Slack into Google Sheets
David Walsh
FEBRUARY 18, 2019
Delete the boilerplate myFunction() code and replace it with the following few lines: function doPost(e) { if (typeof e !== 'undefined') { var ss = SpreadsheetApp.getActiveSpreadsheet(); var sheet = ss.getSheetByName('Sheet1'); sheet.getRange(1,1).setValue(JSON.stringify(e)); setValue(JSON.stringify(e)); } }.
Let's personalize your content