r/GoogleAppsScript • • Jun 19 '24

Resolved Google sheets, new table feature

9 Upvotes

Does anyone know how to retrieve the data from a table based on the new table feature in Sheets?

Since the tables aren't NamedRanges sheet.getRangeByName('tblTest[#ALL]') can't be used.
Any ideas on how to retrieve the range of a table using it's name?


r/GoogleAppsScript • • Jun 11 '24

Guide Apps Script now listed on Google Workspace Status Dashboard

Thumbnail google.com
9 Upvotes

r/GoogleAppsScript • • Jun 22 '22

Question "This version of the Apps Script editor will be completely turned off by September 2022."

9 Upvotes

Well, looks like it's finally happening. Except they still haven't implemented script properties into the new editor, from what I can tell.

What's the workaround here? This is unacceptable, as it's currently the only way to have a globally accessible stored variable. I have a bunch of scripts dependent upon this

Edit: wait nvm I think I see them in the new editor now 😐


r/GoogleAppsScript • • May 21 '21

Question Is there really no way of collaborating with app scripts?

9 Upvotes

I am a beginner with app scripts. I am working with a team of 5 , on aproject which basically is about making an add-on for spreadsheets.

Is there anyway with which a team can effectively work on a piece of code together, avoiding script overwriting? Similar to github Or something.

Thanks


r/GoogleAppsScript • • Feb 09 '21

Guide Update on 6 hours/day "Triggers total runtime" quota

9 Upvotes

Yesterday, I asked this sub about the Apps Script quotas, and how you guys deal with some of them.

Since there seems to be some confusion, I've done some "research" myself. Here's what I learned.

The "Triggers total runtime" quota

There's a limit for "triggers total runtime" that says 90 min/day and 6 hours/day for standard consumer accounts and workspace accounts respectively.

I thought this meant that the total cumulative runtime of an account's scripts could not be bigger than this quota.

This is not true. I don't know what this quota is exactly, but I can confirm that it's not the total runtime of scripts.

I set up a script that does nothing but loop over an array of 7k rows, does some random calculations and then prints data to each cell with a getrange().setvalue() script. I set this script to trigger every minute of the day, and it prints the total runtime of each run in a sheet.

  • Yesterday's total cumulative runtime of this script was 7 hours.

  • Today's total runtime is already 8 hours, and it's still going strong every minute.

Funnily, I'm running these scripts from my personal account (@gmail account), so the 90 minutes/day limit would apply.

The runtime of the script varied massively

I was surprised at the big differences in the runtime of the script. Since I started the time-based trigger, the script has run 1,383 times. Some statistics:

  • Average runtime = 39 seconds

  • Minimum runtime = 17 seconds

  • Maximum runtime = 305 seconds (!)

Here's a histogram of the runtimes.

That's a lot of variation to me! It's good to be aware of this, as I'm building a SaaS MVP with Google Apps Scripts, so if functions can sometimes take 5 times longer to finish, that's something to be aware of.

Next step

I want to test the 6-minute script runtime next. I'll just increase the array of dummy data. :)

This 6-minute limit doesn't have any implications on my functions, methods and ideas, but I'm still curious to see. I am already surprised that there's no apparent total cumulative runtime limit for my scripts, which makes me wonder what the 6-hours/day limit really means...?

What are your thoughts?


r/GoogleAppsScript • • Nov 08 '20

Question How to add sleep recorded in Google Fit to Google Calendar?

9 Upvotes

r/GoogleAppsScript • • Jan 23 '19

Deploy Google Apps Script web app as an Android application

Thumbnail
kutil.org
9 Upvotes

r/GoogleAppsScript • • Jul 21 '18

Google Apps Script Tutorials

9 Upvotes

Hey all,

I have been using apps script with google sheets for awhile now and have learned a lot along the way. I recently began sharing this information on medium with brief tutorials. If you’re interested check it out here: https://medium.com/p/4316b70011bc?source=linkShare-23ba80a799d5-1532144954

Anyone have suggestions for a good subject for future articles? I have about 10 in the pipeline but would like to continue expanding!

Thanks!


r/GoogleAppsScript • • Aug 03 '26

Question Is Google Apps Script the right foundation for a full collision repair management system?

8 Upvotes

Hi everyone,

I own a collision repair center in Quebec, and I’m currently developing an internal repair management system within the Google ecosystem.

I initially started with Google Apps Script because our company already uses Google Workspace, including Sheets, Drive, Gmail, Calendar, and Forms. Apps Script has allowed me to build working prototypes quickly, but I’m now wondering whether it is the right long-term foundation or whether I should move the main application to Google Cloud.

The system would eventually need to manage:

Customers, vehicles, and repair orders
Importing estimate data from CEICA EMS files
Repair scheduling and production status
Technician clock-in and clock-out
Technician photo and video uploads
Photo annotations
Repair planning and supplement notifications
Parts receiving, returns, and tracking
Quality-control checklists for each department
Customer SMS and email updates
PDF estimate comparison
Customer portal access
QuickBooks integration
Insurance company-specific procedures and checklists
Approximately 15–30 internal users initially
Potentially multiple repair shops in the future

My current idea is:
Apps Script web app for the user interface and Google Workspace integrations

Google Cloud SQL as the primary database
Cloud Run or Cloud Functions for heavier processing
Google Drive for photos and documents

Apps Script only for Workspace-specific automations
My main concerns with using Apps Script for the entire application are:

Execution-time and quota limitations
Performance when loading larger amounts of data
Simultaneous users and concurrency
Database
Maintaining a large Apps Script codebase

For people who have built larger business applications with Apps Script, where did you encounter its practical limits? What architecture would you choose if starting this type of project today?

Thanks for any advice or examples you can share.


r/GoogleAppsScript • • Jun 21 '26

Question sending emails to a person based on deadline

Post image
8 Upvotes

basically what i want to do with the apps script is that:

if it sees a value in the "time until deadline" column that is less than or equal to 2 days, it will look for the person in charge of the soon-to-be-due task, then use that to look for their email, and then send an email to them.

can somebody help me? thanksss


r/GoogleAppsScript • • Jun 01 '26

Question App script Security

8 Upvotes

I need help or suggestions, how to handle the security in my app script web app its using google sheets as database: right now I'm figuring it out, how to make it secure and not let any users know where the code is. My current dashboard is not link to any sheets instead it calls the sheet id for the main source sheet ,

so even if users have access to one of the data backend they will not find the app script on that sheet extensions. Now I want to restrict some access or views how can i do that?

Right now I have currently have a Login , Admin and User would that be enough to be secure? also users need to have edit access on the database sheets since they need to update the activity log or the tracker status. sorry english it not my first language

any suggestions how to approach this ??


r/GoogleAppsScript • • May 06 '26

Question Syncing Google Apps Script with GitHub repo (auto-deploy on push?)

8 Upvotes

Hey y'all,

Is there a clean way to keep a Google Apps Script project in sync with a GitHub repo, so that on every push/commit the latest code is automatically deployed to Apps Script?

Ideally looking for something CI/CD-like (e.g. via GitHub Actions or similar), rather than manually pulling/pushing with clasp.

Curious how people are handling version control + deployment flows here. Any best practices or setups would be super helpful.

Thanks!


r/GoogleAppsScript • • Apr 20 '26

Question OCR automation to google sheets

8 Upvotes

To start with, I am not someone who has studied about writing scripts. However, I have a few scripts that are currently being used, courtesy of being written by chatgpt, I know, it has a lot of errors and I had to do a lot of back and forth to get a working script.

What I currently need is something that can read the names and numbers from a set of images and automatically enter it into Google sheet rows and columns. For example, team members and their weekly performance numbers. What I need the script to do is take the names and numbers from the images, let OCR do it's thing, match the names and enter their respective numbers for the current week.

I just want to understand whether this is actually possible to be done or chatgpt is taking me on a hallucination spree? I am sorry in advance if the use of ai is a taboo or something to write scripts.

Edit: Currently the scripts that I have running can be considered basic. From the top of my head,

1: Google form that keeps a record of a respondents answers. The script basically takes the responses and forwards it over an app while tagging us.

2: A drop-down row for each response that sends out a template email depending on the drop-down that is selected.

Edit 2: I have been able to get this working using gemini flash lite 3.1 and flash 2.5 as a backup option when it faces rate limits. Getting a handful of 503 service errors rn but I guess that is just something I'll have to deal with on this free service. The world of api has really surprised me. A few years ago I would never think all this could be automated with scripts. This place is a gold mine


r/GoogleAppsScript • • Apr 17 '26

Question Forms in GAS

Post image
8 Upvotes

I've been working on a project for myself (hobby). I'm no coder of any sort. I'm fully dependent on AI for coding and stuff.

I'm struggling with a problem related to forms in my project, where the form is not completely visible in my display. It is partially visible and the remaining part has to be scrolled. I want my forms to display fully without any scrolling.

I'd appreciate any feedback or guidance from your end. I've attached a screenshot and the code for reference.

https://docs.google.com/document/d/1R8b3fFxCY-8XiAXdw2pU-RCUIQYiYlLETIlALXNVdHA/edit?usp=sharing


r/GoogleAppsScript • • Mar 10 '26

Question For those who have published Google Workspace add-ons - how did you approach monetization?

8 Upvotes

I’ve been building a Google Forms add-on using Apps Script and recently published it on the Workspace Marketplace.

It translates forms into other languages and combines responses from different language versions into a single sheet.

The add-on has been free so far and has reached ~880 installs organically.

While looking at other add-ons in the Marketplace, I noticed most of them use one of these models:

  • Freemium (limited usage, paid for unlimited)

  • Monthly subscription ($5–$10/month)

  • One-time license

Some competitors seem to charge even with fairly basic features, which made me wonder when it makes sense to introduce pricing.

For those who have built Workspace add-ons or Apps Script tools:

  • When did you introduce pricing?

  • Did you go with freemium or subscription?

  • Did installs drop after monetization?

Would love to hear how others approached this.


r/GoogleAppsScript • • Feb 21 '26

Question How do I get started?

8 Upvotes

I have experience coding but I can't find any good places to actually learn google apps script? is there a book I can read or a series I can watch that'll catch me up to the basics and then I can just read documentation or...? Also I don't know any javascript.


r/GoogleAppsScript • • Dec 27 '25

Question I develop google editor addons with react and a modern tech stack, what about you?

8 Upvotes

After building multiple Google Workspace add-ons, I stopped relying on Apps Script alone and moved to a hybrid architecture that scales better for real products.

Here’s the setup I use today:

Architecture

  • Apps Script is kept minimal

    • Only handles entry points, editor integration, and OAuth

  • The actual app lives outside Google:

    • React frontend

    • External backend (API, auth, billing, DB)

    • Apps Script acts as a thin bridge while supporting specific features when required like sheet custom functions.

Why this works

  • You’re not limited by Apps Script runtime or tooling

  • You can use real frontend frameworks (React, Tailwind, etc.)

  • Backend logic is testable, scalable, and not tied to GAS quirks

  • Much easier to add things like subscriptions, user accounts, and analytics

Tradeoffs

  • More moving parts than pure Apps Script

  • Requires proper deployment and infra

  • Slightly higher initial complexity, but much lower long-term pain

This approach has worked well for add-ons that go beyond simple utilities and need to behave like real SaaS products.

I wrote a short technical overview of the full flow here:
https://www.shipaddons.com/docs/quick-overview

Do you do anything similar?


r/GoogleAppsScript • • Dec 02 '25

Guide ReaSheets: A component-based table layout library for Google Apps Script

8 Upvotes

I got tired of writing spaghetti code every time I needed to build a complex layout in Google Sheets with Apps Script. So I built ReaSheets - a declarative, component-based library that lets you compose sheet layouts like you would in React.

The problem:

// Traditional approach - tracking positions manually, nightmare to maintain
sheet.getRange(1, 1, 1, 4).merge().setValue("Header").setBackground("#4a86e8");
sheet.getRange(2, 1).setValue("Name");
sheet.getRange(2, 2).setValue("Status");
// ... 50 more lines of this

The ReaSheets way:

const layout = new VStack({
  children: [
    new HStack({
      style: new Style({ backgroundColor: "#4a86e8", font: { bold: true } }),
      children: [
        new Cell({ type: new Text("Dashboard"), colSpan: 4 })
      ]
    }),
    new HStack({
      children: [
        new Cell({ type: new Text("Revenue:") }),
        new Cell({ type: new NumberCell(15000, NumberFormats.CURRENCY) }),
        new Cell({ type: new Dropdown({ values: ["Active", "Paused"] }) })
      ]
    })
  ]
});


render(layout, sheet);

Key features:

  • VStack/HStack: for vertical/horizontal layouts

  • Automatic collision handling: no manual position tracking

  • Style inheritance: parent styles cascade to children

  • Built-in types: Text, NumberCell, Checkbox, Dropdown (with conditional formatting), DatePicker

  • Batched API calls: renders efficiently in one pass

The library handles all the messy stuff: cell merging, position calculations, style merging, and batches everything into minimal API calls for performance.

GitHub: https://github.com/eFr1m/ReaSheet

Would love feedback! What features would make this more useful for your Sheets projects?


r/GoogleAppsScript • • Sep 22 '25

Question Here it is

Post image
8 Upvotes

I use windsurf and Gemini, so the AI has integrated a script in the CODE.gs file, and it automatically generate a gogle sheet by Executing the SETUPSHEET, but not every google sheet data seems to fetch to the web app.

Precisely , it is an e-commerce store, but the ''Products'' do not display on he web app.


r/GoogleAppsScript • • Sep 11 '25

Question First time using AppScripts… am I crazy!?

8 Upvotes

I work in QA for sales where we deal with audit escalations that need to be addressed. Sales team asked me to come up with a solution to stay organized, manage emails and disciplinary notes and what not, and I just gotta ask… am I crazy for this huge workflow I made with AppScripts??

I put together a google sheet that pulls emails from one of my labels and it only pulls specific information and puts it into an all escalations tab.

I then created 14 different manager tabs and an agent disciplinary sheet (separate sheet) where it matches the agents email / name to the manager and any past disciplinary notes.

The code pulls the info from that disciplinary sheet and matches it to the agent name listed in each individual email I receive (the emails are escalation emails with what the agent did wrong in the audit)

It then filters it into the individual manager tabs, and creates five extra columns that the managers have access to type in.

I also made a manager notes storage tab and so every time a manager adds notes / uses the drop down options added, it stores their work so when the trigger to pull more emails into the sheet runs, it keeps the notes there and they don’t disappear on refresh.

So far it’s working.

But it’s been quite the headache and I am not a developer. My knowledge before this came from tumblr and MySpace coding. And while I am so proud of this thing I made and have spent weeks and hours doing nothing but putting this together, I can’t help but wonder if this is …. I don’t know, gonna blow up in my face?

I didn’t know AppScripts was a thing until a few weeks ago and while I have been watching it all day and can confirm it’s working and the manager notes are staying and emails are being pulled in, I am curious what sort of issues could come up!?

Maybe I am just searching for validation, I don’t know! But no one at my company (that I work directly with) knew of this feature either so it’s kind of like the blind leading the blind here and im afraid it will just blow up one day 😅

Any assurance or tips would be great!


r/GoogleAppsScript • • Jul 28 '25

Question I’m building a tool to quickly note insights and track follow ups during business review meetings

8 Upvotes

I've been tinkering with a Google Sheets add-on that lets you attach notes, assignees, and action items directly to individual metric cells.

It came from a pain point I saw in weekly business reviews: metrics live in dashboards, but decisions and follow-ups get lost in Slack or docs.

Curious to know:

  1. Does this seem like a useful workflow?

  2. Anything you’d have done differently if you were scripting it?


r/GoogleAppsScript • • Jun 23 '25

Question Is there a way to increase timeout for more than 6 minutes?

8 Upvotes

We’re using Google Workspace. I’ve read somewhere that’s it’s 30 minutes, but no documentation supporting it.

Edit: I meant script runtime.


r/GoogleAppsScript • • Jun 11 '25

Guide Google Workspace MCP Server for Workspace Developers

8 Upvotes

r/GoogleAppsScript • • Jun 02 '25

Question What web apps have you created via GAS for enterprise use?

8 Upvotes

I just need some ideas or ways to imagine what companies would use GAS for