All articles
Integrations
CRM and integrations8 min

Excel and Google Sheets Reports That Build Themselves: How the Pipeline Works and Where AI Fits

Every Monday someone in your company loses a morning to the same routine: export sales from the CRM, copy costs from the bank statement, paste rows into a template, fix the formulas that shifted, and email the file to management. By lunchtime the report is ready — and already slightly out of date. When that person is on leave, there is no report at all. This article explains how an Excel or Google Sheets report that builds itself is put together: the layers it consists of, which part you can hand to AI and which part you never should, and how to launch the first one so you are not rebuilding it a month later.

Why manual reports break even with a good template

The template is rarely the problem. The problem is that a person with a clipboard sits between the data source and the final number. That produces predictable failures:

  • Different exports, different cut-offs. The CRM was exported Monday morning, the bank on Friday evening. Each number is technically correct, yet they do not reconcile.
  • Pasted one row too low. The formula range missed the new data, the total is understated, and nobody notices.
  • Everyone has their own version. "Report_final_v2_fixed.xlsx" lives in three chat threads, and people argue over different files.
  • Knowledge lives in one head. Whether "weekly revenue" includes refunds is known only to whoever builds the report.

Automation removes people from moving data around, and keeps them where judgement matters: defining the metrics and drawing conclusions.

The five layers of a self-building report

LayerWhat it doesTypical tools
1. SourcesHold the original records: deals, payments, orders, ad spendCRM, accounting system, inventory, bank, ad platforms, web forms
2. CollectionPulls new records on a schedule or on an event and appends them to a sheetSource APIs, webhooks, n8n or Make, Apps Script, Power Query
3. Raw dataA separate append-only sheet that nobody edits by handA "raw_*" tab in Sheets or an Excel table
4. CalculationFormulas and pivot tables turn raw rows into metricsSUMIFS, QUERY, pivot tables, Power Pivot
5. DeliveryDisplays the result and sends it to the people who need itA dashboard tab, a link via email, Slack or Telegram, a short written commentary

The key rule: layer three is untouchable. As long as raw data sits separately and is only appended to, any calculation error can be fixed and history recalculated. Once people overwrite numbers directly on the summary tab, the report can no longer be reproduced.

We covered how a source announces a new record, and why those announcements sometimes go missing, in our plain-English guide to webhooks. For reporting this matters: if collection relies only on events with no periodic reconciliation, a lost deal never reaches the total.

What formulas calculate and what AI does

The most common mistake is asking a language model to "work out last week's revenue". A model can slip on arithmetic or skip rows while sounding entirely confident. So numbers are calculated by formulas or a database, and AI handles what formulas cannot: free text and explanation.

TaskWhat AI doesWhat stays with formulas or people
Sales totals, average order value, conversion rateCalculates nothingFormulas; a person signs off the metric definition
Lost-deal reasons typed as free text in the CRMSorts sales reps' comments into 6–8 categoriesA person approves the category list and spot-checks the tagging
Payment descriptions on bank statementsSuggests a cost category for lines the rules did not recogniseThe bookkeeper confirms new mappings, which become rules
Report commentaryWrites 3–5 sentences on what changed versus last weekEvery figure in the text comes from the calculation tab, not the model
Conclusions and decisionsMakes noneManagement

A practical technique for commentary: give the model the finished metrics as a small table — metric, this week, last week, change — and ask it to describe only those. That way no number appears in the text that is not in the report.

Illustrative example with made-up figures: "Leads were down 18% on the previous week at the same ad spend. The drop fell on Wednesday and Thursday. The share of lost deals tagged 'too expensive' rose from 22% to 31% — worth checking what changed on those days." In a live report every percentage is pulled from the calculation tab; the model only links them into sentences.

Excel or Google Sheets?

CriterionGoogle SheetsExcel
Collaboration and sharing a link instead of a fileBuilt inVia OneDrive or SharePoint
Connecting to APIs and automation platformsWidely supported: n8n, Make, Apps ScriptPower Query, Power Automate, Office Scripts
Large volumes and complex modelsHas a per-file cell limit and slows down at hundreds of thousands of rowsCopes better, especially with the data model
Company already on Microsoft 365Another environment for staffThe natural choice

