Unfortunately, as a new user I am not allowed to comment. This is why I need to do a new post regarding to this topic: Insert current date to cell based on content in other cell
This is my code in Google Sheets Script:
function onEdit(e) {
if (e.range.getSheet().getSheetName() == 'Tabellenblatt1' && e.range.getColumn() == 1) {
e.range.offset(0,1).setValue(new Date());
}
}
It works perfectly when I enter data in cell 1 manually, but when data is added via API (in this case when data is added via Zapier) it does not work.
Anybody can give me a hint why?
Best Answer
The edit triggers, simple and installable, are triggered by changes directly done by the user while having the spreadsheet open in a web browser.
Similar Q&A
Reference