Nov 03, 2020 06:11 AM
Hello,
I try to test scripting but i have a generic error that really doesnt help me to find the solution :slightly_smiling_face:
“There was an unexpected error while executing your script.”
let table = base.getTable("Max");
let queryResult = await table.selectRecordsAsync();
let record = queryResult.records[0];
console.log(record.getCellValueAsString("Rue"));
My goal is to have a trigger where i get the new row & do several things
Nov 03, 2020 07:33 AM
Welcome to the Airtable community!
Can you post a screen shot of your script?
Are you running the script in Scripting App or as an automation?
Do you have a table named “Max”?
Does that table have a field named “Rue”?
Are there records in the table?
Nov 04, 2020 02:44 AM
Hello kuovonne,
Thank you for your response. I finally use the variable in “input”, so far it works.
I have an other question, i have to plug quickbooks & airtable. quickbooks use Oauth2 so i need to let the user log himself and get back to airtable.
Is it possible using a trigger ?
Thanks