You can refer to our Scripting Documentation to see which functions are available in the scripting app vs. automations scripting (functions that are only available in one or the other will have a badge saying “App only” or “Automations only” in that documentation).
ouput.text isn’t available in automations scripting, since there is no output displayed in an automations script like there is in scripting app. In an automations script, you can use output.set to pass values from your script to subsequent action steps in your automation, or you can use console.log statements to print other values in the automation run log.
As for recordAsync – there is no recordAsync function in Airtable scripting, but the functions selectRecordsAsync, createRecordAsync, updateRecordAsync, etc. are all available in automations scripting.
Thanks for the reply, I was actually puzzled about this, because I totally missed the little tag that specified if it’s app/automation specific. Actually, I don’t even know what the difference is between an app vs. an automation, so that lead to a lot of confusion with these docs (why is this object not being recognized?)
It would also be great to have examples delineated as app-specific or automation-specific, to see what the best approaches are for both.