1
0 Comments

I built Cursor for Apps Script

Created "Automate" which helps people write apps script with an AI harness.

Google Sheets has had a scripting language for 15 years. Almost nobody uses it, because you have to learn JavaScript plus Google's API on top of it. I've been writing Apps Script by hand for 13 years and I still look things up constantly.

So I built Automate. You connect a sheet, say what you want in plain English, and it writes and runs the script. https://bettersheets.co/automate

How it's built:

It runs on the Cursor SDK. Not a chat wrapper around an LLM. It's an agent that reads your sheet's structure, writes the Apps Script, executes it against your actual sheet, sees what happened, and fixes it if it didn't work. Same loop Cursor does on a codebase, pointed at a spreadsheet.

The UI was the hard part. A blank chatbox is a terrible interface for someone who doesn't know what's possible. So it tells you what it can do, what it can't, and where the limits are before you type anything. Live script preview so you can see the code before it touches your data. One button to push it to the sheet.

Real test this week: a client needed 2,300 businesses scraped from a national directory that only searched by zip code and radius. Automate wrote the zip code math, the scraper, and the hourly email drip. Two hours. Then the client owned a sheet that could run it again without me.

Happy to answer anything about the Cursor SDK side. It was not obvious how to get it to work on something that isn't a repo.

posted toAvatar for product Better Sheets
Better Sheets