Automate price quote generation with AI and GRID’s spreadsheet API
Let AI handle customer quote emails using the logic already in your spreadsheet. With GRID and ChatGPT, you can automate replies without rewriting your process.
Marín Jónsdóttir11 June 2025 · 2 min read
What if your inbox could answer itself, using the pricing and product logic already in your spreadsheet?
That’s exactly what we demonstrate in our demo video, featuring Bloom and Brew, a (fictional) catering business that uses a custom GPT to generate quotes and draft email replies to customers. With the GRID API and ChatGPT, the setup is straightforward, and it removes the need to manually update the spreadsheet or write every customer message from scratch.
The business behind the idea
Bloom and Brew is a sandwich and juice shop that offers catering for events. They keep all their pricing, menus, and discount logic in a spreadsheet. The number of items offered depends on how many people are being served, and discounts scale with volume. It's an everyday spreadsheet that works well, but handling incoming emails and generating replies was starting to feel repetitive.
The manual process
A typical email might look like: "Hey, we're having a work happy hour on Thursday for about 35 people. Please send over a suggestion."
Responding used to involve:
Typing the number of guests into the spreadsheet
Looking at what menu items and quantities it suggested
Manually writing an email reply with pricing and selections
It worked, but it took time - and it was easy to forget something.
The new approach: AI assistant + GRID API
Now, with a custom GPT connected to the spreadsheet via the GRID API, the process is automatic. You paste the email into the assistant, and it:
Retrieves the number of people and other relevant information
Calculates how many sandwich and juice types are needed
Works out and applies the volume discount based on the spreadsheet
Writes a complete reply email, with pricing and item details from the spreadsheet
The assistant runs these inputs through a copy of the original spreadsheet, meaning that the original version remains untouched. It also means that many calculations can be run simultaneously across multiple chats.
Under the hood
The assistant setup is straightforward:
Upload the spreadsheet to GRID
Use the GRID API to define an action the GPT can call
Instruct the assistant in plain language, like:
“Read the number of people from the email”
“Look up how many menu types to include”
“Format a reply with the final selections and pricing”
You can also define the tone of the response. In Bloom and Brew’s case, they asked for something hip, fun, and breezy - matching their brand voice.
The instructions automatically generated by GRID helps the GPT understand exactly how to use the spreadsheet.
Less admin, more impactful work
This is a small but meaningful automation: a single assistant that reads a spreadsheet, applies your rules, and writes replies so you don’t have to. No changes to your spreadsheet logic. No extra tools. Your spreadsheet runs the numbers. Your assistant writes the reply. Together, they handle the busywork so that you have time for more meaningful tasks.
Want to try it? Check out the step-by-step tutorial here and try GRID for free today.
Also: Bloom & Brew is actually based on Joe & the Juice which we did a very successful implementation with. Read the case study here and learn about how they save 6 hours per week on busywork using the GRID API and ChatGPT.
News
Updates and announcements
27.11.2026
The Python was right. The spreadsheet was wrong.
On 400 spreadsheet tasks, the agent without an engine scored 78% and the agent with GRID scored 90.75%. When we required formulas where the reference workbook had formulas, the same workbooks scored 54.25% without an engine and 87% with GRID.
19.11.2026
How AI builds a spreadsheet: openpyxl, then 430 MB of LibreOffice
In September, Simon Willison went poking around his disk and found 1.7 GB of runtime inside OpenAI's Codex desktop app, since renamed ChatGPT. Next to Python, Node and git sat a complete headless LibreOffice: 430 MB of office suite, shipped so the agent can work with documents. This did not surprise us. We have watched this pipeline since the first AI spreadsheet experiments, and it is still how most of the industry builds spreadsheets with AI. It made sense as a stopgap. It doesn't anymore: next to an engine built for the job, it is less accurate, far slower and more than a hundred times bigger. The recipe Ask an AI agent for an Excel model and it will almost always write the file with openpyxl, the Python library all over its training data. openpyxl writes formulas but cannot calculate them, so the formula cells hold no values. Anything that reads the stored values sees blanks: the Python data library pandas, file previews, and the agent itself, checking its own work. And the model writes formulas the way a person types them, not the way Excel stores them. Leave out the _xlfn. prefix Excel expects on XLOOKUP inside the file and the cell opens in Excel as #NAME?. Write a LET without its _xlpm. prefixes, or a spill reference like A1#, and Excel greets the whole file with "We found a problem with some content". So the pipeline needs something to calculate the file, and the answer is nearly always LibreOffice. Anthropic's public xlsx skill runs LibreOffice to recalculate the workbook. Alibaba's QwenPaw agent ships an adapted copy of the same script. Moonshot's Kimi checks its files against LibreOffice's recalculation, according to an extracted copy of its skills. OpenAI bundles the whole suite into its desktop app. LibreOffice is free, it is already there, and it opens xlsx. None of that means it calculates like Excel. So how close does it get? Missing one case in eight Last week we published the GRID Spreadsheet Benchmark: over 100,000 test cases from eight open source test suites, 13 engines, every case checked against Excel itself. LibreOffice matches Excel on 87.4% of them. That sounds respectable, and LibreOffice Calc is a good spreadsheet app. The test is deliberately hard: it is built from edge cases, not the SUMs that fill most of a real model. But edge cases are where a model goes quietly wrong, matching Excel on them is a high bar, and the last few percent are where the hard work is. 87.4% is 126 misses in every 1,000 cases. The GRID engine gets 1.2 wrong. LibreOffice isn't sloppy. It is a different spreadsheet app with its own opinions. On its own project's test suite it agrees with Excel only about 84% of the time, because many of those tests expect LibreOffice's answer: it converts units Excel has never heard of, and it finds interest rates where Excel gives up with #NUM!. Of the nearly 500 Excel functions in the benchmark, only 16 pass every test in LibreOffice. In GRID, 439 do. Then the tool starts dictating the spreadsheet. Anthropic's skill tells the model to never use XLOOKUP, XMATCH, SORT, FILTER, UNIQUE or SEQUENCE, saying the LibreOffice it runs can't evaluate them. LibreOffice has handled them since 2024, but the rule stands: the agent builds an older, worse spreadsheet to suit its calculator. "We found a problem with some content" In most of these pipelines, when LibreOffice recalculates a file, it also saves it, and it saves it the way LibreOffice understands it. Usually the file still opens in Excel. Sometimes it doesn't. Take the sensitivity table, a fixture of every financial model: a what-if data table showing, say, the implied share price under different WACC and terminal growth assumptions. Put a workbook with one through a pipeline that saves through LibreOffice, like QwenPaw's, open it in Excel, and you get "We found a problem with some content". LibreOffice has written the table back as a formula Excel doesn't have. Click Yes, and Excel repairs the file by turning every cell of the table into a fixed number. The numbers are right for today's inputs. Change the WACC and nothing moves. The model still looks finished. It just stopped being a model. Anthropic's skill was recently changed to recalculate on a copy and write only the values back into the file. That is a sensible patch, and an admission that LibreOffice can't be trusted to save the file. It is still trusted to calculate it, and to tell the agent the file is fine. That trust is misplaced too, because LibreOffice waves through problems it didn't cause. Ask an agent for a table with years as column headings, 2025 and 2026, as in nearly every financial model. openpyxl writes the headings as numbers, and Excel requires table headings to be text. Name a table Q1 and it is the same story, since Excel reads that as a cell address. LibreOffice opens these files, recalculates them without complaint and saves them. The agent's check passes. Excel opens the file with "We found a problem with some content". 430 MB and a second and a half Even when it gets the answer right, LibreOffice is the wrong shape for the job. Every check boots a desktop office suite in headless mode, loads the file, calculates, and writes the file back. On nearly 1,800 benchmark workbooks, run on the same machine, that took a median of 1.6 seconds per workbook. The GRID engine took 18 milliseconds, and it doesn't need to save: it holds the workbook in memory and writes the file once, when the agent is done. These are small workbooks, so most of that time is LibreOffice starting up, and today's agent skills pay it on every check. Anthropic's starts it twice. The obvious fix is to keep it running. In a separate test it still took about 80 milliseconds per workbook, and now the client keeps an office suite running in the background whenever a spreadsheet might come up in any thread. Then there is the weight. ChatGPT's headless LibreOffice is 430 MB. The GRID engine is a 3.5 MB package that runs in process, in Node or in the browser. The embedded LibreOffice may actually be doing other jobs too, like rendering documents and converting them to PDF. But those jobs have lighter tools as well. SuperDoc builds, edits and renders Word documents in the browser: an engine for DOCX, the way GRID's is for XLSX. A couple of small JavaScript libraries turn DOCX into PDF without a desktop suite. However you slice it, 430 MB of LibreOffice in a client is a kludge. Calculate it right AI is about to write more spreadsheets than people ever did. Those files will be opened in Excel, sent to clients and used for decisions, and Excel is where the numbers are checked. If an agent's model shows one figure and the same file shows another in Excel, the user doesn't conclude that LibreOffice and Excel differ on a corner case. They conclude the AI got it wrong. They start rechecking every number, and they stop trusting the next model before they open it. One wrong cell is enough to spend the trust that was supposed to save them the work. The GRID engine calculates the way Excel does, in milliseconds, without an office suite attached. The benchmark and its harness are open, so check the numbers. If you build agents that write spreadsheets, talk to us.