A separate case is when the spreadsheet has quietly become your customer database rather than a report. We look at that scenario, and the signs it is time to move, in Google Sheets as a CRM. Reports are easier to build on top of a system than inside it.

A step-by-step rollout

  1. Start with one report that is already built by hand. Do not invent a new one. Keep the last three or four editions as a reference.
  2. Write down the definitions. One line per metric: where it comes from, what is included, what is excluded. This is where you discover that sales and finance count the same thing differently.
  3. Check access to sources. Does each system offer an API, or at least a scheduled export? If one only allows manual export, note it — that step stays semi-manual for now.
  4. Set up collection into the raw sheet. Each row carries the source's unique ID and a load timestamp, so a second run does not create duplicates.
  5. Build the calculation and reconcile with the reference. For past weeks the new report must match the manual one. A gap is a reason to investigate, not to tweak the formula until it fits.
  6. Add delivery and AI commentary only once the numbers match.
  7. Run both reports side by side for two or three weeks, then retire the manual one.

Where these reports fail and how to guard against it

  • A source renames a field — a column goes blank and the total drops to zero. Guard: an alert when fewer rows than usual arrive.
  • An API token expires — the report still arrives, but with week-old data. Guard: show the last load time prominently on the dashboard.
  • Someone edits a formula "just for a minute". Guard: protected ranges and read-only calculation tabs.
  • Duplicates on re-run — revenue doubles overnight. Guard: load with a unique-ID check.
  • Time zones — evening sales land on the next day. Guard: one time zone fixed in the collector, matching where the business operates.

Keep the collector's service account read-only and limited to the data it needs. If customer personal data flows into the report, ask whether it needs to be there at all — most management reports only need aggregates.

When reports multiply and start contradicting each other, spreadsheets stop coping and you need one database that every report reads from. That is the path we took ourselves — see our ERP across four businesses. More on connecting systems is in the Integrations section.

FAQ

Can I just upload an export to an AI chat and ask for a report?

For a one-off analysis, yes, as long as you check the numbers. For a recurring report, no: results are not reproducible from run to run, and an arithmetic slip is easy to miss.

How often should the report refresh?

As often as decisions are made from it. A weekly owner's report gains nothing from refreshing every five minutes, while stock levels for purchasing are useful daily. More frequent refreshes mean more load on source APIs and make duplicate protection more important.

What if our accounting system has no API?

There is often a scheduled file export or an emailed report the collector can read. If not, that step stays manual, but everything else is automated: someone uploads one file instead of building the whole report.

How much does this cost?

It depends on the number of sources, the quality of their data and how many definitions need agreeing. The first conversation is there to work that out — tell us which report currently takes the most manual effort.

Subscribe to AI Insights

Case studies, tips and AI automation trends — weekly

Want similar results?

Get a free consultation and ROI calculation for your company

Free Consultation

Related Articles

Integrations

Instagram API Limits in 2026: What a DM Bot Can and Cannot Do, and How to Plan Around It

A map of what the official Instagram API allows a bot to do: when you may message a customer, why long replies fail, and what to check before going live.

Integrations

Telegram Mini Apps for Business: Catalog, Booking and Payments Inside the Messenger

What a Telegram Mini App does better than a chat bot, how to connect it to your stock, calendar and an AI agent, and what to test before launch.

Integrations

Telegram Business: How to Connect a Bot to Your Company's Personal Account So It Replies to Customers in Your Name

Customers message your manager directly, not your bot. Here is how Telegram Business lets a bot answer from a personal account, what it can and cannot do, and how to keep it from embarrassing you.

Integrations

Legacy CRM Without an API: How to Connect AI When There Is No Integration

Your in-house or ageing CRM will not share data with anything. Here are five workarounds, where each one breaks, and how to pick the safe one for your system.

Integrations

Shared inbox triage: how AI reads incoming email and routes it to the right person

A shared info@ inbox is where leads and complaints get lost. Here is how AI reads each email, sets topic and urgency, and hands it to the right owner.

Integrations

Webhooks in Plain English: How Your Business Systems Pass Data to Each Other and Why Leads Sometimes Go Missing

How your website, CRM, bot and payment provider notify each other about events, why leads and payments sometimes get lost, and what to ask your vendor.

Automated Reports in Excel and Google Sheets | UNIKA