I'm using php to write data into google sheets. However, the trigger onEdit function on google sheets isn't firing when the data is written from the php. Here's the piece of code I used to write down the data:
$body = new Google_Service_Sheets_ValueRange(array('values' => $resultArrayGen));
$params = array('valueInputOption' => $valueInputOption);
$range = 'Main!F2:K';
$result = $service->spreadsheets_values->update($spreadsheetId, $range, $body, $params);
Is there anyway to use google services sheets api to trigger the onEdit function in google spreadsheets?
Thanks