r/GoogleAppsScript • • Oct 15 '25

Resolved Showcase of my open-source administration utility, primarily designed around gaming communities but has a very flexible and strong configuration, 3,000 lines within code.gs and 10,000 overall.

Thumbnail
gallery
7 Upvotes

Discord audit logs,
Automated spreadsheet operations,
LOA management and automatic expiration,
Custom fields and rule enforcements for your custom fields.
Access management (automatically adding / removing),
Designed to save time.

I currently have it deployed in 2 communities, about 350 people managed through the interface.

Screenshots don't do it justice, I've perfected the UI / UX side of things to my liking, a very intuitive interface.
I got a few TODOs to do before releasing on GitHub so if you want to view the source code send me a message and I'll link the GAS project link!


r/GoogleAppsScript • • Oct 12 '25

Question Why does my Google Apps Script web app only work for me (owner) and not for external users?

7 Upvotes

Hey everyone,

I’m building several web apps with Google Apps Script — basically AI chatbots for different clients. Each one is deployed as a web app.

Here’s my issue:

  • The web app works perfectly for me (the owner).

  • But when someone else (outside my Google Workspace domain) opens the link, they get an error like “The file cannot be opened right now” or a permissions/login screen.

  • I’ve already tried all combinations under Deploy → Web app → Who has access, including:

    • Execute as: Me (owner)

    • Who has access: Anyone / Anyone with Google account

  • The OAuth consent screen is External and In production.

  • The app works fine on my phone in Safari/Chrome, but sometimes not on desktop or when multiple Google accounts are logged in.

Basically, I just want external users (my clients) to open the web app link and use it — without asking them to go incognito every time.

Is there any permanent setup or trick to make Apps Script web apps reliably accessible to users outside the domain?
And, do I need to create and publish a separate web app for each client, or can I reuse one app for all (with different data behind it)?


r/GoogleAppsScript • • Sep 14 '25

Guide Google Docs add-on to handle multilingual glossaries (client project)

7 Upvotes

Just wrapped up a pretty interesting client project that gave me a chance to dive deep into Google Apps Script again.

The core idea a translator tool that scans a Google Doc for English terms, looks them up in a client-specific glossary stored in Sheets, and then surfaces the translations.

The fun/challenging parts:

-> Handling multiple clients, each with their own glossary files.
-> Dealing with batch processing and Apps Script timeouts.
-> Making sure the add-on stays smooth and scalable.

It took some trial and error and a lot of patience with Apps Script limits, but the final result runs buttery smooth. (Not really 😅)

I’ve been doing automation and web-based tooling for ~3 years, and this one reminded me how much you can squeeze out of Google’s ecosystem if you know the quirks. I'm curious has anyone else tried tackling multi-client workflows in Apps Script?

Would love to hear how you approached it.


r/GoogleAppsScript • • Aug 11 '25

Guide I made a free script to create a public "Busy" calendar from all my private calendars

7 Upvotes

Hey everyone,

Like a lot of you, I'm juggling multiple calendars for work, personal life, and my classes. It was impossible to let friends know when I was free without either manually updating a fourth calendar, sharing calendars with private info, or sharing my appointment booking link, which wasn't nice in an informal context.

I wanted a "set it and forget it" solution, so I wrote a Google Apps Script that automatically:

  • Pulls events from all of my source calendars.

  • Creates a generic "Busy" event on a new, separate "Availability" calendar.

  • Automatically deletes the "Busy" event if the original event is deleted.

  • Is smart enough to ignore events you create manually on the "Availability" calendar.

Now I can just share one calendar with my friends that shows when I'm unavailable without them seeing any of the actual event details.

It's completely free and open-source. I've documented everything so you can set it up for yourself in about 10 minutes.

GitHub Link: https://github.com/agopalareddy/GoogleCalendarSync

I'd love to hear what you think and get any feedback you might have!


r/GoogleAppsScript • • Jun 18 '25

Question Sync Google sheets with Google Calendar

7 Upvotes

Hey. I am trying out a pet project where in i am feeding the google sheets data from google forms . As a next step , i want that data to be displayed as an event in the calendar. Is it possible to do this? Also the sheets would be updated continuously and would need this to trigger the event creation for every new row. For example , i have the dates at each row which is a bday. I would like to prompt a message on one perticular calendar that its “name’s” bday every year. Thanks


r/GoogleAppsScript • • May 17 '25

Question Is there an MCP for Google App Script for AI?

