Richard Golian

1995-born. Charles University alum. Head of Performance at Mixit. 10+ years in marketing and data.

Castellano Français Slovenčina

Manage subscription Choose a plan

RSS
Newsletter
New articles to your inbox
Richard Golian

Article

AI sales forecast: 9 traps so far

How to Forecast Sales with AI
Richard Golian
Richard Golian · 2 036 reads
Hi, I am Richard. On this blog, I share thoughts, personal stories, findings and what I am working on. I hope this article brings you some value.

Yesterday I could not tear myself away from the computer. When I lifted my head, it was half past eight in the evening. I had been sitting alone upstairs for about three hours.

I was teaching an AI agent to forecast orders.

The plan was simple.

Give the agent the data, the campaigns, the context, and let it forecast the number of orders for the next thirty days, every morning. And teach it to understand why the number lands where it lands on a given day.

I decided to build this more robustly than this particular output strictly requires. The reason is this. Once the agent understands what revenue is made of (what was caused by seasonality, by a short-term campaign, by an unexpected outage, and what effect overlapping campaigns had), a whole field of possibilities opens up for what else I can put it to work on.

One thing was clear from the start. Giving the agent a pile of numbers is not enough. For the result to be usable, it has to understand the connections between them. It has to be able to answer "if that seasonal campaign were not running, what would the chart look like?". It has to say "we expect this mid-month peak because of a retention campaign that ends in two weeks". It has to answer what-if questions and be able to attribute orders to specific circumstances or marketing activities.

The goal is clear.

Get the agent to a level where someone who makes order forecasts at the company says "fine, the machine takes this over, I will do something else". It is not easy.

THE NAIVE FIRST VERSION

If you tell an AI that you want to forecast orders and give it the sources of information for that, it will probably not go well. The AI will program something, something that looks expert, but when you look closely, you find that it does not work like this.

I tried it. I gave the AI the basic data source: how many orders came in the past. Access to the project tool that holds the marketing activities and campaigns. And from the marketing plan, it had the year-on-year revenue growth assumptions.

I gave it to the AI agent and it produced a formula:

baseline(2026-D) = actual(2025-D, weekday-aligned)
forecast(2026-D) = baseline × growth_target × campaign_multiplier

The multiplier (the number you multiply the baseline by to reflect the impact of a campaign) it pulled from history. A day at the peak of a particular campaign historically had some multiple of revenue compared to the state when no campaign was running. A different multiple for seasonal holidays, and so on.

At first sight the output looked quite good. Good enough to fine-tune. I started building a dashboard so I could visualise the result while tuning it.

When I asked it to explain the logic and visualised the data, a several-hour battle began.

ROUND 1: WHY WERE MY MULTIPLIERS LYING?

The model flagged one of the campaigns as the strongest. That was wrong.

I wrote to it: "That is completely off. This thematic week is one of the weaker ones. The other campaign running in parallel has a much bigger impact."

The problem was in the baseline (the reference state against which campaign impact is measured). The multiplier was computed as the ratio of (median of days when the campaign ran) to (median of other days). But "other days" included other parallel campaigns. The baseline was artificially inflated. The attribution of the revenue increase to each campaign was distorted in both directions: some campaigns overstated, others understated, depending on which other campaigns were running, either at the same time or in the days before or after them. In periods of overlapping campaigns, which is most of the year, the attribution made no sense at all.

After I objected, the agent rewrote the baseline definition to "median of days when no push campaign was running". But the result was not suitable as a starting point for analysis. There were few clean days. For some periods, campaigns and weekdays there were not even five examples. Campaigns overlap almost continuously.

ROUND 2: WHY IS AD ATTRIBUTION ONLY THE TIP OF THE ICEBERG?

Then came the attempt to add more context. The measurable impact of a campaign through ad attribution (assigning orders to a specific ad), conversions from the ad platforms.

Once again the agent could not interpret it correctly.

I wrote to it: "But you did not account for the consent rate. How many people refuse cookies."

Only a portion of orders gets matched through the ad platforms. The rest comes from non-consent customers who refused cookies: they do not show up in the ad platforms, but they do in the total number of orders. The agent knew about this gap, but did not include it in the prediction method.

After recalculation, the campaign numbers rose to more realistic values.

And straight away we ran into something else.

ROUND 3: HOW DOES ON-SITE COMMUNICATION CHANGE CONVERSION RATES?

I wrote to it: "A campaign does not have impact only through ads. When it is communicated on the website, the conversion rate rises for everyone who arrives, not just for those who clicked through from ads. Also for those who came organically, from Google, direct (visitors who typed the address themselves), and so on."

Continue

Join the Library

Full access to my findings, personal stories, and what I learn from the people I meet.

Join the Library · €29.99 per year How a small business, creator or politician can be… What should I study in the age of AI?… I Left My Job for Several Months to Read… How I Fell in Love With Her, at First… How do you stop depending on social media? Can… How to Start With AI in a Company: Automating…
Read only this one · €2,99

Get the full article by email and feel free to reply if you want to discuss it further.

Visa Mastercard Apple Pay Google Pay

Summary

Can AI forecast sales? Yes, but if you tell an AI that you want to forecast orders and give it the sources of information you currently use, it will probably not go well. The AI will program something, something that looks expert, but when you look closely, you find that it does not work like this. I tried it. In one evening, I found nine errors in the forecast of orders and revenue: the agent attributed orders to the wrong campaigns, did not account for people who refused cookies, and did not understand that a campaign on the website raises the conversion rate for all visitors. Today my automated AI forecast predicts orders thirty days ahead and shows how many orders each campaign brought in. Without adapting the data much more for AI, however, I will not build a real automated forecasting tool. The real work is only beginning.
Richard Golian

