Seems like onEdit(e) won't trigger creating a new folder in google drive - only works when running it explicitly. Any ideas? Thanks
function onEdit(e) {
var requestRow = e.range.getRow();
var folderName = SpreadsheetApp.getActiveSheet().getRange(requestRow,6).getValue();
var newFolder = DriveApp.getFolderById('1LOfkVGrV-juzUiwbU8owHj74T9wMAz').createFolder(folderName);
}
onEdit(e)
triggers do not have authorisation to callDriveApp
, you need to set this up as an installable trigger instead. – ross