7 Upvotes

Since there's so little GAS code out there and GAS libraries, is there an MCP I could use to get unstuck?


r/GoogleAppsScript • • Mar 18 '25

Guide How I Used ChatGPT & AppsScript to Automate File Indexing in Google Drive (With Zero Coding Experience)

7 Upvotes

Automated File Indexing System with Google Apps Script

I run operations for a design-build firm specializing in high-end custom homes. Managing construction documents has been a nightmare—contracts, invoices, plans, RFIs, regulatory docs, etc. all need to be properly filed, and files often have overlapping cost codes. Manually sorting everything in Google Drive was inefficient & became a point of contention between project managers, so with zero coding experience and the help of ChatGPT I built a Google Apps Script-powered Auto File Indexing System to streamline the process.

What It Does

  • Pulls files from an "Auto File" inbox folder in Google Drive

  • Extracts Project, Cost Codes, Document Type, Vendor, Description, and Date from the filename

  • Moves the source file to the appropriate Document Type folder within the project

  • Creates shortcuts in multiple Cost Code folders for cross-referencing

  • Logs everything in a Google Sheet, including file locations, shortcut paths, cost codes, vendor name, etc.

How It Works

  • The script parses filenames formatted as (there is some flexibility here!):

    • `Project_CostCode(s)_DocumentType_Vendor_Description_Date`

      • (If a file applies to multiple cost codes, they’re separated with underscores.)

  • It matches cost codes to the correct folders (e.g., 011101 → 01 11 01 Architectural).

  • If the project name is an alias, it converts it to the full name. (e.g., RC, Cabin, or 1002 --> Rancho Cabin)

  • It moves the file to the appropriate project, document type source file folder, and creates shortcuts in relevant cost code folders.

  • It logs everything into a Google Sheet, making it easy to track files, confirm filing and shortcut locations.

Why I Built This

  • No more manual filing

  • Consistency between project managers

  • Auto filing in multiple locations

  • Easy cross-referencing of files across multiple cost codes

  • Keeps everything logged in Google Sheets for tracking

If anyone’s interested, I’m happy to share some of the code or walk through how it works. Curious if others are doing something similar with Google Apps Script or what other cool ideas y'all have to improve productivity & efficiency in a small business.


r/GoogleAppsScript • • Mar 16 '25

Guide Automate Google Sheets Reports to Slack with Image Conversion

7 Upvotes

I’ve developed a Google Apps Script that automates the process of exporting a Google Sheet to a PDF, converting it to PNG, and sending it to a Slack channel. This solution ensures that reports are consistently delivered without manual effort.

Key Features:

  • Automatically exports a Google Sheet as a PDF

  • Converts the PDF to PNG for better preview in Slack

  • Uploads the image directly to a Slack channel

  • Utilizes Cloudmersive's 800 free API calls per month for conversion

  • Fully open-source and customizable

🔗 GitHub Repository: https://github.com/birhman/Sheet_to_PNG.git

How It Works:

  1. Install the script in Google Apps Script

  2. Configure your Google Sheet ID, Cloudmersive API key, and Slack bot token

  3. Set a time-based trigger to run it automatically

  4. Slack receives the latest reports without manual intervention

This project is designed for teams that need automated report sharing without complex setups. Feedback and contributions are welcome.


r/GoogleAppsScript • • Dec 22 '24

Question I use GAS for webhooks between gmail and google calendar for me personally. What else, what other more advanced stuff can I use it for?

7 Upvotes

Can you name some examples?


r/GoogleAppsScript • • Nov 13 '24

Guide Trying to learn app script- is it worth it

7 Upvotes

So I'm trying to learn app script but wondering is it worth it?

I saw it's application in G-sheets. Does it have other applications as well. And also is there any way to earn money with it.

If you have any good tutorial for learning it pls recommend


r/GoogleAppsScript • • Oct 16 '24

Guide My new answer in Stack Overflow to an old question: how to unit test google apps scripts?

Thumbnail
stackoverflow.com
7 Upvotes

r/GoogleAppsScript • • Oct 02 '24

Question How important is familiarity with JavaScript to get started?

7 Upvotes

I am trying to figure out how much time even learning to automate simpler tasks might take. I have some coding experience with C++ and R, and I am very familiar with the functions of Google Sheet -- just no experience with JavaScript.

Is it possible to learn as you go with Google App Scripts with easy projects? Or does the learning JavaScript have to be more front loaded?


