Библиотека / Отчёты, аналитика и дашборды
Отчёты, аналитика и дашборды
Отправлять еженедельные отчёты клиентам по данным Meta, Google Ads и GA4 через Gmail
Запускается вручную: читает конфигурацию из Google Sheets, получает данные рекламы и аналитики по каждому клиенту, формирует текстовое описание через OpenAI и отправляет отчёты через Gmail и Slack с журналом дедупликации.
Что делает
# 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.
Шаги
- 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.
Похожие автоматизации
Мониторинг, эксплуатация и инцидентыОбнаружение аномалий рекламных расходов и проблем с темпом расходования в Google Ads, Meta и GA4Шагов: 23Написание и генерация контентаСоздание видео- и графической рекламы Meta из Drive с OpenAI и GeminiШагов: 49Публикации в соцсетяхЗагрузка видео- и графической рекламы в Meta из SheetsШагов: 34Отчёты, аналитика и дашбордыЕженедельный PDF-отчёт по Meta Ads в SlackШагов: 12