Automation · Guide

A Weekly Report That Writes Itself: Using AI to Pull Numbers From Every System You Use

By Andrew Ling ·

This article contains affiliate links. If you sign up through one, we may earn a commission at no extra cost to you. How this works.

Short answer

You can have a report email itself to you every Monday morning with last week's numbers from your CRM, payments, website and spreadsheets, and a few sentences on what changed. In n8n that is one workflow: a weekly schedule, one step per system, a step that does the math, an AI step that writes the words, and an email. Let code calculate the numbers and let AI only describe them.

The short version, in under a minute.

What is a weekly report that writes itself?

Here is the one-sentence version: "Every Monday at 7, an email lands with last week's new leads, money in, website visits and the numbers from our tracking sheet, compared with the week before, and three sentences on what moved and what to look at." Nobody opens five tabs to make it.

My view: nobody should spend Monday morning copying numbers out of five systems into a spreadsheet. That job is done. The thinking about what the numbers mean is still yours, and a report that arrives finished gives you the whole hour for it.

This is different from a dashboard. A custom dashboard waits for you to open it. A weekly report comes to you, says what changed, and keeps a record of every week.

Which numbers belong in a weekly report?

Five numbers you act on beat twenty you skim. Pick the questions first, then find where each answer lives:

How many new leads came in?
Where the number livesYour CRM
How n8n gets itThe HighLevel node (Opportunity, Get many) or an HTTP Request to the opportunities search endpoint
How many deals did we win or lose?
Where the number livesYour CRM
How n8n gets itSame search, filtered by status: won, lost, open
How much money came in?
Where the number livesStripe
How n8n gets itThe Stripe node (Charge) or an HTTP Request to the balance transactions list, filtered by created date
Did anyone visit the website?
Where the number livesGoogle Analytics
How n8n gets itAn HTTP Request to the Analytics Data API runReport method for sessions and activeUsers
Everything we count by hand (calls, volunteers, jobs finished)
Where the number livesA Google Sheet
How n8n gets itThe Google Sheets node, reading last week's rows

If a number would not change what you do this week, leave it out.

Can I try it this week without building anything?

Yes, and you should, because it tells you which numbers you actually read. Make a Google Sheet with one row per week and one column per number. On Monday, type last week's numbers in by hand, copy the last eight rows, and paste them into Claude with this prompt:

"These are my business's weekly numbers, one row per week, newest at the bottom. Columns: week starting, new leads, deals won, deals lost, money in, website sessions, jobs finished. Write me a Monday note of no more than 120 words. First line: the one number that moved most compared with the week before and the 8-week average, with both figures. Then two sentences on anything unusual. Then one question I should ask my team this week. Do not do any math I can't check: show every comparison as both raw numbers. If a column is blank, say so instead of guessing."

Do that for three Mondays. If you read the note every time, automate it. If you skip it, you just saved yourself a build.

How do I build it in n8n, step by step?

n8n Cloud has a 14-day trial of the Pro plan, and the self-hosted Community Edition runs free without a license key. Either works for this. The steps:

  1. Create a workflow and open its settings. Set the workflow timezone to yours, or the schedule uses the server's
  2. Add a Schedule Trigger. Set the interval to Weeks, Weeks Between Triggers to 1, Trigger on Weekdays to Monday, and the hour to 7. The cron version is 0 7 * * 1
  3. Add one branch per system. For GoHighLevel, create a Private Integration token and use it as a header credential, or use the built-in HighLevel node. For Stripe, create a restricted key and give it only the permissions the report needs. For the sheet, connect the Google Sheets node
  4. Add a Merge node to bring the branches back together, then a Code node that does all the math: last week's totals, the week before, the change, and the 8-week average. The output is one small object with every figure in it
  5. Add a Google Sheets node that appends that object as a new row in a History tab. Now the report keeps its own record
  6. Add a Basic LLM Chain with the Anthropic Chat Model attached, using an Anthropic API key. Give it the numbers object and the prompt below
  7. Add a Gmail node (or a Slack node) that sends the result to you, with the raw numbers table under the AI's note
  8. Build a second workflow that starts with an Error Trigger node and emails you, and pick it under Settings, Error workflow. If a key expires, you hear about it

