We're happy to announce that Apps Script Tasks be rolling out for all users in AppSheet this week! This will allow you to natively call Google Apps Script functions within your AppSheet automation workflows, enabling your apps to tightly integrate with over 30 Google Workspace apps and APIs like Drive, Calendar, Gmail, and even external services.
Example uses:
The feature will be rolling out to everyone this week (starting April 12th) and be available to all users later this week.
We would love for you to help us validate and give us feedback on:
Find code samples and our walkthrough video in our Help Center.
You can also click the button to open the Apps Script project in a new window, which will bring you to the Apps Script editor, to edit the script directly.
Please add comments/reply to this post!
We'd love to hear if you have any specific use cases in mind for Apps Script Tasks. If you have any other feedback, please share it in this thread as well!
There can be throttling if the overall execution load on the server is particularly high but this rarely happens. But I think when you bulk edit rows it'll run each Apps Script function sequentially and that's likely a bigger culprit for slowness. Assuming you don't need the return value, you can run the Apps Script task asynchronously (in the background) and that should reduce the overall runtime of a bulk edit like this.
Depending on what you're doing in the Apps Script function, there may be ways to optimize that as well particularly if network calls are used.
It might take a few minutes before the execution shows up in the performance monitor but that'll give you a breakdown of the time spent after the execution completes.