Run function when new row added to specific sheet

Viewed 30

I have created a function called emailFuelAsEmailAuto(), which will send an email when manually run in Apps Script for a Google Sheet.

I am looking for a way to trigger this function whenever a new row is added to that specific sheet, called "Fuel".

From what I can tell so far, my best bet is to use the onChange() function somehow with the INSERT_ROW condition. I'm just not sure where to start.

0 Answers
Related