The prompt for the AI step:

"You write a Monday note for the owner of a small business. Below is a JSON object with last week's numbers, the week before and the 8-week average for each metric. All math is already done. Do not calculate anything new and do not round differently. Write under 120 words: the biggest change first with its figures, then anything more than 25% away from its average, then one question to ask the team. Plain words, no exclamation points. If a value is null, write that the source did not report it. Numbers: {{ $json }}"

What does it look like when it works?

Monday at 7 an email arrives titled something like "Week of Nov 23: leads down, revenue steady." The top is four short lines written by the AI. Under it sits a plain table, one row per metric, with last week, the week before and the 8-week average. Your History tab has one more row.

Each run counts as one execution in n8n no matter how many steps it has, so a weekly report uses about five executions a month. The AI step costs fractions of a cent: Claude Haiku 4.5 is $1 per million input tokens and $5 per million output tokens, and this prompt is a few thousand. To compare what the automation itself costs on n8n, Zapier and Make, use the automation cost comparison.

Where does an AI-written report go wrong?

  • AI doing math. Language models add badly and sound sure about it. Keep every calculation in the Code node and tell the AI not to compute. This is the rule that matters most
  • Write access it does not need. Every key in this workflow should be read-only. A report has no reason to change a deal or issue a refund
  • Silent zeros. A broken connection can look like a slow week. The error workflow catches most of it
  • Customer details in the prompt. Send totals, not names. The AI does not need to know who paid

What is the next rung?

Once the report runs, make it explain itself. Swap the Basic LLM Chain for an AI Agent node and give it two read-only tools: the opportunities search and the History tab. Add one instruction: "If any metric is more than 25% from its average, look up the deals behind it and say what they have in common, in one sentence, with the deal count." Now a drop in won deals comes with "six of the nine lost deals were from the same campaign" instead of just a red number. This is a weekend, or a call with someone who has built an n8n agent before.

The use most people miss: the same numbers can feed more than one reader. Add a second AI step with a different prompt and send it to a different person. A nonprofit director can have the board's monthly update drafted from the History tab. An owner can send the bookkeeper a note on money in. One workflow, three reports, A person still reads anything that goes outside the building before it is sent.

When do you not need this?

  • You look at your numbers once a month. Run the manual version monthly instead
  • Nobody will act on it. A report nobody reads is just another email
  • Your data is not reliable yet. If deals are not moved to won or lost, fix that habit first. What to automate first has the order I would go in

If your leads and deals live in GoHighLevel, its own dashboards may be enough for the CRM side. The report earns its keep when the numbers are spread across systems that do not talk to each other.

Frequently asked questions

Do I need to know how to code to build this in n8n?

No. Most of it is drag and drop. The Code node is the one place that needs a few lines of JavaScript, and an AI assistant can write them if you describe the numbers you want and paste a sample of the data.

Why not let the AI calculate the numbers too?

Language models make arithmetic mistakes and state them confidently. Let code do the math and let the AI describe results it was handed. Then every figure in the report can be checked.

What happens if one of my systems is down on Monday?

Set up an error workflow with the Error Trigger node so a failure emails you. Also tell the AI to say when a value is missing, so a broken connection never reads like a quiet week.

Keep reading

More in Automation.

Free newsletter

Get the weekly AI update for small teams

One short email a week: what changed in AI and in the tools small teams run on, what it means for you, and what to do about it. No spam, unsubscribe any time.

Tools mentioned in this article

  • Workflow automation

    n8n

    A workflow automation tool that connects apps and APIs, with a visual builder and the option to self-host.

    Try n8n

    Affiliate link. We may earn a commission.

  • AI assistant

    Claude

    An AI assistant from Anthropic for writing, analysis and coding, with Claude Code for work that runs across your files and connected tools.

    Try Claude
  • CRM and marketing automation

    GoHighLevel

    An all-in-one CRM with pipelines, calendars, forms, funnels, email, texting and workflow automation in one account.

    Try GoHighLevel

    Affiliate link. We may earn a commission.

We only recommend products we have used and tested ourselves and stand behind. Some links on this page are affiliate links, which means we may earn a commission if you sign up, at no extra cost to you. Those commissions help us keep testing, building and recommending tools that are worth your time.