Skip to content

Weekly

Post a weekly website brief to Slack

Every Monday, Slack shows last week's visitors, conversions and top pages compared with the week before, with a short explanation.

Runs
Weekly
Apps
Google Analytics, Slack
AI
Yes, uses the built-in AI allowance
Access
GA4 Viewer for service account; chat:write

Send this to your assistant

Create a ClickRuntime automation: every Monday at 9am, post a brief to #marketing with last week's GA4 users, sessions, conversions and top 5 pages, each compared with the week before, plus a 3-line AI summary of what moved.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

A marketing team of four spends the first part of every Monday meeting pulling up GA4 and arguing about date ranges. By the time everyone agrees on the numbers, there is no time left to talk about what to do.

A brief posted before the meeting means everyone arrives with the same numbers and the meeting starts with what to do about them.

What you get out of it

  • Everyone sees the same numbers

    One brief, one date range, posted where the team already is.

  • Meetings start with decisions

    The numbers are read before the meeting, so time goes on what to do next.

  • Change, not just totals

    Every figure shows how it moved from the previous week.

  • A plain summary

    AI explains the biggest moves in three lines, so people outside marketing can follow it.

How it works

What happens, step by step

  1. Every Monday morning, ClickRuntime asks Google Analytics for last week's and the previous week's numbers.

  2. It works out the change in users, sessions and conversions, and lists the top pages.

  3. AI writes a three-line summary of what moved.

  4. The brief is posted to your #marketing Slack channel.

Before it runs live

  • Connect Google Analytics
  • Connect Slack, then invite the app to the channel (type /invite @ClickRuntime there)

What you get

RunsWeekly
Post a weekly website brief to Slacktoday, 9:00Succeeded
Slack · #marketingWebsite last week: users 4,812 (+14%), conversions 128 (+9%). The Northwind case study drove most of the rise. Top page: /customers/northwind (1,204)

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Run it at a different time, more or less often, or only on weekdays
  • Change what the AI looks for, or how it writes the result
  • Add another app, for example also send it to Google Sheets
  • Combine it with other Google Analytics and Slack steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
weekly_ga4_performance_brief_in_slack.pyexample
from clickruntime import on_trigger, http, credentials, ai, notify

PROPERTY = "123456789"

def ga(body):
    url = f"https://analyticsdata.googleapis.com/v1beta/properties/{PROPERTY}:runReport"
    return http.post(url, headers={"Authorization": f"Bearer {credentials.connection('google', 'work')}"}, json=body).json().get("rows", [])

WEEKS = [{"startDate": "7daysAgo", "endDate": "yesterday"}, {"startDate": "14daysAgo", "endDate": "8daysAgo"}]

METRICS = ["totalUsers", "sessions", "conversions"]

@on_trigger
def run(event):
    totals = ga({"dateRanges": WEEKS, "metrics": [{"name": m} for m in METRICS]})
    now, before = ([float(v["value"]) for v in r["metricValues"]] for r in totals)
    lines = [f"{m}: {a:,.0f} ({(a - b) / b * 100:+.0f}%)" if b else f"{m}: {a:,.0f}" for m, a, b in zip(METRICS, now, before)]
    pages = ga({"dateRanges": WEEKS[:1], "dimensions": [{"name": "pagePath"}], "metrics": [{"name": "screenPageViews"}],
                "orderBys": [{"metric": {"metricName": "screenPageViews"}, "desc": True}], "limit": 5})
    lines += ["Top pages:"] + [f"• {p['dimensionValues'][0]['value']} ({p['metricValues'][0]['value']})" for p in pages]
    body = "\n".join(lines)
    summary = ai.generate(body, system="In 3 short lines, explain what moved on this website last week and why it might have.", max_output_tokens=150).text
    notify.slack(f"*Website last week*\n{summary}\n\n{body}", channel="#marketing")
    return {"posted": True}

FAQ

Common questions

Can I add our own goals?
Yes. Name your key events, such as demo requests or sign-ups, and they are added to the brief.
Can it post monthly too?
Yes. Set up a second schedule on the 1st that compares month on month.
Can team members ask follow-up questions?
The brief is a one-way post. For follow-ups, ask your AI assistant through ClickRuntime or open GA4.
What permissions does it need?
GA4 Viewer for service account; chat:write. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run each time it runs (weekly). Checks that find nothing to do and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Post a weekly website brief to Slack” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.