Resources
How to automate a weekly report that pulls from several systems
Scheduling is the easy part. How to get each system’s data out, make the numbers agree, and check every source before the weekly report goes out.
To automate a weekly report that pulls from several systems, copy each system's data into one place on a schedule, build the report from that copy, and check it before it goes out. The schedule is the easy part: Google Sheets, Excel, Data Studio and every automation tool can run something once a week.
The real work is getting each system's data out reliably, making the numbers mean the same thing, and noticing when one source didn't update. Most weekly reports that "can't be automated" fail on one of those three, not on the tools.
We checked each tool's behavior below against its own documentation on 9 November 2026. Tools change, so check again if you're reading this much later.
Start with the report, not the tools
Before connecting anything, write down every number in the report, with four things about each:
- Where it comes from: the system, and the screen or export a person uses today.
- What it counts: placed orders or paid ones, invoices sent or invoices paid, visits or visitors.
- Which date it uses: the date something happened, or the date it was processed.
- Which week: the day the week starts, and the time zone.
That list is the spec for the build. It's also where most mismatches hide, because two systems can use the same word for different things.
Shopify shows how specific this gets. Its sales reports put a sale on the day it was made and a return or refund on the day it was processed, so a refund can land in a later week than its order.
Its page on sales discrepancies adds that gross sales include canceled, pending and unpaid orders, and that test orders appear in an orders export but not in the sales reports. A finance system that counts paid invoices will disagree with those figures, and both are right.
A common question in automation forums is how to get sales from two channels, or reviews from several platforms, into one weekly sheet. Pulling the data is rarely the hard part; agreeing what each column means is.
Get each system's data out
Every source needs a dependable way out. In rough order of preference:
| Route | Works when | Watch for |
|---|---|---|
| A built-in connector or API | The system has one, and your tool supports it | Access that expires, and fields that get renamed |
| A scheduled export | The system can email a report or save a file on a schedule | Columns that change, or the email landing in spam |
| Another team's spreadsheet | Someone already keeps the numbers in a sheet | Columns moved or renamed by hand |
| A website or portal with no export | Only a person can log in and download it | Logins, two-step sign-in and page changes: the hardest route |
Pull the same date range from every source. If late changes matter, such as refunds, corrections or late data, pull a little more than a week, so you can see when last week's figure moves.
Keep one raw copy, then build the report from it
Put each source's data in its own tab or table, exactly as it arrived, with a column for the date you pulled it. Never edit it by hand, and build the report on a separate tab that only calculates from the raw ones.
That split does three things:
- When someone asks why a number changed, you can see what each system said at the time.
- A broken source shows up as an empty or stale tab, not as a quiet zero in the report.
- You can change how the report looks without touching how the data arrives.
If a run is repeated, it should replace that week's rows, not add them again, or the report counts everything twice. Our guide to duplicate records covers the fixes.
Choose where it runs
Pick the option closest to where the report already lives.
Google Sheets with Apps Script
An Apps Script time-driven trigger can run a script every week on a chosen day and hour. Google notes that the exact time may be slightly randomized within that hour, that it uses the script's time zone, and that it runs under the account of whoever created it, so the report depends on that person's account.
Google's Apps Script quotas cap each run at six minutes, and all of an account's triggers at ninety minutes a day on a personal account, or six hours on Google Workspace. A slow source can hit the six-minute limit.
To pull in another spreadsheet, IMPORTRANGE works once someone clicks Allow access, and it refreshes on Google's own schedule. For a weekly report, a script that copies the values in at a fixed time is easier to check.
Data Studio (formerly Looker Studio)
Data Studio can email a report on a schedule, with a PDF attached and a link to the live report. Without the paid Pro edition, that's at most once a day, with one schedule per report.
The schedule follows your computer's time zone, and a report that contains an error isn't sent. It makes a good front end for data already in Sheets or BigQuery, but it doesn't check the data for you.
Excel with Power BI
In Excel, a Power Query connection can refresh when the file opens, or every set number of minutes. For a refresh nobody has to start, Microsoft's route is scheduled refresh in Power BI.
Data that sits on your own servers needs a gateway. Power BI switches a schedule off after four failed refreshes in a row, or when credentials expire, so someone has to own it.
Zapier, Make or n8n
All three can start a workflow once a week:
- Zapier's Schedule trigger takes a day and a time in your account's time zone, and runs within a few minutes of it.
- Make has a weekly schedule for scenarios.
- n8n's Schedule Trigger runs only once the workflow is saved and published.
A typical build pulls each source, writes rows to the raw tabs, then sends a summary by email or chat. These tools suit sources that have a ready-made app, but the checks below are still yours to build.
Check every source before it sends
A wrong report does more harm than a late one, because people act on it. Add checks that run before the report goes out:
- Did every source update? Each raw tab should have rows for the new week and a fresh pull date. If one is empty, hold the report or flag it at the top, rather than showing a zero.
- Are the numbers plausible? Compare row counts and totals with recent weeks, and send a large swing to a person to look at.
- Does it match the source? Once a month, compare one total with the system's own screen.
- Has the slowest source settled? Some numbers keep moving after the week ends. Google says Analytics 4 data can take a day or two to process, and may change in that time. So a Monday-morning report should either run later or say which numbers can still move.
- Say what's in it. End the report with one line per source: when it was pulled, and the period it covers.
Why the numbers don't match
| What you see | Likely cause | Fix |
|---|---|---|
| A day's sales in the wrong week | The systems use different time zones | Pick one time zone for the report and convert each source to it |
| Sales don't match payments or the books | One counts placed orders, the other paid ones; refunds are dated when processed | Define each number in the spec, and label it in the report |
| A source shows zero | Its connection expired, or the pull failed | Check every source before sending, and hold the report |
| Last week's figure changed | Refunds, corrections or late data | Keep the raw pulls, and note what changed since last week |
| Everything is doubled | A re-run added the same week twice | Replace a week's rows instead of adding them |
| A column is suddenly empty | A field was renamed in an export or API | Check for the expected columns on every pull |
When it stops being a spreadsheet job
A sheet and a schedule carry a weekly report a long way. They stop being enough in four situations:
- A source has no export or API, and someone still logs in to download it.
- There are many sources, each with its own quirks.
- The numbers feed billing or pay, so they have to agree line by line.
- The one person who understands the sheet leaves.
At that point the report needs what any automation people depend on needs: a scheduled pull from each source, one place for the raw data, checks before anything is sent, and someone watching it. That's how we build reports and reconciliations, and how we keep them running after the systems change.
You can see what each step of a build includes.
Written by Pyzen. Drafted with AI help, then checked against each tool's own documentation before publishing.
Next step
Bring us one process.
A free 30‑minute call. An honest answer, even if it isn’t us.