This is a real noob question, so forgive me…
I want to call a script that will include user inputs. Whenever I try and do this from the automation interface, the code declaration errors.
I have found the script app in marketplace and can successfully run this fragment within the editor:
output.markdown(’# Hello, world!’);
let name = await input.textAsync(‘What is your name?’);
output.text(Welcome to the scripting app, ${name}.
);
My question is how do I call this from an automation or a button anywhere else?