


A demo I built with made-up answers for a sample bakery. It is my own sample, not client work.
What it does, end to end:
Reads one saved set of form answers from a file.
Runs them through a rules table, with short rules like q8 > 14, to pick the recommendations, benchmarks and quick wins that apply.
Sends the answers and the picked items to Google Gemini, which writes a short personal analysis.
Checks the AI's reply in code. Every number in it has to appear in the answers or in the picked items, numbers written as words (like "twelve" or "half") are rejected, and the AI can only use the items the rules picked. If the reply fails, the AI is asked again with the reasons, up to 2 more times. If it still fails, no report is made.
Builds a 3-page PDF with a chart. The numbers in the tiles, chart and cards come from the data, and the one total in the report is added up by the code, not the AI.
Emails the PDF as an attachment over Gmail.
On 22 October 2026 I ran it with gemini-2.5-flash, and the report arrived by email. Each run also feeds the checker a reply with a made-up number, to make sure it still rejects it. The check covers numbers, not meaning, so a real number can still end up in the wrong sentence. That is why a person reads the sample reports.
In this demo the rules and content are CSV files. In a client build they can sit in a Google Sheet you edit.
I use AI tools to speed up the routine parts of the coding, then test everything myself.
The number check, from the demo's code:
0 likes · 1 view · Oct 23, 2026
My own demo with made-up bakery data: form answers, a rules sheet and Gemini become a checked 3-page PDF, sent by email.
Timeline
Oct 3, 2026 - Oct 22, 2026