r/GoogleAppsScript • u/CloudNo8709 • Jun 08 '26
Question Is there a good Agent Skill for GAS?
What is your stack for working with GAS, especially when using clasp?
Which model and skills do you use?
r/GoogleAppsScript • u/CloudNo8709 • Jun 08 '26
What is your stack for working with GAS, especially when using clasp?
Which model and skills do you use?
r/GoogleAppsScript • u/vinjuang • Jun 09 '26
r/GoogleAppsScript • u/Individual-Most-2639 • Jun 05 '26
I have a client with Gchat Space...and he cant see my app. Also I dint publish it. Anyway to add it to hia Gchat space without publishing my app? Also will he need to allow external chat space or no?please help me out am new to this!
r/GoogleAppsScript • u/Pleasant_Poet_5596 • Jun 04 '26
Hey everyone,
My university inbox is constantly flooded with announcements for webinars, hackathons, and guest lectures. The problem is that they clutter everything up long after the registration deadlines or event dates have actually passed.
I wanted to automate cleaning this up without accidentally deleting actual coursework, so I wrote a script that connects to the Gemini 3.1 Flash Lite API to semantically evaluate and trash the expired stuff.
Here is how it works:
Utilities.sleep() to respect the free-tier Gemini API limits.TRUE, the script moves the thread to the Trash.Reviewed_For_Trash Gmail label to everything it checks so it never wastes API quota evaluating the same email twice.I have sanitized the code and put it in a Gist if anyone wants to copy it, adapt the prompt logic for their own workflow, or just see how the Apps Script + Gemini integration is structured:
đ Gmail-Sweeper
Would love to hear any feedback, or if anyone has tips on optimizing the prompt payload even further!
r/GoogleAppsScript • u/umamaheshb • Jun 04 '26
r/GoogleAppsScript • u/Plus-Quarter-1459 • Jun 03 '26
45 days ago, our small team launched AdminSheet Pro, a Google Sheets add-on that helps Google Workspace admins manage users, groups, members and aliases in bulk without relying on command-line tools.
Recently, we crossed 102,000 installs on the Google Workspace Marketplace. That number was exciting, but this is not really a victory lap. Installs are important, but installs are not the same as active users, loyal customers, or long-term revenue. We are very aware of that. Still, crossing 102,000 installs gave us enough data and experience to pause and reflect on what we did, what worked, what did not work as expected, and what we are still learning.
A lot of the work came down to doing things that do not scale, borrowing from Paul Grahamâs classic advice to early founders: at the beginning, you often have to do the manual, uncomfortable, repetitive work that cannot yet be automated.
Here are the main lessons we learnt.
1. AI helped us listen, but humans built the relationships
We created AI-assisted monitoring workflows to help us find relevant conversations around Google Workspace admin problems, Ok Goldy alternatives, GAM challenges, aliases, group clean-up and bulk user management. Their job was not to sell. Their job was to help us discover relevant conversations, questions and pain points across different online spaces.
But AI only helped us find the conversations. The real work was manual: visiting the source, reading the context, understanding the personâs problem, and deciding whether we had anything useful to contribute.
Sometimes the best response was not to mention AdminSheet Pro at all. Sometimes it was simply to explain a possible solution, share a lesson we had learnt, or point someone towards a helpful resource. In some cases, where it felt appropriate, we followed up privately to offer additional help.
The goal was not to shout âtry our toolâ everywhere. The goal was to be useful enough that people would trust us. AI can help you find the room. It cannot behave properly inside the room for you.
2. Your website is the hub, but discovery happens everywhere
We still believe the website should be the main home of the product. But we quickly learned that people discover tools through many other surfaces. Some find you through Google. Some through Reddit. Some through Medium. Some through Marketplace reviews. Some through community discussions. Some may see your content in AI summaries before they ever click your website.
So we started publishing in a few places, but not by copying and pasting the same content everywhere. A website article can be detailed. A Reddit post needs to be more conversational. A community reply should solve the immediate problem. A Medium article can be more reflective. This is tedious, but useful.
3. Google Alerts helped us listen, but did not magically create leads
We set up Google Alerts for our product name and for alternative tools in the space. This helped us notice relevant mentions and stay aware of conversations. But it did not suddenly bring a flood of customers.
The main value was that it forced us to build a listening habit. We started paying more attention to the language users used, the objections they had, and the tools they compared us with. For an early product, that kind of listening is useful even when it does not immediately convert.
4. Communities are powerful, but you must respect the room
We engaged in two Google-related communities where some of our target users were active. In one group, our outreach was mostly received well. Not many people replied, but the replies were generally warm. One partner tested the product, gave useful feedback and left a review.
In the other group, a similar approach was seen as solicitation. We were removed and warned not to continue. We apologised and stopped. That was an important lesson.
Every community has its own culture. What works in one group may be completely wrong in another. You cannot treat a community like a lead list just because your product may be useful to its members. You need to contribute first, respect the rules, and earn trust.
Another lesson: silence can feel discouraging, but it does not always mean wasted effort. Most people will not reply. Some are busy. Some are not ready. Some may remember the product later. Some messages only teach you which audience or channel is not worth more time. In early growth, non-replies are emotionally hard, but they are still data.
5. Reviews are digital word of mouth
For a Google Workspace tool, reviews matter a lot. Admins are careful people. They want to know that a tool works before installing something that requires admin permissions. So we started asking real users for honest reviews.
The best timing was after value had already been delivered. For us, that often meant users who had exhausted their free credits. These were not people who merely installed and forgot the tool. They had actually used it to complete bulk operations.
Admins are busy, but they are also deeply grateful when a tool saves them hours of manual data entry. Asking for feedback right after they experience that value worked much better than asking randomly. It also gave us product feedback. Some users told us what they liked, what confused them, and what they wanted next. Reviews were not just a marketing asset. They became a learning channel.
6. Attribution matters earlier than you think
Our first paid customer was easy to trace. We knew the conversation and the route that led to the sale. Our second paid customer was different. We could see the payment and some usage signals, but we were not fully sure whether they came from the Marketplace, Google Search, Reddit, an article, or a recommendation.
That bothered us because unexplained traction is hard to repeat. So we are now improving how we ask users where they found us. The lesson: do not wait until you have many customers before tracking attribution. Start early.
Final thought
Crossing 102,000 installs was encouraging, but installs are only the beginning. The real work is turning installs into active users, active users into feedback, feedback into product improvements, and product improvements into paying customers. The biggest lesson so far is that early growth still requires a lot of manual, repetitive, emotionally awkward work.
You write. You reply. You ask. You get ignored. You apologise when you get it wrong. You learn. You improve. You keep going. For now, we are still doing many things that do not scale.
r/GoogleAppsScript • u/7_Erik_7 • Jun 03 '26
I've created script in my personal account, that works as a Gmail add-on, then shared it with the work account.
From there I successfully deployed it through the "Test deployment" option and it worked for a few weeks, then disappered from my add-on list. Went to check the deployment and now I immediately get a generic error, asking to refresh. If ignored, the deployment window shows this "An error has occurred. Close the dialog box and try again. Reported error***:*** You do not have the required permission to perform this action. Check your access rights and try again."
I already checked with IT: no restrictions; we also explicitly gave all permissions to the add-on, but the error stays.
Unshare/share again didn't work, as well as copy/paste script in a new project then sharing.
If I copy/paste it directly in my work profile it works.
I want to manage only one version of the script AND from my personal account, what can I try?
r/GoogleAppsScript • u/OneLandscape1327 • Jun 03 '26
r/GoogleAppsScript • u/OneLandscape1327 • Jun 03 '26
I met a problem at google form filling, cause I want to send 1000000 times same answer to confuse my bro's research and then... however i found this, and in comment section a guy named emaguireiv answered the question by a URL changing method but you still need to go into a same link a 1000000 time so i code a bit.
in his part one you should find out a filled and submit link just replace it with
const url = " put fixed link here ";
let count = 0;
const total = 500;
async function run() {
for (let i = 0; i < total; i++) {
await fetch(url, { method: 'GET', mode: 'no-cors', credentials: 'include' });
count++;
if (count % 50 === 0) console.log(count + ' sent...');
await new Promise(r => setTimeout(r, 120));
}
console.log('Done! ' + count + ' sent.');
}
run();
console.log('Done! ' + count + ' sent in 5 minutes.');
}
run();and then just press enter and it fire 500 times in about a minute
hope you guys like it and sorry for bad grammar and poor English
r/GoogleAppsScript • u/BicycleLife9308 • Jun 02 '26
Is there a course for appscript that is project based like freecodecamp? The way they designed their course is suitable for me to learn better, can anyone recommend one
r/GoogleAppsScript • u/Tiny_Routine9866 • Jun 01 '26
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 • u/erickoledadevrel • Jun 01 '26
I maintain the Crop Sheet add-on and got alerted by a user that it wasnât loading correctly (only the âHelpâ option was in the add-on menu). I looked into it, and the script was failing with the following error:
Execution failed. The Rhino runtime is deprecated and no longer supported.
It looks like Google is finally ending support for the older Rhino runtime, and logging showed these errors started at 1AM ET this morning. Although I had updated the code to use the V8 runtime, I apparently hadnât republished it as an add-on. Creating a new deployment, updating the marketplace listing, and republishing it appears to have solved the problem.
If you maintain some add-ons or scripts it might be a good idea to check that they are all still working.
r/GoogleAppsScript • u/ProgrammerMinute1933 • May 27 '26
I'm trying to print the value of the MD5 hash out of a user input
I'm getting bytes array in return for using
const digest = Utilities.computeDigest(Utilities.DigestAlgorithm.MD5,'example',);
Logger.log(digest);
I tried multiple solutions but I cannot get the same hash as of using any other tool
any help here if there is any library or function to it ?

