Need human help? Apply ›
ElijahWestbrook.com

Home / Workflows

Weekly Analytics and Learning Loop

Every week, your numbers from social, ads, website and sales are pulled into one report that says what did well, what did badly and why, and writes next week's changes (it makes the safe ones itself and asks you about the rest).

Claude CodeShopifyClauden8nOpenAI APIGoogle SheetsMakeZapier
3 to 5 hoursto set up
Mediumdifficulty
8886steps
14videos it’s built from

Paid8886 steps · Unlock

Which AI are you building this with?

Claude Code, Codex and Antigravity CLI read your numbers, write the report and run every Monday on their own. ChatGPT can do the same analysis when you upload the files, but you start it yourself each week. Prices checked November 7, 2026.

What Claude Code does on its own: Pulls Google Analytics and Stripe by itself (if you use them), reads the other exports and screenshots you drop in a folder, checks the numbers, writes the report and next week’s changes, and remembers what it learned.

Where it needs help: TikTok, Instagram and most ad accounts don’t let a small business pull numbers by API, so you export those (about 10 minutes a week). Your computer has to be on Monday morning.

What Codex does on its own: Pulls Google Analytics and Stripe by itself (if you use them), reads the other exports and screenshots you drop in a folder, checks the numbers, writes the report and next week’s changes, and remembers what it learned.

Where it needs help: TikTok, Instagram and most ad accounts don’t let a small business pull numbers by API, so you export those (about 10 minutes a week). Your computer has to be on Monday morning. Codex has no built-in schedule, so you add one Windows Task Scheduler (or Mac cron) job; a step walks you through it.

What Antigravity CLI does on its own: Pulls Google Analytics and Stripe by itself (if you use them), reads the other exports and screenshots you drop in a folder, checks the numbers, writes the report and next week’s changes, and remembers what it learned.

Where it needs help: TikTok, Instagram and most ad accounts don’t let a small business pull numbers by API, so you export those (about 10 minutes a week). Your computer has to be on Monday morning. Its free tier should cover this, but Google has cut the quota several times; Google AI Pro is $19.99/mo if it runs out. Its scheduled run writes a summary file, since “agy -p” can print nothing when no window is open.

What ChatGPT (chat only) does on its own: Reads the CSV files and screenshots you upload, checks them, compares the weeks and writes the report.

Where it needs help: It can’t log in anywhere or run on a schedule, and it forgets last week unless you paste your notes in. Keep a “learnings” Google Doc and paste it in every time.

8886 total steps
Get all 8886 steps and the copy-paste prompts: $9Or every workflow for $40, one time, new ones included.

If it doesn’t work for you, get your money back within 30 days. Refunds · Already bought?

Go deeper

Where it can run, the checks, how it learns, what goes wrong and the proof.

Built from what the videos in our study show working. General information, not legal, tax or financial advice.

What it covers

Track what performs (analytics), Build reports and dashboards, Report on ad results, Adjust budgets and pause losing ads. Doesn’t cover: It does not make the content, run the ads, answer customers or post anything. It does not spend money, change ad budgets or pause ads without your yes. It cannot read a platform you have not given it access to, and it cannot tell you WHY something worked when the sample is tiny.

Where it can run

OptionBest forRuns on its ownMonthly cost
Claude Code or Claude Cowork with scheduled tasks and connectorsOwners who want it to run itself weekly and read files, spreadsheets and connected apps. Cowork needs the desktop app and a paid plan (the study video says Pro at minimum). Used in the Shopify and creative-strategy recipes.YesNeeds a paid Claude plan; price varies, check Anthropic's pricing page. The computer or app must be open when the task runs.
n8n (cloud or self-hosted) + Claude or OpenAI APIAlways-on, no computer needs to be left open. Pulls from APIs on a timer, writes to Google Sheets, emails the report.YesOne study recipe showed $5/month for a hosted n8n and about 24 GBP/month for n8n Cloud. Model usage is extra and varies.
Make or Zapier + a Google SheetOwners who do not want code. Pulls numbers into one sheet each week; the AI step writes the summary.YesBoth have a free tier with limits; paid plans vary.
Manual: export CSVs and paste into ChatGPT or ClaudeStarting out, or platforms with no connector. Same prompts, you do the pulling.NoFree apps work; paid plan varies.

