//填入Line Notify 權杖 var lineToken = "lineToken"; function sendToLine(rowdata){ //整理 var message = "\n"; for (var key in rowdata){ message += key + " : " + rowdata[key] + "\n"; } var options = { method : "post", payload : "message=" + message, headers : {"Authorization" : "Bearer "+ lineToken}, muteHttpExceptions : true }; UrlFetchApp.fetch("https://notify-api.line.me/api/notify",options); }