Who Gets to Build?

On Google Apps Script and the operational problems that rarely become technology projects.

THE 20-SECOND READ

Operational professionals have long built their own solutions using spreadsheets, formulas, and macros. Generative AI and Google Apps Script could expand what they are able to build, changing which everyday operational problems organizations consider worth solving.

Anyone who has worked extensively with employee data will appreciate the importance of something as seemingly mundane as the formatting of an employee number. Much of the work involves pulling information from different sources, cross-referencing datasets to bring in additional details, and resolving inconsistencies in how the information has been entered or formatted. Even when the exercise is repeated periodically, the data quality issues are not necessarily the same each time. There is a familiar combination of repetitive work and problem-solving.

At what point does a spreadsheet become an application?

Over the years, my colleagues and I have developed numerous ways to make this work easier, from increasingly elaborate spreadsheet formulas and IMPORTRANGE functions to macros. Some of our spreadsheets are quite sophisticated, performing several functions that we would otherwise associate with a standalone application. Yet, as someone who studied economics and international development rather than computer science, writing code was never something I considered an option available to me.

I find this distinction interesting in retrospect, particularly given how much time I have spent constructing the logic behind complicated spreadsheet formulas. The distinction between what I considered spreadsheet proficiency and what I considered programming was perhaps more arbitrary than I realized.

Beyond the Spreadsheet

In 1993, anthropologist Bonnie Nardi published A Small Matter of Programming, examining how people without formal programming backgrounds develop their own computational tools. Her research included spreadsheets, which had already demonstrated how a familiar interface and a relatively accessible set of functions could give users considerable control over the technology they worked with.

More than three decades later, spreadsheets remain central to how many organizations operate, including those with sophisticated enterprise systems. They are versatile, relatively accessible, and can be adapted to the peculiarities of a team's work without requiring a formal technology project.

Google Apps Script extends these capabilities considerably. It is a JavaScript-based platform that lets users automate tasks and build applications that interact with Google Workspace tools, including Sheets, Forms, Drive, and Gmail. It has existed for years, but until I started experimenting with generative AI, I had given it very little consideration.

My first attempt at using Apps Script was to build a check-in application for a mentoring program. With Gemini generating the code based on my requirements, I was able to develop a functional application despite having no previous experience writing one. Encouraged by this, I decided to tackle what I assumed would be a much simpler task: a mail merge.

MAKING IT WORK / 02

Expanding the Operational Toolkit

Spreadsheet formulas
Lookups, crosswalks, data cleaning
↓
Connected spreadsheets
IMPORTRANGE, macros, trackers
↓
Apps Script + Generative AI
Custom workflows and applications
THE CONSTANT ACROSS ALL THREE
Operational knowledge and human judgment

There is some irony in the fact that I found building an application easier than sending a series of personalized emails.

The mail merge needed to pull information from multiple Google Sheets, generate customized links, apply different rules to different recipients, and preserve the formatting of the email template. Each requirement was reasonable on its own, and I could articulate exactly what I wanted the script to do. Getting all of them to work together, however, required considerably more iteration than I had anticipated.

One of the more frustrating aspects of working with Gemini was that a revision to address one issue would occasionally introduce changes elsewhere in the script. A formatting issue would be resolved, but a previously functioning merge tag would stop pulling in a recipient's name. I began asking Gemini to explain why it had made changes I hadn't requested and became increasingly specific about which parts of the script it was allowed to modify. In the process, I started learning to read parts of the code myself.

Had learning JavaScript been a prerequisite for attempting either project, I doubt I would have started. What made this experience different was that I encountered the need to learn specific technical concepts while working on a problem I already understood and had a reason to solve.

The Problems That Rarely Become Projects

Much of my professional experience has involved developing and implementing operational improvements in public education. Large-scale technology projects require considerable coordination, investment, and prioritization. Given the competing demands on an organization's resources, it makes sense that some problems receive more attention than others.

There is, however, a considerable amount of work that falls somewhere between what existing technology can do and what an organization can reasonably allocate dedicated development resources to address. Much of this work is accommodated through spreadsheets, manual processes, and the ingenuity of the people responsible for keeping things running.

Take the employee data example. A script could potentially automate the retrieval of information from approved data sources, standardize employee identifiers, perform crosswalks, and flag records that require further investigation. It would not necessarily eliminate the need for someone to review the results, particularly when unexpected data quality issues arise, but it could change how that person spends their time.

Individually, these improvements may not warrant a formal technology project. Collectively, they represent an area of operational efficiency that deserves more attention, particularly in organizations where the resources available to invest in technology are limited.

Where, exactly, do we budget for the cost of doing nothing?