r/GoogleAppsScript • • Sep 06 '24

Question My Scripts just vanished.

7 Upvotes

I have three scripts that I use to automate a spreadsheet process. They're not attached to any particular spreadsheet because the spreadsheet can change. I have a simple web interface and an HTML page. Anyway, today Google is reporting, "Sorry, the file you have requested does not exist."

Poof. Vanished. Both the source code and the deployed link. They were working within the week.

Any tips for who I might talk to at Google to get them back? And how to reach such a person?

Thanks.


r/GoogleAppsScript • • Aug 27 '24

Unresolved Google App Scripts Fail on Docs with an eSignature (Please report if you get this too)

7 Upvotes

Hi All,

I discovered today that Google have released eSignatures for Google Workspace, which is great.

However, I noticed an issue today that Google Apps Scripts fail whenever trying to access any google doc that has eSignatures enabled with this error:

4:32:57 PM Error
Exception: Unexpected error while getting the method or property openById on object DocumentApp
(anonymous) @ Code.gs:91
scriptname @ Code.gs:63

I've found deleting the eSig fields fixes the problem, but it does mean, unfortunately, that this restricts our ability to programmatically duplicate google docs templates for contracts.

Posting as this is a recent update that isn't well documented, so it's a trap many could fall into. Having on Redding makes it easier to find via a Google search.

Here is the Google Issue Tracker record for this bug, click the "+1" button at the top of the page for it if you are impacted so that Google can see it's a common problem that needs a resolution!
https://issuetracker.google.com/issues/356649898

Please let me know if you are also impacted and the use case in the comments :-)


r/GoogleAppsScript • • Jun 25 '24

Question Is there a market for Google App Script web apps and automated templates?

7 Upvotes

Good morning AppScripters!
My name is Andy from Argentina, I recently found this amazing community and felt to contribute and ask the next question:

Considering the diverse locations we all come from, I'm curious to know if there's a demand for Google App Script web apps and automated templates in your respective markets?

I'm trying to start my own business helping companies to automate processes with Google App Script, whether using web Apps or Automated tasks and it has been a really find people . companies interested in investing money to improve the way how they work.

Thanks!


r/GoogleAppsScript • • May 30 '24

Guide YOU CAN MAKE FOLDERS?!

7 Upvotes

***EDIT: As mentioned in the comments below, this only works with the AppsScript Color extension***

For so long I have toiled over naming and renaming my script and HTML files to try to help organize my scripts. Today, however, I added a slash to the name of a new script file ("not used / parking lot") which, to my surprise (and delight) created a script file called "parking lot" inside a FOLDER called "not used". I then added another script file called "not used / stuff", which added "stuff" to the "not used" folder:

I don't know if this is a new addition but I'm posting it here in case it can help someone out in the future!


r/GoogleAppsScript • • Mar 15 '24

Question Using React Router with React Google Apps Script boilerplate

7 Upvotes

Hey, I was researching a lot and saw on a reddit post somewhere that it is possible to configure project's webpack (https://github.com/enuchi/React-Google-Apps-Script) to use React Router but I have no idea where to start can somebody give me guidance?
Also, I think that it is really possible, because using Parcel it is possible.


r/GoogleAppsScript • • Mar 01 '24

Question Thoughts on the current best stack for simple small business apps

7 Upvotes

Hello! I have been building simple apps with Apps Script for one client going back to 2017. What started as a few API requests to add new rows in Sheets has ballooned to 16 Apps Script projects across dozens of Sheets, Forms, custom UIs, and automated emails. While much of this functionality works well, there are some significant downsides and I’d like to hear feedback from this community on better approaches.

The current stack I use is:

  • Develop locally with vanilla JS and Prettier.

  • Push commits to Github and then sync changes via the Google Apps Script GitHub Assistant Chrome Extension.

  • A combination of triggers, menu functions, and custom UIs for the clients employees to invoke various business logic (import data, create invoices, generate documents, send emails, etc).

  • Most of the day to day work by the client employees is done in Sheets, Drive, and Forms.

Things I like about this current stack:

  • I don’t have to build and maintain any UIs. With the exception of a little HTML/CSS for emails and custom sidebars/modals, all the UIs the client uses daily Just Work.

  • Very easy to integrate with Mail, Drive, and everything in the Google ecosystem.

  • Good documentation and forums.

  • I have pretty good results running integration tests where I write a method that grabs the current data in a Spreadsheet or Sheet and then makes assertions about the expected schema/values. I run these data consistency tests via triggers and any failure sends an error email.

  • My clients' employees are pretty comfortable with Excel/Sheets so they can self service a lot of desired functionality using formulas in Sheets.

