API - Google Sheets - Sending lead data to Google Sheets
Step-by-step guide on how to send data from SprintHub to a Google Sheets spreadsheet.
SCRIPT FOR THE APPSCRIPT
function doPost(e) {
var sheet = SpreadsheetApp.openById("YOUR_SPREADSHEET_ID").getSheetByName("Sheet1");
var data = JSON.parse(e.postData.contents);
sheet.appendRow(data.values[0]);
return ContentService.createTextOutput("Success").setMimeType(ContentService.MimeType.JSON);
}JSON TO SEND DATA FROM SPRINTHUB
Last updated
Was this helpful?