var lineToken = "lineToken";//LineNotify權杖 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); } ```