Everything Apps Script
This repository is a monorepo containing tools, projects, and more related to Apps Script.
About: I am a Senior Developer Relations Engineer at Google for Google Workspace.
In expanding the scope of what developer relations means, I sought to find the shortcomings of AI in writing code, specifically Google Apps Script.
I put together a script to call multiple models with different prompts and a website to show the different outputs.
To simplify things, I used the NPM ai package by Vercel.
I then just iterated through the prompts and models saving the outputs to files locally.
There are some things to note here:
0
.I wanted a better way to see the differences side-by-side, so I created a web app using Svelte at https://apps-script-ai-testing.jpoehnelt.dev! (best on desktop)
As to actual takeaways from this analysis, here are a few:
CardService
(correct)UrlFetchApp
get of example.com
. they all let the non 200 error be caught and then raised again (this usually hides the actual root cause)As I mentioned earlier, I believe developer relations and the definition of developer is evolving quickly. The term "vibe coding" captures this phenomena by shifting the focus to the intent instead of writing. Either way, as a member of a developer relations team, my goal is to reduce friction from intent to implementation.
apps-script.(txt|md)
.UrlFetchApp
TypeScript types and reference docs are complete.