Hi there !
I am trying to run a script (in javascript) automatically. The trigger in the google app script do not work but when I run my code manually it is correct.
Here the code :
function deleteRows() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var s = ss.getSheetByName('Feuille 1');
var r = s.getRange('A:A');
var v = r.getValues();
for(var i=v.length-1;i>=0;i--)
if(vf0,i]=='a')
s.deleteRow(i+1);
};
I have tried to use the “code by Zapier” action bu it does not work either. Here the error message I get :
Error: You did not define `output`! Try `output = {id: 1, hello: "world"};`
Does someone know if it is possible to code a google sheet code in the action code by zapier ? And why does it not work ?
Thank you all for your time :)