Help

Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

How to run a script allowing user inputs

Topic Labels: Scripting extentions
348 2
cancel
Showing results for 
Search instead for 
Did you mean: 

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?

2 Replies 2

You can’t call apps, or have any user inputs, in an Automation.

Add a Button field to the appropriate table and set its action to “Run script”.

Thanks, I’ll try that