Models

  • Pulling and cleaning numbers: A cheap, fast model (a small Claude or OpenAI model) or no model at all, just the connector. This is copy work. Do not pay for a strong model to move numbers.
  • Comparing and explaining what did well or badly: The strongest model you have (Claude Opus or Sonnet class, or the best GPT). Judgment and caution about small samples matter here.
  • Writing next week's plan and the owner summary: A strong model. Needs to follow your profile.md rules and keep the voice plain.
  • Checking the report against the raw numbers: A second, different model if you can. A second opinion catches maths and made-up causes.

Quality checks

CheckIf it fails
Every number in the report matches the Scoreboard sheet (fact-check prompt returns PASS).Hold the report, regenerate once, and if it still fails send the raw sheet to the owner with a note.
All sources cover the same seven days and none are missing.Report anyway but put a clear 'Missing: [source]' line at the top. Never fill a gap with zero or a guess.
No post is judged before its 48-hour or 7-day mark, and none with fewer than 5 comparable posts.Label it 'too early' or 'too few to judge'.
No more than 3 changes are proposed, and none repeats a logged failure.Cut to the 3 with the strongest numbers behind them.
Nothing in LIST B was acted on by the AI.Stop the loop, undo the change, and turn off autonomous steps until you review the setup.
HOLD FOR A HUMAN: a number moved more than 3x, a refund or complaint spike appears, ad spend exceeds your cap, or a platform sign-in has expired.Send a short alert to the owner and skip the 'changes' step until they reply.

Learning loop

Reads: Social platform analytics (per post), ad platform results, website analytics, and sales or bookings. Pulled weekly (Monday) plus a daily check for posts that just reached 48 hours or 7 days.

When: Fixed checkpoints: 48 hours and 7 days per post, weekly for the whole business, and a monthly look at what the changes added up to. Never judge at random times.

Compares: Each post against your own posts of the same type, platform and age; this week against last week and against your 4-week average; ads against each other on one chosen number. Needs at least 5 comparable posts or the agreed ad data before it says anything.

Changes on its own: On its own: next week's content plan file (topics to repeat or drop, hooks, lengths, posting times, caption wording) and learnings.md. With your yes only: ad pauses and budget moves, prices, offers, new platforms. Max 3 changes a week so you can tell what worked.

Guardrails: Read-only access to every platform. It cannot spend money, post, delete or change an ad. It never judges small samples. It keeps a written undo for every change. A change that did not help after its checkpoint is logged as failed and not repeated. If results drop two weeks in a row after a change, it proposes undoing it. You can switch off the self-made changes at any time and keep the reports.

What goes wrong (and the fix)

ProblemFix
Platform sign-in or token expires and the pull silently returns nothing.The data check marks that source 'missing' and sends an alert. Reconnect it. Never let a blank become a zero.
Connector gives mixed or inconsistent results (a study recipe saw this with a campaign search).Add the exact account or URL to profile.md, and have the fact-check step compare with an export once a month.
The AI invents a reason for a result.The 'because' rule: each cause needs a number or the word 'guess'. The checker prompt flags the rest.
Choosing 'Always allow' on a connector lets the AI change live things (a study creator warned this can break a store).Keep connectors read-only or 'Ask for permission'. Make this loop read-only.
Too many changes at once, so you cannot tell what worked.Cap at 3 changes and log each with its own checkpoint.
Creative or posting volume falls behind spend and results drop (one ads recipe discussed this).The report shows posts or creatives per week next to spend, so a gap shows up.
Very big data sets are slow (a recipe capped one run at 3,000 reviews).Limit each pull to the last 7 days or the last N items.
The desktop app is closed when the scheduled task should run.Leave the app open on schedule, or move to n8n or Make for always-on.

Proof from the study

The study has 113 videos on 'Track what performs (analytics)': about 22% ran fully by themselves, 76% with a person in the loop, 2% needed a person. 'Build reports and dashboards': 218 videos, 36% fully automatic. 'Report on ad results': 10 videos, 50% automatic. 'Adjust budgets and pause losing ads': 29 videos, 45% fully automatic. Top tools across these tasks: Claude, ChatGPT, Gemini, Google Sheets, Gmail, n8n, Make, Slack. None of the recipes we read had an automated learning loop beyond a periodic review (one compared before and after a store change); most were summaries with a person deciding, so the loop in this workflow is our own design.

Know someone who would use this?

What should we add next?