r/GoogleAppsScript • u/1mthedudeman • Oct 29 '22
Question Ways to let users run script?
We have some scripts that do API calls to some external services. We would like to let certain groups of users access to look up things. What is best way to go about this? So far just adding a menu to google sheet where user can input the data they are trying to look up and running script from menu. Any other or better ways?
6
Upvotes
3
Oct 29 '22
Web app is one and pretty generic way to go. More details are needed to understand your architecture but some additional ways to solve your problem could be 1) passing in some values into your API logic to determine what type of users call those methods… 2) control sheet’s sharing/protection if they’re used as UI
6
u/marcnotmark925 Oct 29 '22
Build a frontend web app that accepts input and runs the script and displays the results.