OK. You could try something like this:
BLOCKS
SCRIPT
function doPost(e) {
var data = JSON.parse(e.postData.contents) ;
var ss = SpreadsheetApp.getActive(); //assumes script bound to spreadsheet
var sh = ss.getSheetByName('Sheet1');
for (var i=0;i<data.length;i++) {
sh.appendRow(data[i]);
}
return ContentService.createTextOutput("Success") ;
}
SCREENS
AIA
GenerateListForSheet.aia (3.0 KB)