r/GoogleAppsScript • u/Rough_Order4127 • May 25 '26
I built this tool that beautifies your Apps Script, and even explains it to you. Apps Script Commenter. It also can clean your script, so it's easy to read

r/GoogleAppsScript • u/Rough_Echo2467 • May 24 '26
r/GoogleAppsScript • u/KumarDeo080 • May 23 '26
I made a starter template for building Google Apps Script projects with TypeScript and a modern workflow.
Features:
Functions exported from src/index.ts are automatically exposed and available to call directly from Google Apps Script.
Repository: https://github.com/kumardeo/google-apps-script-template
Would love feedback and suggestions from other GAS developers.
r/GoogleAppsScript • u/Negative-Sandwich190 • May 24 '26
Hello! I have been trying to figure out a way i can have sheets automatically extract certain info from gmails into a sheet with the Date, company name, Company City and the job position. I have over 2000 emails i need to be put into a google sheet. The emails would be from the same sender. any help is appreciated. I cant afford cloud HQ which was actually great. I do not understand any of this. I am not sure on how to even ask the right questions. Thank you for any assistance..
r/GoogleAppsScript • u/Individual_Push_5103 • May 21 '26
Hello all. I am trying to create a table where the time and date update automatically when certain fields are filled out. I have no idea what I am not understanding in this process. I got as far as:
I am struggling with combining these two together. I tried to enter it as one function into the correct box, but couldn't figure out the formatting.
I attempted to look at a 'creating' (copy/pasting) into the script editor, but I don't understand the language very well yet, so when I try to customize or apply it I can't tell if it's even working.
Any help would be appreciated. Thank you in advance.
r/GoogleAppsScript • u/Patient-Rate1941 • May 21 '26
Hello everyone,
Genuinely seeking some insights to get myself out of tough situations. I would really love to hear from the experts.
I have been developing system like projects with apps script - doing mostly web app deployment and with my job this has been mostly used to organize records, track data, report visualization and ensure we have a front end that links everything neatly.
Now, the thing is, as much as i love what I do, it's not something my current job is taking seriously despite all of that taking so much to develop. I would really like to have a side income that would allow me to eventually quit the current job.
To those who have sold apps script projects, what type of projects are those? How did you market it?
Really appreciate your time and responses.
r/GoogleAppsScript • u/lutzy89 • May 20 '26
TL:DR
Is there a faster way to run a function on a file iterator that will time out repeatedly before reaching the end? eg...
let 1000Files = DriveApp.searchFiles("title contains '" + sharedString + "'")
while (1000Files.hasNext()){ Â
someSpreadsheetFunction(1000Files.next())
}I have a heap of spreadsheets that are typically viewed anonymously or by someone with no permissions to run the script. if i had foresight years ago, there would be a weekly "check for updates" trigger built in to each.. but here we are.
the individual spreadsheet function takes anywhere from 20 seconds to 20+ minutes depending on the spreadsheet (luckily, the workspace account still has the old 30-minute timeout restriction), so the iterator is guaranteed to need to use the continuation token and the function will need to restart itself with a self perpetuating trigger, i know how to do that, and have been for a few years but it still takes hours or days to finish.
Is there some way to run this asynchronously?
My next plan is to have 12 seperate triggers all try to read from the same scriptProperties continuation token but only at their assigned "5 second window" in the minute to prevent a race condition. It should work as i've done it before with 3 running at once using a spreadsheet for tracking, but it seems like such a janky solution to a problem.
Alternatively is it possible to add a time based trigger to these spreadsheets as it would prevent the entire need for my question.
r/GoogleAppsScript • u/Roasted_Chicken_72 • May 20 '26
Hello all.
I'm hoping someone here can help me because I'm at my wit's end. Long story short, I created and maintain (keep running) a spreadsheet for work that we use to track our service/breakdown department's performance and SLA compliance. Rather than scroll all the way to the bottom of the sheet and manually drag formulae into the new row, I've created a script that inserts a new row and enters the formulae into the top of the sheet. I have the code entering the formulae, instead of copying it, because it works faster than having a script that copy-pastes only the formula into the new row. And my script works a treat, EXCEPT for whatever is happening in column O.
When I remove the code for O, it works just fine. But with the code for column O included it has a shart attack and won't proceed. I've tried moving the data in O to L and the same thing happens. The script works fine until it has to process THAT particular column, then it just stops. Again, removing O from the code makes it work 100%. The code for O and H is almost identical and for all intents and purposes it is, the maths in the formula is a little different is all. I have tried many different versions and functions but the result is the same. It stops at O. I have even tested O with using the SAME EXACT CODE from another work column and it still will not work.
Oddly enough though, a script that simply copy-pastes row 6 into the newly inserted row 5 WILL copy column O, but also all the manually entered data as well which I don't want.
I think I've explained myself well enough. Please ask any questions you may have. My script is below.