There is also a question of how organizations account for the cost of these processes. Commissioning a technology solution involves an identifiable investment of money and staff time, whereas the cost of continuing with an inefficient process is often distributed across existing workloads. The latter can be less visible, even when it is incurred repeatedly over several years.

In public service, where the objective of operational efficiency is not necessarily to generate profit, the value of addressing these problems extends beyond financial savings. Reducing repetitive administrative work could give staff more time to investigate complicated cases, respond to the people they serve, or improve other aspects of their work. Whether these benefits materialize would depend on how the tools are implemented and how the capacity they create is used.

What interests me about combining generative AI with something like Apps Script is the possibility of changing the threshold at which an operational problem becomes worth solving. The initial investment required to explore a solution may be considerably smaller, and the person conducting that exploration may already possess much of the knowledge needed to make it useful.

A LITTLE DETOUR The invisible cost of a workaround Click to explore the rabbit hole

Imagine ten employees each spending thirty minutes a week reconciling information across spreadsheets.

10 employees × 0.5 hours × 50 weeks
250 hours
Staff time per year

No new expenditure appears on the budget, yet the organization continues to allocate staff capacity to the problem. Would we evaluate the investment in a solution differently if that cost were more visible?

Illustrative calculation, not actual district data.

The Expertise We Bring to Building

One of the advantages of working on a process yourself is that you become familiar with its exceptions. You know which source of information to trust, why a particular record requires different treatment, and where an otherwise reliable process tends to break down.

This knowledge can be surprisingly difficult to communicate through a set of written requirements. Some of it only becomes apparent when you encounter a particular situation, and some of it is so familiar that you may not think to document it at all. The process of building the mail merge made me more conscious of how many decisions were embedded in what I had initially described as a simple administrative task.

Being able to experiment directly with Apps Script allowed me to refine my requirements as I encountered these issues. Instead of needing to anticipate every detail before development began, I could test a version, identify what I had overlooked, and modify it accordingly.

This does not negate the value of professional software development. Understanding an operational process and understanding how to build secure, reliable software are different forms of expertise, and many projects require both. What may be changing is the point at which these forms of expertise need to come together.

An operational professional might now be able to explore a problem, demonstrate a potential solution, and establish its usefulness before asking for more substantial technical support. In some cases, the resulting script may be sufficient for a relatively contained task. In others, it may serve as a more informative starting point for a formal development project.

What Happens After Something Works?

Research on end-user software engineering has long examined the challenges associated with people developing software primarily to accomplish their own work rather than as professional developers. A 2011 review by Andrew Ko and his colleagues explored the issues surrounding the creation, testing, maintenance, and sharing of such tools. Many of the questions raised in that research remain relevant as generative AI makes writing code more accessible.

What happens when a script written by one employee becomes essential to an entire team's work? Will someone else be able to maintain it if the original author leaves? How will anyone know if it has stopped functioning correctly? These are already familiar questions in organizations with large numbers of interconnected spreadsheets, and Apps Script introduces additional considerations because of its ability to access information and perform actions across multiple applications.

A LITTLE DETOUR When does a personal tool become organizational infrastructure? Click to explore the rabbit hole

An employee writes a script to make their own work easier. A colleague adopts it. Eventually, an entire team depends on it.

Personal productivity tool
↓
Shared team resource
↓
Critical operational dependency

The script itself might not have changed, but the consequences of its failure certainly have. At what point should responsibility for maintaining it move beyond its original creator?

Further reading: The State of the Art in End-User Software Engineering .

There is a difference, for example, between writing a script to organize non-sensitive information and writing one that sends confidential employee information to different recipients. The latter requires considerably more care around permissions, testing, data handling, and oversight. The ease with which the code can be generated tells us very little about whether its use is appropriate.

Organizations interested in encouraging this kind of experimentation will need to consider how they support it. Simply giving staff access to AI tools is unlikely to be sufficient. People need time to learn, access to suitable environments for testing, and guidance on when a tool requires additional technical or security review. There also needs to be some consideration of how successful solutions are documented, maintained, and potentially shared with others who face similar problems.

We have spent years developing our proficiency with spreadsheets, often learning from colleagues, experimenting with formulas, and adapting existing templates to our own needs. I wonder whether we could approach learning Apps Script in a similar way, while being more deliberate about the responsibilities that accompany its expanded capabilities.

I am currently preparing a session to introduce others to Apps Script, and I find myself less interested in demonstrating particularly impressive applications than in seeing what people might choose to build.

Given the opportunity, which parts of their work would they try to improve? Which problems have they previously dismissed as unavoidable, and how many of those assessments were based on assumptions about the technical expertise or resources required to solve them?

Those choices might tell us quite a bit about how our organizations actually work, including where our investments in technology have yet to reach.

Next
Next

Erica Trejo