If you have any thoughts, questions, or feedback, feel free to drop me a message at mail@richardgolian.com.

NEWSLETTER
What I write about, what I am working on, what I learned.
Sent the first Sunday of the month. Unsubscribe anytime.

Related articles

How a small business, creator or politician can be independent of big platforms in the AI age

Are you a content creator playing by the rules of YouTube, Instagram or Google? Are you a small business owner whose business model depends on how often Amazon recommends you, how expensive Facebook ad impressions will be or how expensive Google Ads clicks will be? If all or most of your contact with your audience or customers depends on a big platform showing you to them, you are not in a strong position.

11 October 2026·1 088 reads
Can AI Replace Human Judgement?

AI produces the graphic, the newsletter and the product page faster than a person. What is left for the one who used to do it is the judgement, knowing whether the output is good. But most people have worse judgement than AI. And whoever cannot judge quality cannot delegate either. How do you tell whether yours is the judgement a company relies on, or the kind it can replace?

30 May 2026·1 379 reads
What Determines a Stock Price?

In April, in the first part of this series, I wrote about an AI prediction system I had started building on my own machine. At the time the software was a few hours old and the prediction record was empty. The record since then has shown one thing: the system does not yet understand the market it is being asked to forecast. It can pull macro context, book value, earnings. But it cannot put those together into something that helps it understand the price.

23 May 2026·1 395 reads

More articles

What should I study in the age of AI? What should I major in? Does a degree still make sense?

The development of artificial intelligence changes how we look at which paths in life make sense. Which studies and which profession to choose.

4 October 2026·740 reads
I Left My Job for Several Months to Read Philosophy

It was Thursday, 31 March 2022, when I handed over the last of my responsibilities to my colleagues, closed my laptop and went to the library. I left my job for several months and immersed myself in philosophy. And I am immensely grateful for it. Today I am, like most people, on a merry-go-round, and it is hard for me to stop and think about the fundamental questions of my own life.

28 September 2026·1 013 reads
How I Fell in Love With Her, at First Sight

It was September 2023. My life, my work, everything was completely different from now. It was simpler. I owned almost nothing. I needed to film an advert, I went up to a floor inside the company where the product I needed for that advert was, and there I noticed her for the first time. She laughs at me when I describe it like this, but at that moment the universe told me, that is her.

20 September 2026·1 005 reads
How to stop depending on social media, and what the IndieWeb is

How and why I am gradually leaving social media and the big platforms. When I read that Meta is testing a new way to charge for organic posts that link outside its platform, it confirms how right I was to become steadily less dependent on the big platforms and on social media. It does not mean I have left them completely. It means that whether or not I stay in touch with my readers depends on them less and less, and today almost not at all.

9 September 2026·1 121 reads
How to Start With AI in a Company

One of my family members described a firm that has its data in several different tools, and its employees still join it by hand, in spreadsheets. That is the ordinary state of firms. When somebody tells such people not to do it by hand and to use AI, they will not understand. Most firms do not even have the basic connectors between the tools they use. These firms need help with AI transformation.

12 August 2026·1 166 reads
Fable 5 vs Opus: the cheaper model won

The same task, two models. Fable 5 against Opus 4.8. On paper Fable is the better model, with a larger context and stronger specs. And still it lost. Opus handled the task with a single round of checking for 721,000 tokens, while Fable needed nine rounds and burnt through 2.78 million tokens. The difference was not in the model, but in how I set the task. And I know it, because I measured it.

22 July 2026·1 431 reads
I Ran Object Detection on My Laptop, and Saw Everything Is Possible

A few weeks ago I installed a small local AI model on my laptop that watches a live camera feed. I turned the webcam on in the dark, and in near total darkness it recognised me and the objects in the room. That such things exist, I have known for a long time. What opened my eyes was the accessibility. I installed it in one prompt, free, and it runs entirely on my machine, sending data nowhere.

15 July 2026·1 079 reads
My blog is full of bots and AI agents

I once wrote about building my own privacy-friendly analytics tool. It had bot detection from the first version, yet it was not enough. Direct visits took a strangely high share of my traffic. When someone claims that 20% of their visits are bots and 80% are humans, I used to think the same. Today I would say the opposite ratio is closer to the truth. This is how I got there.

6 July 2026·2 886 reads
Which Work Will AI Not Replace?

Seventy per cent. That is where the first AI output begins, even when you give it the full company context and the best examples from the past. We are talking about the kind of output that cannot be defined programmatically. It is more complex. Often it is creative work. On one repeated type of output I reached eighty per cent within a week. Every further percentage point is harder than the one before.

10 June 2026·1 258 reads
Dependent on AI: Are We Still Masters, or Slaves?

I have Heidegger and my notebook beside me. I am asking where all of this is heading, where artificial intelligence is taking us.

21 June 2026·1 818 reads
Everything with AI agents, or fully offline.

Four days in Catalonia. No computer, no AI, almost no social media. I bought this notebook so that I could write down what I would think about, and what I would come across and learn on the trip.

10.5.2026·2 070 reads
NEWSLETTER
What I write about, what I am working on, what I learned.
Sent the first Sunday of the month. Unsubscribe anytime.