Downsides to current stack:

  • No unit testing.

  • No Typescript.

  • The Chrome Extension is a clunky way to deploy. I’d rather use something like Clasp and/or Github Actions.

  • Using Sheets as a data store has been quite slow for many business functions. Some of the projects are working with Spreadsheets that have tens of thousands of rows across dozens of Sheets. All of the reads and writes really slow down the human user experience especially when the client adds a bunch of array formulas and vlookups.

  • I’m also worried about read/write/delete conflicts with Sheets as a data store. I’m using LockService where I can, but it doesn’t seem nearly as safe as a proper relational database.

Questions:

  • Can I stay in the Google ecosystem but use a much faster/reliable data store that still provides Excel/Sheets like self service? If I move the data store to Google Tables or Firebase how easy would it be for the client to access data in Sheets?

  • What templates and tools provide the best foundation for a greenfield Apps Script project? I’m thinking about trying ez-clasp for my next new project.


r/GoogleAppsScript • • Feb 26 '24

Question GAS is still down ?

7 Upvotes

i know there are already 2 posts regarding this topic but just to make sure. I'm having errors 500 whenever I open any sheet script , plus I'm getting this error with each sheet that uses my library ( Error We're sorry, a server error occurred while reading from storage. Error code INTERNAL ) .
has this issue been resolved for you guys? please let me know


r/GoogleAppsScript • • Sep 03 '23

Question How do I easily share Apps Script custom functions across many Google Sheets?

7 Upvotes

So I've developed some Google Sheets functions and custom formulas in Apps Script that perform operations that aren't possible (or maybe are too complex) with built-in formulas.

Whenever I create a new spreadsheet I want to be able to quickly / seamlessly be set up with these formulas ready to go.

I thought the Libraries feature would be perfect for this, but that requires retrieving the ID every time, and also writing wrapper functions for all the ones I want to use in formulas.

I also considered creating a Sheets Add-On but while it sounds like that would work, it seems excessively complex for something that feels like it should be simple.

Finally I thought of just copying some kind of template sheet that has the formulas written there. That works and I'll use that if there isn't a better way, but ideally I want to be able to update my scripts and have the updates still be accessible from all the client sheets.

Is there an easier way that I've missed? Some way to quickly import apps script dynamically and be able to access formulas from the import out of the box?


r/GoogleAppsScript • • Jul 03 '23

Guide I'm Creating an Over-Engineered Budget & Spending worksheet. Why? Because I can! Dynamic dropdowns were a learning curve.

7 Upvotes

I'm very proud for figuring this out! On my sheet I have a 2D table for "Categories" that have their own separate sub-categories:

What I wanted was Dynamic Dropdown. The tutorials I found were a bit helpful, but I found that just trying to make it my own is what made it shine! I definitely could make this code more concise , but it works!

The spreadsheet works by breaking down sub-sheets into 3 main categories: Account, Credit, & Loan. Formatted like (account_accountName, credit_accountName, loan_accountName)

Here's the whole code for the dynamic dropdown script:

const ss = SpreadsheetApp.getActiveSpreadsheet();
const currentSheetName = ss.getSheetName();
const allSheets = ss.getSheets();
const allSheets_names = allSheets.map(sheet => sheet.getSheetName())
const accountSheets = ["account_"];
const creditSheets = ["credit_"];
const loanSheets = ["loan_"];
const filteredListofAccountSheetsNames = [];
const filteredListofCreditSheetsNames = [];
const filteredListofLoanSheetsNames = [];

// getting sheets to allow dynamicDropdown

accountSheets.forEach(ns => allSheets_names.forEach( (as,index) => {if (as.indexOf(ns) > -1){filteredListofAccountSheetsNames.push(as)}})); // get sheet names of accounts
creditSheets.forEach(ns => allSheets_names.forEach( (as,index) => {if (as.indexOf(ns) > -1 && as != "credit_TEMPLATE"){filteredListofCreditSheetsNames.push(as.split("_").pop())}})); // get sheet names of credits
loanSheets.forEach(ns => allSheets_names.forEach( (as,index) => {if (as.indexOf(ns) > -1 && as != "loan_TEMPLATE"){filteredListofLoanSheetsNames.push(as.split("_").pop())}})); // get sheet names of loans
// getting categories and sub-catagories --> inputting into an array format

const categories_sheet = ss.getSheetByName("Categories");
var lastCatsRow = categories_sheet.getLastRow(); // number of rows (aka num of categories);
var lastCatsColumn = categories_sheet.getLastColumn(); // number of colums (aka max num of sub-categories) (not all sub-categories);
let categoriesList = [ 
  [""],
];
var column = 1;
let i = 0;
while (column <= lastCatsColumn) {
  categoriesList.push([""]);
  var range_column = categories_sheet.getRange(1, column);
  var category = range_column.getValue();
  var row = 2;
  categoriesList[column - 1][0] = category;
  while (row <= lastCatsRow) {
    var range_row = categories_sheet.getRange(row, column);
    var data = range_row.getValue();
      categoriesList[column - 1][row - 1] = data; 
    row += 1;
  }
  i += 1;
  column += 1;
}

categories = [];
subCategories = [];

i = 0
for (keys in categoriesList) {
  categories[i] = categoriesList[i][0]
  j = 1
  while (j <= lastCatsRow) {
    subCategories.push(categoriesList[keys][j]);
    j += 1;

  }
  i += 1
}

// Logger.log(categories.filter(myFilter));
subCategories = subCategories.filter(myFilter);
categoriesList.splice(-1)

function onOpen(e) {
  const cellRange = "A1";
  var name = ss.getSheetName().split("_")[1];
  ss.getRange(cellRange).setValue(name);
}

function dyanmicDropdown() {
  if (filteredListofAccountSheetsNames.indexOf(currentSheetName) != -1) {
      var currentCell = ss.getCurrentCell();
    if (currentCell.getA1Notation().split("")[0] == "D" && currentCell.getA1Notation().split("")[1] >= 3) {
      var cellCats = currentCell; // range of editing cat cell
      var rangeCats = categories_sheet.getRange('A1:Z1'); // range for all categories
      var ruleCats = SpreadsheetApp.newDataValidation() // creating data validation
        .requireValueInRange(rangeCats, true) // only show dropdown of categories
        .build();
      cellCats.setDataValidation(ruleCats); // setting data validation into cell
      var categoryIndex = indexOf2dArray(categoriesList, currentCell.getValue())[0] // finding the column associated with the category choice
      var categoryLetter = columnToLetter(categoryIndex + 1) // converting the numeric value for the column into it's corresponding letter
      var subCategoriesRange = String(categoryLetter + "2:" + categoryLetter + lastCatsRow) // colating into a str(range) starting at column 2 (where the sub categories start)
      var cellSubCats = cellCats.offset(0,1); // offset 1 to the right for the sub-category datavalidation dropdown
      var rangeSubCats = categories_sheet.getRange(subCategoriesRange); // range of data using subCategoriesRange str output
      var ruleSubCats = SpreadsheetApp.newDataValidation() // creating data validation
        .requireValueInRange(rangeSubCats) // only show dropdown for sub categories
        .build()
      cellSubCats.setDataValidation(ruleSubCats); // setting data validation into cell
      }
    }
  else {
    Logger.log("false")
  }
}



function onEdit() {
  dyanmicDropdown()
}

function myFilter(elm){
    return (elm != null && elm !== false && elm !== "");
}

function indexOf2dArray(array2d, itemtofind) {
    index = [].concat.apply([], ([].concat.apply([], array2d))).indexOf(itemtofind);
    Logger.log(array2d[3])
    Logger.log([].concat.apply([], ([].concat.apply([], array2d))));
                
    // return "false" if the item is not found
    if (index === -1) { return false; }
    
    // Use any row to get the rows' array length
    // Note, this assumes the rows are arrays of the same length
    numColumns = array2d[0].length;
    
    // row = the index in the 1d array divided by the row length (number of columns)
    row = parseInt(index / numColumns);
    
    // col = index modulus the number of columns
    col = index % numColumns;
    
    return [row, col]; 
}

function columnToLetter(column) {
  var temp, letter = '';
  while (column > 0)
  {
    temp = (column - 1) % 26;
    letter = String.fromCharCode(temp + 65) + letter;
    column = (column - temp - 1) / 26;
  }
  return letter;
}

It works by combining some custom functions to get strings of range locations. The arrays:

filteredListofAccountSheetNames

filteredListofCreditSheetNames

filteredListofLoanSheetsNames

allow me to dynamically find and apply a certain way of allocating the dropdowns for the categories. So any sheet that I have that contains "account_" would get the same rules for dynamic dropdown, and etc. Allowing for adding multiple accounts that will use the same DV rule.

I then create an array of all categories and sub-categories for easier indexing.

The function indexOf2dArray() takes in a 2D array and an string index, and returns the location of it within the 2d array (x,y). Adding + 1 to x gives me the correct corresponding column number. Then using columnToLetter() I can take indexOf2dArray()[0] + 1 to give me the exact column where the sub-categories for the category reside.

var subCategoriesRange = String(categoryLetter + "2:" + categoryLetter + lastCatsRow)

I use this variable to create a range string of the sub-categories for the selected category. lastCatsRow is set to an int that grabs the last row of the "Categories" datasheet. Allowing a user to add more to the categories without messing with the functionality of the data validation itself.

Overall, I am very happy with what I made! I used to use one for an old spreadsheet project that had trouble validating that what I wanted to edit was a drop-down, and would apply the data validation to ANYTHING I edited, so I made one that checks IF you're within a vaild data-validation spot (in this case for all "account_" sheets, it is column "D" for category and column "E" for sub-category.

If anyone has any feedback / constructive criticism, any would be appreciated. Just be nice! I'm not new to Javascript, but I am new to Google Apps Script, and just kinda throwing spaghetti at the wall and seeing what sticks! Thanks for checking out my project!

Edit: onOpen(e) is me fiddling with triggers. Ignore.


r/GoogleAppsScript • • Jun 18 '23

Guide Five ways to extract all images from a Google Doc

7 Upvotes

Hey r /GoogleAppsScript! A while ago I posted a script I wrote to extract all images from a Google Doc and save them to Drive. Then a few of you jumped in and offered some other tricks for extracting the images.

Recently, I needed to do this again, but through the Google Docs API, so I wanted to put all of these methods together into a single guide.

https://community.appsmith.com/content/guide/five-ways-extract-all-images-google-doc

Hope this helps! Let me know if you have any other methods to add to the list.


r/GoogleAppsScript • • Mar 05 '23

Unresolved How to embed images from gdrive with cellimage

7 Upvotes

Hello GAS wizards, I'm hoping someone here can point me in the right direction on how to use cellimage to embed image files in my spreadsheet.

The problem I'm currently stuck at, is that none of the URLs I am able to retrieve for my image files from my gdrive seems to be working with cellimage.

If I try to use a direct link to some other image it works just fine, but I'm unable to get a working link for my images in gdrive, neither .getURL() nor .getDownloadURL() works.

Can someone tell me what I'm doing wrong here and how to get a correct URL from my image that works with cellimage?

Here is an example script:

function myFunction() {
var folderId = "ID_of_a_folder_with_images";
var ss = SpreadsheetApp.getActiveSheet();
var files = DriveApp.getFolderById(folderId).getFiles();

var row = 1;
while(files.hasNext()){
let currentFile = files.next();
// This works just fine
// let imageUrl = "https://upload.wikimedia.org/wikipedia/commons/thumb/1/15/Red_Apple.jpg/128px-Red_Apple.jpg";

// This throws a "bad URL" exception
// let imageUrl = currentFile.getUrl();

// This throws a "bad URL" exception too
let imageUrl = currentFile.getDownloadUrl();
let image = SpreadsheetApp.newCellImage().setSourceUrl(imageUrl).setAltTextDescription('TestImage').toBuilder().build();
ss.getRange('A'+row).setValue(imageUrl);
ss.getRange('B'+row).setValue(image);
row++;
  }
}


r/GoogleAppsScript • • Feb 06 '23

Question Converting GAS to something like Node.js

7 Upvotes

Hey all! So I’ve been on a roll throwing together different GAS tools for work for automation of invoice generation, ticketing workflow, quizzing, etc. while mainly working with spreadsheets.

I’m used to coding in apps script and I’ve been learning a lot about Javascript along the way. I was wondering what some more seasoned users’ advice would be regarding converting your GAS web apps to be used on your own servers. I’m a bit clueless beyond GAS on how to pass information back and forth from server to frontend (something that can be learned with some effort of course) so I’m wondering how much would really have to be converted? Obvious things that come to mind are the specific stuff like GetActiveSpreadsheet and google.script.run but are event handlers and whatnot mostly the same regardless of framework?

Love to hear your thoughts!