var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("URLs"); sheet.appendRow(ficUrls.flat());