How to get the onEdit event to to be caught in a Google Apps Script when editing a spreasheet via api?
I have an apps script that captures the onEdit event when I edit a certain Google Spreadsheet cell manually, and applies various formatting changes based on the change. However, when I edit the same cell using the Google Drive API, the script doesn't seem to run. Is there some way to trigger an event via the api which can be caught by the apps script? Or some other solution for this? Publish as a web app: it is possible to trigger Google apps script code using a URL, i.e. from the Google apps script editor Menu->publish->Publish as web app. You can then pass the id of the cell as a parameter