r/GoogleAppsScript • u/Apart-Pain1032 • May 18 '26
Iâve been experimenting with building a lightweight workflow engine around Google Forms using Apps Script.
Architecture currently includes:
Supports notifications through Slack, Teams, Discord, Telegram, WhatsApp, email, etc.
One interesting challenge was preventing quota-spam loops from repeated failures, so I implemented lifetime error rate-limiting using UserProperties.
I eventually packaged the workflows into a Workspace add-on called Zeto Form Notification & Alerts.
Curious how others here handle reliability/error-management patterns in Apps Script automation systems.
https://workspace.google.com/marketplace/app/zeto_form_notification_alerts/337805058153?flow_type=2
r/GoogleAppsScript • u/Happytrees-123 • May 18 '26
I just found out about google's apps script today, so I'm starting simple. I was able to find the number of cols and rows, which I simply printed to the console.
So then I tried a simple loop to print the sheet, but it's acting like I'm using the wrong parameters for getRange().
Error: The parameters (number,number,number,number) don't match the method signature for SpreadsheetApp.Spreadsheet.getRange.
function myFunction() {
 const sheet = SpreadsheetApp.openById("theSecretID");
 const rowToRead = 1; // Example: Read the first row
 const numCols = sheet.getLastColumn();
 const numRows = sheet.getLastRow();
 //  getRange(row, column, numRows, numColumns)
 //const range = sheet.getRange("A1:O1",);
 //const values = range.getValues(); // Returns a 2D array: [[val1, val2, ...]]
Â
 //const rowData = values[0]; // Access the first (and only) inner array
 for (i = 1; i<numRows+1; i++) {
  let range = sheet.getRange(i, 1, 1, numCols);
  let values = range.getvalues();
  let rowData = values[0]
  Logger.log(rowData);
 }
}I looked up the syntax of getRange(), and it accepts numbers, so what am I doing wrong?
Thanks! :)
r/GoogleAppsScript • u/Royal-Method-9965 • May 17 '26
Hey r/GoogleAppsScript,
I'm a Polish attorney running a small law firm (team of 7-8 people). Two years ago I started building a DMS (document management system) directly in Apps Script + Sheets because every commercial option was either too expensive (Clio: $109/user/month, even Polish alternatives are ~$50/seat) or didn't fit my Polish legal workflow.
Honestly â most commercial legal software feels like it was designed by engineers who never sat with an attorney during a deposition.
Today I open-sourced it: https://github.com/apiotrowski-afk/kancelaria-dms
The stack is shamelessly basic:
What it actually does:
Stuff I learned the hard way:
CacheService is your friend â without it, the dashboard was unbearably slowresponse_mime_type: "application/json") saved me ~80% of parsing logiccreateFolder callsHeads up on scope: This is built for EU (specifically Polish) legal workflows â case numbering, court hierarchy, Polish Post integration, GDPR-flavored data handling. Adapting it to US/UK law firms or other jurisdictions would need real work. That said, the architecture is generic enough that any small business running on Google Workspace and dealing with documents could fork it as a starting point.
A note on the code: I'm an attorney, not a professional developer. I use AI assistants heavily for syntax and implementation, but every architectural decision, every piece of domain logic, every integration pattern is mine. After 2 years of running this in production on real client data, I know exactly what each function does and why. The code isn't elegant by senior-dev standards, but it works and it's been battle-tested.
Why open source: Built it for myself, but if it helps another lawyer/dev who needs a starting point for a Workspace-native business app, even better. Apache 2.0 license, fork it, butcher it, ignore it â your call.
Happy to answer questions about Apps Script production gotchas, Gemini integration patterns, or why I think Sheets-as-database is actually fine for small businesses (until it isn't).