I’ve long been fascinated with CRUD (create, read, update, delete) tools. In fact, the name of this blog was originally the name of a tool I created in ColdFusion circa 2007 to build Web interfaces dynamically based on a data model. The concept was very similar to what AppSheet does today as well as AirTable and others, albeit AppSheet also builds mobile interfaces. I’ve previously used Intuit Quickbase and was surprised to find when I joined Google in 2010 that Google had no such tool, even for internal use. Later, Google introduced (and then cancelled, argggh) Tables by Area 120. And in 2020, they bought AppSheet, a CRUD tool that lets you turn any spreadsheet into a cross-platform mobile and Web app.
When I first tried AppSheet, I didn’t like it at all. If what you get out of the box is good enough for you, it works pretty well. But once you start customizing, you find that you have to do a lot more customizing to carry an idea all the way through. For example, you can filter data using a slice, but then you’ll probably need a custom view and custom actions to override the default AppSheet behavior for the table on which your slice is based. None of this obvious when you start. Creating search interfaces is particularly onerous until you give up and use the built-in search icon in the menu bar, which is actually great.
Now, however, Gemini changes all that. As you can see in the screenshot below, you can use Gemini in the sidebar while doing AppSheet development to get in-depth suggestions and problem resolution for your specific AppSheet app.

This summer, I built several apps for a missions aviation organization in Alaska. AppSheet was a good fit because 1) much of their data was already in spreadsheets, and 2) they needed a mobile interface with offline capabilities (as an aside, Starlink is destined to own all communications in Alaska, but not everyone has it yet). The big question was whether AppSheet could handle the most important graphic in a flight plan, the weight and balance diagram. I was frankly at a loss how to do this. AppSheet has a basic charting library, but you can only create charts as standalone views.
Gemini to the rescue! Gemini not only suggested using an SVG, which AppSheet supports in a details view like the one you see in the screenshot above, but also wrote the entire one-page formula to build the required XML defining the SVG. That is pure “toil,” as Google calls it. I likely would have given up after a couple days of trying to match angle brackets and quotation marks. Instead, I spent about half a day prompting Gemini to include labels and to scale appropriately regardless of an aircraft’s size and weight. Here is the resulting SVG formula so you can appreciate the power of this combination:
CONCATENATE(
"data:image/svg+xml;utf8,<svg xmlns=""http://www.w3.org/2000/svg"" viewBox=""",
ROUND(MIN([WB Envelope][CG]) * 300 - 600), " ",
ROUND(0 - (MAX([WB Envelope][Weight]) + 600)), " ",
ROUND((MAX([WB Envelope][CG]) - MIN([WB Envelope][CG])) * 300 + 1800), " ",
ROUND((MAX([WB Envelope][Weight]) - MIN([WB Envelope][Weight])) + 1400),
""" width=""100%"" height=""100%"" style=""background-color: white;"">",
"<text id=""label-title-weight"" x=""", ROUND(MIN([WB Envelope][CG]) * 300),
""" y=""", ROUND(0 - (MAX([WB Envelope][Weight]) + 350)),
""" font-family=""sans-serif"" font-size=""200"" font-weight=""bold"" fill=""gray"" text-anchor=""start"">Gross Weight (lbs)</text>",
"<text id=""label-title-cg"" x=""", ROUND(MAX([WB Envelope][CG]) * 300 - 2500),
""" y=""", ROUND(0 - (MIN([WB Envelope][Weight]) - 600)),
""" font-family=""sans-serif"" font-size=""200"" font-weight=""bold"" fill=""gray"">CG (inches)</text>",
"<text id=""tick-w-min"" x=""", ROUND(MAX([WB Envelope][CG]) * 300 + 150), """ y=""", ROUND(0 - (MIN([WB Envelope][Weight]) - 50)), """ font-family=""sans-serif"" font-size=""160"" fill=""gray"" text-anchor=""start"">", ROUND(MIN([WB Envelope][Weight])), "</text>",
"<text id=""tick-w-max"" x=""", ROUND(MAX([WB Envelope][CG]) * 300 + 150), """ y=""", ROUND(0 - (MAX([WB Envelope][Weight]) - 50)), """ font-family=""sans-serif"" font-size=""160"" fill=""gray"" text-anchor=""start"">", ROUND(MAX([WB Envelope][Weight])), "</text>",
"<text id=""tick-cg-min"" x=""", ROUND(MIN([WB Envelope][CG]) * 300), """ y=""", ROUND(0 - (MIN([WB Envelope][Weight]) - 350)), """ font-family=""sans-serif"" font-size=""160"" fill=""gray"" text-anchor=""middle"">", ROUND(MIN([WB Envelope][CG])), """</text>",
"<text id=""tick-cg-max"" x=""", ROUND(MAX([WB Envelope][CG]) * 300), """ y=""", ROUND(0 - (MIN([WB Envelope][Weight]) - 350)), """ font-family=""sans-serif"" font-size=""160"" fill=""gray"" text-anchor=""middle"">", ROUND(MAX([WB Envelope][CG])), """</text>",
"<polygon id=""envelope-polygon"" points=""",
SUBSTITUTE([WB Envelope][SVG_Point], " , ", " "),
""" fill=""lightgreen"" stroke=""darkgreen"" stroke-width=""3"" vector-effect=""non-scaling-stroke"" opacity=""0.4"" />",
"<circle id=""takeoff-dot-blue"" cx=""", ROUND([Takeoff CG] * 300),
""" cy=""", ROUND(0 - [Takeoff weight]),
""" r=""80"" fill=""blue"" stroke=""white"" stroke-width=""2"" vector-effect=""non-scaling-stroke"" />",
IF(
OR(ISBLANK([Landing CG]), [Landing CG] = 0),
"",
CONCATENATE(
"<line id=""flight-vector-dashed"" x1=""", ROUND([Takeoff CG] * 300),
""" y1=""", ROUND(0 - [Takeoff weight]),
""" x2=""", ROUND([Landing CG] * 300),
""" y2=""", ROUND(0 - [Landing weight]),
""" stroke=""black"" stroke-width=""3"" vector-effect=""non-scaling-stroke"" stroke-dasharray=""2"" />",
"<circle id=""landing-dot-blue"" cx=""", ROUND([Landing CG] * 300),
""" cy=""", ROUND(0 - [Landing weight]),
""" r=""80"" fill=""blue"" stroke=""white"" stroke-width=""2"" vector-effect=""non-scaling-stroke"" />"
)
),
"</svg>"
)
Now you might be thinking, “yeah, that’s great, but we know LLMs can write code, so why not just vibe code the whole app?” Three reasons:
- I wanted to minimize the amount of code, period. The last thing I want is for the non-profit organization (with or without me) to have to maintain a bunch of AI slop. Other than the SVG code shown, the only other code required is relatively straightforward spreadsheet formulas. AppSheet builds the UI from the data model itself so there is no UI code at all.
- I don’t want to set up and maintain new developer accounts with Apple and Google to publish the mobile apps. Instead, the users just download the existing AppSheet app from Google, allowing them to run this app and others I created for them.
- AppSheet automatically handles authentication from Google, Microsoft, and many others. I have zero interest in maintaining authentication code and keeping it up to date, even with AI.
In summary, I estimate I developed moderately complex AppSheet apps about 4x faster with Gemini than would have been possible otherwise. I had so much fun with AppSheet and Gemini that I created a personal productivity tool, as well, but I’ll save that for another blog post.





