Stop copying payments into a spreadsheet by hand. When a customer pays you through GetPaidly on WhatsApp, the transaction lands in your Google Sheet on its own - date, customer, amount and status - ready for your accountant or your own reports.
/exec).function doPost(e) {
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheets()[0];
if (sheet.getLastRow() === 0) {
sheet.appendRow(['Time', 'Event', 'Customer', 'Amount', 'Status', 'Transaction ID']);
}
var body = JSON.parse(e.postData.contents);
var d = body.data || {};
sheet.appendRow([
body.timestamp || new Date().toISOString(),
body.event || '',
d.contact_name || d.name || '',
d.amount_paise != null ? (d.amount_paise / 100) : '',
d.status || '',
d.id || ''
]);
return ContentService.createTextOutput('ok');
}The first row becomes headers automatically. Each event adds a row with its time, type, customer, amount and status.
https://script.google.com/macros/s/AKfy.../execTick any of these when you connect. You can change them anytime.
Building your own software? The raw JSON and full REST API are in the API docs.
Open the API tab, pick this app, paste its URL. Two minutes.