Michael Schmuklermann
← All cases

Growganic

Growganic: automated A/B test reports, with an LLM workflow instead of an agent

A reporting platform for a CRO agency that pulls A/B test results from Ablyft and tasks from ClickUp into BigQuery, calculates significance, and builds client reports. An LLM workflow drafts the hypothesis review and recommendation for each finished test, and an analyst approves it before the client sees it.

OrchestrationLLM workflow · deliberately not an agent
StackPython · BigQuery · FastAPI · Cloud Run · React · Firebase · ClickUp API
Test finishedFetch resultsSummariseJudge hypothesisRecommendNumber checkAnalyst approves
codeguardrailmodel stepagenthuman

In short

Growganic is an agency that improves its clients' websites with A/B tests. Before this project, every finished test became a report built by hand in Excel. I built an ETL in Python that pulls experiments from Ablyft and tasks from ClickUp, maps every experiment to its task, and stores everything in BigQuery. An API on Cloud Run calculates statistical significance, conversion rate, and ARPU per variation and per device, and picks the winner. A React frontend on Firebase turns that into a client report with metadata, charts, screenshots, and PDF export. The AI part is a fixed LLM workflow, not an agent, and that was a deliberate choice. When a test finishes, the workflow gathers the hypothesis from ClickUp and the results from the API. It then runs three steps: summarise the result, judge the hypothesis against the numbers, and draft a recommendation for the next test. Each step has a typed output, and the numbers in the text are checked against the API values before anything is saved. The analyst edits and approves the draft in the frontend, and only approved text goes into the client report. An agent would have added freedom the task does not need: the inputs, steps, and output are the same every time.

When not to build an agent: AI-written A/B test reports

Growganic runs A/B tests for its clients' websites. Every finished test needs a report for the client: what was tested, which variation won, by how much, on which devices, and what to test next. Before this project, analysts built each report by hand from two tools: ClickUp, where the tasks and hypotheses live, and Ablyft, where the experiments run.

The data platform

The first job was not AI at all. It was getting the data into one place.

That alone removed most of the manual work. What was left was the text: the part where an analyst explains what the numbers mean.

Why a workflow and not an agent

I asked the usual question first: does this need autonomy? The answer was no.

An agent decides its own next step. Here there is no next step to decide. Giving the model tools and a loop would only add new ways to fail: calling the wrong endpoint, looping, or "finding" numbers somewhere else. So it is a prompt chain with three fixed steps.

The three steps

  1. Result summary. Input: the API's numbers for every variation and device. Output: a short plain-language summary, the winning variation, and the size of the effect.
  2. Hypothesis review. Input: the hypothesis from ClickUp plus the summary. Output: confirmed, rejected, or inconclusive, with the reason.
  3. Recommendation. Input: the review plus the experiment metadata. Output: what to test next and why.

Each step has a typed output schema. If a step fails to parse, it is retried once, then marked for the analyst to write by hand.

Keeping numbers honest

The biggest risk in AI-written reports is a wrong number in a sentence that sounds right. So every number in the generated text is extracted and compared with the API values for that experiment. A mismatch blocks the draft. The model is also told to call a result inconclusive when significance is not reached, and a check enforces that: a "winner" claim without significance is rejected.

Human in the loop

Nothing goes to a client directly. The draft appears in the frontend next to the numbers. The analyst edits it and approves it, and only approved text becomes part of the client report and the PDF. Edits are stored, so the prompts can be improved from what analysts actually change.

Lessons from production

Not everything broke in the AI part. One recurring Slack alert came from the data layer: reports that were not cached read from a combined table while it was being dropped and rebuilt, which took seconds to minutes. The fix was to replace the table in place instead of dropping it first. Boring, but that kind of fix is what makes the whole report trustworthy, including the AI text on top of it.

Takeaway

Knowing when not to build an agent is part of building agents. Here a fixed workflow with typed steps, number checks, and human approval gave the agency what it needed at a fraction of the risk.

More cases