Weekly GA4 marketing performance digest in Slack

By General Input

Every Monday at 8am, get a Slack post with last week vs prior week traffic, the biggest channel and page movers, and a 30-second narrative your marketing lead can actually read.

Integrations

  • Google Analytics
  • Slack

Type

Agentic Task

Categories

  • Marketing

Build an agent workflow that posts a weekly marketing performance digest from my Google Analytics 4 property to a Slack channel.

Trigger: cron, every Monday at 8:00am in my local time zone.

Each run, the agent should pull two windows from Google Analytics using the Run Report (GA4) operation against my configured property: last week (the most recent completed Monday through Sunday) and the prior week (the seven days before that). Use these metrics: totalUsers, sessions, engagementRate, conversions, and totalRevenue. Run the report twice: once broken down by the sessionDefaultChannelGroup dimension, and once broken down by the landingPagePlusQueryString dimension.

Then have the agent compute, for each row, the week-over-week absolute change and percent change. From those:

1. Identify the top 3 channels and top 3 landing pages that gained the most week-over-week traffic, and the top 3 channels and top 3 landing pages that lost the most. Rank by absolute change in sessions, but show both the absolute and percent change.

2. Flag anything that crossed a meaningful threshold: conversions or revenue swinging more than 20 percent week over week, engagement rate moving more than 5 percentage points, or any channel doubling or halving in sessions.

3. Write a short narrative summary at the top (3 to 5 sentences) that a marketing lead can read in 30 seconds: what changed, why it probably matters, and where to look. The narrative is the headline; everything else supports it.

Then post the result to Slack using the Send a Message operation. The destination channel name should be a configurable input on the workflow. Format the message with the narrative at the top, then a short "Top Movers" section with the gainers and losers as bullets, then a "Worth Noting" section with any threshold flags. Use percent change figures and absolute numbers inline (for example, "Organic Search: +14% sessions, +1,820 visits"), never raw tables. Keep the whole message skim-friendly and under one screen.

Inputs the user should configure when setting this up: the GA4 property ID, the destination Slack channel, the local time zone for the cron, and optional overrides for the threshold values.

If a metric is unavailable for the property (for example, no ecommerce setup means totalRevenue is zero everywhere), the agent should gracefully omit that line rather than fail the run.

Related prompts

Explore more prompts
Call overdue Xero customers with an AI collections agentWin back LiveChat visitors whose chats went unansweredChat quality review board for LiveChat support leadsWin back no-show and cancelled appointments every morningLive Loop returns analytics with product-level drill-downNewsletter pre-flight and approval board for Mailjet sendsTurn a prospect spreadsheet into personalized sequence enrollmentsMailjet email delivery lookup console for support teamsCatch feature flags that never got switched on in productionKajabi customer support console for member access fixes