Skip to content

On a schedule

Post your daily audience numbers to Slack

Each morning Slack shows your audience size and how many people joined and left since yesterday.

Runs
On a schedule
Apps
Mailchimp
AI
Not needed
Access
read

Send this to your assistant

Create a ClickRuntime automation: every morning at 9am, post my Mailchimp audience size, new subscribers and unsubscribes since yesterday to #marketing in Slack.

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 team that shares its numbers in Slack tends to keep looking at them. A team that has to log into Mailchimp for the audience total usually does not. The size of the list, the very figure that drives every campaign's reach, ends up checked only when someone writes a quarterly deck, and a sudden drop after a bad send goes unnoticed for weeks.

On the schedule you choose, this reads your audience statistics from Mailchimp, compares the current member count with the value saved at the last run, and posts the total and the change since then into a Slack channel. The new total is saved afterwards, ready for the next comparison.

Marketing leads use it to give the whole company a pulse on list growth, and agencies post it into a client channel.

What you get out of it

  • Everyone sees the same audience number

    Putting the total in a shared channel ends the argument about whether the list has 18,400 or 19,100 contacts. Sales, content and leadership all work from one figure that was read from Mailchimp, not recalled.

  • A drop is caught the day it happens

    If a large unsubscribe wave or a cleanup removes 600 contacts, the negative change appears in Slack at the next run. You can look into the campaign that caused it while the details are fresh.

  • Growth becomes a team habit

    Seeing plus 42 next to the date each morning keeps list-building on people's minds. Small wins get noticed, and when growth stalls, somebody asks why in the thread underneath the post.

  • No dashboards to log into

    Not everyone has a Mailchimp seat, and you may not want to give them one. The post gives non-marketers the one number they care about without sharing account access. Marketing can keep the account tight while everyone else stays informed.

  • History sits in the channel

    Scrolling back through the posts gives you a dated record of the audience size. It answers where we were before the launch without anyone having to dig up an old export.

How it works

What happens, step by step

  1. Every day, ClickRuntime reads your Mailchimp audience totals.

  2. It compares them with yesterday's numbers.

  3. A message goes to your #marketing Slack channel with the total subscribers, new sign-ups and unsubscribes since yesterday.

Before it runs live

  • Connect Mailchimp

What you get

RunsOn a schedule
Post your daily audience numbers to Slacktoday, 9:00Succeeded
Slack · #marketingAudience: 12,480 subscribers · +37 new · 6 unsubscribed since yesterday

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
  • Add an AI step, for example to summarize, sort or draft a reply
  • Add another app, for example also send it to Slack
  • Combine it with other Mailchimp 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.
daily_subscriber_report_to_slack.pyexample
from clickruntime import on_trigger, http, credentials, notify, state

LIST_ID = "AUDIENCE_ID"

def mailchimp(method, path, **kw):
    key = credentials.secret("MAILCHIMP_API_KEY")
    r = http.request(method, f"https://{key.split('-')[-1]}.api.mailchimp.com/3.0{path}", auth=("clickruntime", key), **kw)
    r.raise_for_status()
    return r.json() if r.content else None

@on_trigger
def run(event):
    stats = mailchimp("GET", f"/lists/{LIST_ID}")["stats"]
    prev = state.get("prev") or stats
    joined = stats["member_count"] + stats["unsubscribe_count"] - prev["member_count"] - prev["unsubscribe_count"]
    left = stats["unsubscribe_count"] - prev["unsubscribe_count"]
    notify.slack(f"Audience: {stats['member_count']:,} subscribers · +{joined} new · {left} unsubscribed since yesterday",
                 channel="#marketing")
    state.set("prev", {k: stats[k] for k in ("member_count", "unsubscribe_count")})
    return {"members": stats["member_count"]}

FAQ

Common questions

Does the change compare with yesterday or with the last run?
It compares with the value stored at the previous run, so the change reflects whatever period lies between runs. If you schedule it daily, you get a day-over-day figure, and if you choose weekly, the difference covers the week.
What happens on the first run, when there is nothing stored?
The first run posts the current audience size and saves it, with no change shown because there is no earlier number to compare with. From the second run onwards, the post includes the difference. Nothing is lost in the meantime.
Can it post to a different Slack channel for each audience?
Yes. Each setup reads one Mailchimp audience and posts to one Slack channel, so a store list and a newsletter list can report to different channels with their own totals and trends. Each channel then shows only its own list.
What permissions does it need?
read. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run each time it runs (on a schedule). 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 your daily audience numbers to Slack” from your assistant

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