Due dates that stay dates.
whyA pasted date turns into text, and the totals stop adding up.
asksLog these twelve invoices on the Payables tab, with their due dates.
An Apps Script you deploy in your own Google account makes every edit as you. No connector sits between your AI and your sheets.
team/tools/google-apps-script/google-apps-script.md an id and a key namePeople whose numbers live in sheets someone else laid out.
whyA pasted date turns into text, and the totals stop adding up.
asksLog these twelve invoices on the Payables tab, with their due dates.
whyEvery month starts as a copy of the one before.
asksMake a November tab from October, same layout.
whyColumns shift each time someone adds one.
asksSet Northwind's stage to Won on the pipeline sheet.
Your script covers a sheet's data, its look and its tabs. The layout is read before any write.
Rows and columns found by their headers, never by a fixed cell.
A YYYY-MM-DD string becomes a date cell, in the tab's own format.
Number formats, fonts, fills and alignment, set and read per cell.
Live formulas and number formats are read first, so a write keeps them.
A copied tab keeps its formatting, formulas and layout.
Which rule paints a cell, and new rules by threshold, text or formula.
The script executes as you, so it opens the sheets your account opens.
A web app you deployed to run as you, and a key you made, kept in your store. A hosted connector runs on someone else's server. Here your AI calls your own deployment, at Google, and nothing else.
Your space's page names the deployment and the key. The value never reaches it.
The call goes from your computer to your deployment and back.
Only Google, running your script, handles the sheet.
The date guard makes it a real date, and reports how many it converted.
A monthly tab is duplicated, so the design comes with it.
A Workspace setting decides whether the script answers.
| Limit | What it means |
|---|---|
| A Workspace admin can block "Anyone" access | Then a personal Google account reaches them, or a claude.ai connector in Claude Code started in another folder. |
Deploy the script once. Claude Code and Codex then fill your sheets as you.
Search, threads, drafts and cleanup, a send only on your go, through your own script.
documents and filesGoogle DocsDocs edited in place, the writer's text untouched, through your own script.
documents and filesGoogle DriveFiles, sharing and shared drives, through the folder and your own script.
documents and filesGoogle Apps ScriptThe one script behind Gmail, Sheets, Docs, Drive and Calendar.
documents and filesNotionPages and databases you can open, under your own token.
every kindWorks withEvery system by kind, and the rule each page shares.