Automations / Reporting

Weekly analytics digest

Monday morning: last week against the week before from GA4 and Stripe, explained in five lines by Claude, in Slack and email.

Included with Everything
TriggerEvery Monday 08:00 AppGA4 report, 2 weeks AppStripe charges, 2weeks LogicCompute changes AIWrite digest(Claude) OutputPost to Slack OutputEmail the team
Tools
n8nMakeZapier
Job
Reporting
For
SaaS, Shops, Agencies, Creators
Uses
Google Analytics, Stripe, Claude, Slack, Gmail
Tested
  • n8n 2.42.6: ran end to end against mock APIs, 11 nodes, 5 API calls
  • Make: blueprint structure and mappings checked
  • Zapier: steps, references and code steps checked
2026-10-11

What it does

  1. Runs every Monday at 08:00 (the workflow's time zone).
  2. Works out last week (Monday to Sunday) and the week before.
  3. GA4: active users, new users, sessions, page views, engagement rate and key events for both weeks, by channel.
  4. Stripe: every charge in the two weeks; revenue is succeeded charges minus refunds, in your currency.
  5. Computes the changes and the top channels.
  6. Claude writes five short lines: the headline, traffic, channels, revenue, and the one thing to check.
  7. Posts the lines to Slack and emails them to the team with a table of the figures.

Prerequisites

  • GA4 property (Viewer access)
  • Stripe restricted key (Charges: read)
  • Anthropic API key
  • Slack bot with chat:write
  • Gmail or Google Workspace account (Google OAuth client with the Gmail and Analytics Data APIs on)

Settings

PlaceholderWhatWhere it goes
ANTHROPIC_API_KEYClaude API keyAnthropic API credential, header x-api-key
GOOGLE_CLIENT_IDGoogle OAuth client IDGoogle Analytics and Gmail credentials (OAuth2), Client ID
GOOGLE_CLIENT_SECRETGoogle OAuth client secretGoogle Analytics and Gmail credentials (OAuth2), Client Secret
STRIPE_RESTRICTED_KEYStripe restricted key, Charges readStripe credential, Secret Key
SLACK_BOT_TOKENSlack bot tokenSlack bot credential

Keys stay in your tool's credentials, never in the files.