function kirimwaform(event) { var Nama =event.namedValues['Nama'][0]; var Whatsapp = event.namedValues['Whatsapp'][0]; var url = "https://sendwa.classy.id/kirimform.php"; //kirim pesan ke user var data = { 'handphone': Whatsapp, 'pesan': 'Hai ' + Nama + ', Terimakasih ☺️🙏 telah menggunakan google form' }; var options = { 'method' : 'post', 'contentType': 'application/json', // Convert the JavaScript object to a JSON string. 'payload' : JSON.stringify(data) }; var response = UrlFetchApp.fetch(url, options); Logger.log(response.getContentText()); }