我想知道是否有可以允許谷歌郵件和Google表格之間進行交互的應用程序。谷歌郵件和Google表格之間的互動
我自己解釋一下: 我收到很多來自在線表格的電子郵件,所有的電子郵件都與我必須聯繫的客戶有關。我想將所有表單都接收到Google表格中,我可以像CRM一樣管理。
謝謝你的幫助。
問候,
史蒂夫
我想知道是否有可以允許谷歌郵件和Google表格之間進行交互的應用程序。谷歌郵件和Google表格之間的互動
我自己解釋一下: 我收到很多來自在線表格的電子郵件,所有的電子郵件都與我必須聯繫的客戶有關。我想將所有表單都接收到Google表格中,我可以像CRM一樣管理。
謝謝你的幫助。
問候,
史蒂夫
如果數據的格式正確,那麼這是一個簡單的腳本來完成這項工作。
在谷歌片材,工具>腳本編輯器>
function sendEmails() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheetByName(' List');
var last = sheet.getLastRow();
for(var i=2;i<last+1;i++){}
var firstName = sheet.getRange(i, 1).getValue();
var email = sheet.getRange(i, 4).getValue(); // the second value is the column numbers , from left to right 1 to all
var message = 'Hola '+firstName+', message'; // Replace "Message" with your meesage and if you need to break lines use /n at the start of the new line
GmailApp.sendEmail(email, 'MPFC Schedule Assistant Bot',message);
}