Library / Reports, Analytics & Dashboards
Reports, Analytics & Dashboards
Send weekly client reports from Meta, Google Ads and GA4 data via Gmail
Manually triggered run that reads a Google Sheets config, fetches each client's ad and analytics data, writes an OpenAI narrative, and sends reports through Gmail and Slack with a dedupe ledger.
What it does
# Weekly client reports — one sheet drives every client, source and send ┌────────┐──▶┌────────┐──▶┌───────┐──▶┌───────────┐──▶┌────────┐──▶┌────────┐ │ config │──▶│ expand │──▶│ fetch │──▶│ normalize │──▶│ deltas │──▶│ dedupe │ └────────┘──▶└────────┘──▶└───────┘──▶└───────────┘──▶└────────┘──▶└───┬────┘ │ ┌────────┐◀──┌────────┐◀──┌───────┐◀──┌────────┐◀──┌──────▼────┐ │ digest │◀──│ ledger │◀──│ sinks │◀──│ render │◀──│ narrative │ └────────┘◀──└────────┘◀──└───────┘◀──└────────┘◀──└───────────┘ Who it's for: agencies and freelancers who write the same per-client performance report every week. How it works: every Monday the workflow reads a config tab — one row per client, one column per data source (src_meta_ads, src_google_ads, src_ga4) and per delivery sink (sink_gmail, sink_slack), plus per-client delivery_mode (send/draft), brand cells (brand_name, brand_color, brand_logo_url) and alert_threshold_pct. Enabled sources are fetched and normalized into one metric contract; a Code node computes week-over-week deltas deterministically (the AI never does math) and flags metrics whose |delta| crosses the client's threshold; the AI writes the prose around the precomputed table; the report renders as a per-client branded HTML email — sent, or filed as a Gmail draft for owner review — and/or posts to the client's Slack channel, then logged to a reports tab keyed client_id+ISO week so re-runs in the same week are skipped as duplicates. Every run ends with one digest emailed to the operator. Setup: run the orange SETUP lane once to create the workbook, paste the printed spreadsheet_id into Workflow Config, attach credentials (Gmail + Sheets + OpenAI nodes, plus a Header Auth / Custom Auth credential on each HTTP fetch/post node — API tokens never live in the artifact or in env vars), set your address in Operator email, fill the config tab, activate. Test workflow runs a four-client demo with zero credentials. Contract — side_effects: Gmail sends/drafts, Slack posts, reports-tab upserts, one operator digest email per run. rollback: set enabled to no in the row, or deactivate the workflow; delete the reports row to allow a re-send.
The steps
- When clicking 'Test workflow'
- Demo config (fixture)
- On workflow error
- Operator email
- Format error alert
- Email owner: workflow error
- Weekly tick — Monday 09:00
- Workflow Config
- Read config tab
- Read reports ledger
- Collect sent keys
- Validate clients
- Expand enabled sources
- Has source?
79 steps in total.
Similar automations
Monitoring, Ops & IncidentsDetect ad spend anomalies and pacing issues across Google Ads, Meta and GA423 stepsContent Writing & GenerationCreate Meta Video and Image Ads from Drive with OpenAI and Gemini49 stepsSocial Media PublishingUpload Video and Image Ads to Meta from Sheets34 stepsReports, Analytics & DashboardsSend a Weekly Meta Ads PDF Report to Slack12 steps