Skip to content

Weekly

Get a weekly count of new Notion entries

Each Monday your team sees how many new entries were added last week, and how that compares with the week before.

Runs
Weekly
Apps
Notion, Slack
AI
Not needed
Access
Notion read; Slack chat:write

Send this to your assistant

Create a ClickRuntime automation: every Monday, count how many pages were added to my Feedback database in Notion last week and post the number to #product, compared with the week before.

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

Teams track sign-ups, bug reports, customer interviews or content ideas in Notion, and someone eventually asks how many came in this week. Answering means opening the database, filtering by created date and tag, and counting rows, which is a small chore that gets done inconsistently or only when asked. Without a regular figure, a slow decline in new submissions goes unnoticed for months.

Each week ClickRuntime queries Notion with a created_time filter for the last seven days and the tag you care about, counts the matching entries, compares the number with last week's count from saved state, and posts the result in Slack, for example 14 new submissions, up from 9.

Community managers, product teams and founders use it to watch one number without building a dashboard. Teams also use it as a lightweight check that a form or integration feeding Notion is still working.

What you get out of it

  • One number arrives without anyone counting

    The weekly post replaces a filter-and-count routine. The figure is the same every week and is calculated by the same rule. The figure is the same every week and calculated by the same rule, which removes arguments over method.

  • Trends appear in the channel

    Seeing 14, up from 9, tells the team more than 14 alone. A decline across three weeks is noticed while it can still be explained. A decline across three weeks is noticed while it can still be explained and acted upon.

  • The team shares the same facts

    A figure posted in Slack is visible to everyone, which avoids different people quoting different counts. Meetings start from an agreed number. Meetings start from an agreed figure instead of from each person's different guess.

  • Tags let you track what matters

    Filtering by tag means you count only the entries of interest, such as feature requests or enterprise leads. The post answers a specific question. The post answers a specific question rather than offering a number nobody can interpret.

  • It runs without a dashboard project

    You get a useful metric from a Notion database without exporting it to a BI tool. Setting it up takes minutes, and it can be extended later. Setting it up takes minutes, and it can grow into something bigger later if you need it.

How it works

What happens, step by step

  1. Every Monday, ClickRuntime counts the entries added to your Notion database in the past 7 days.

  2. It compares the count with the number from the week before.

  3. A message appears in your #product Slack channel, such as "37 new feedback entries last week (+9 vs the week before)".

Before it runs live

  • Connect Notion and share the database you want it to use
  • Connect Slack, then invite the app to the channel (type /invite @ClickRuntime there)

What you get

RunsWeekly
Get a weekly count of new Notion entriestoday, 9:00Succeeded
Slack · #product📬 37 new feedback entries last week (+9 vs the week before)

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 Google Sheets
  • Combine it with other Notion 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_count_of_new_notion_records_in_slack.pyexample
from datetime import date, timedelta
from clickruntime import on_trigger, credentials, http, state, notify

DATABASE_ID = "your-feedback-database-id"

@on_trigger
def run(event):
    since = (date.today() - timedelta(days=7)).isoformat()
    body, count = {"filter": {"timestamp": "created_time", "created_time": {"on_or_after": since}}, "page_size": 100}, 0
    while True:
        page = http.post(f"https://api.notion.com/v1/databases/{DATABASE_ID}/query", json=body,
                         headers={"Authorization": f"Bearer {credentials.secret('NOTION_TOKEN')}",
                                  "Notion-Version": "2022-06-28"}).json()
        count += len(page["results"])
        if not page["has_more"]:
            break
        body["start_cursor"] = page["next_cursor"]
    last = state.get("last_week")
    change = f" ({count - last:+d} vs the week before)" if last is not None else ""
    notify.slack(f"📬 {count} new feedback entries last week{change}", channel="#product")
    state.set("last_week", count)
    return {"count": count}

FAQ

Common questions

Can it count several tags or databases?
Yes. The post can list one line per tag or per database, each with its count and the change since last week. Say which ones you want and how they should be labelled. Tell your AI assistant which tags to list.
What happens in the first week?
With no saved count to compare against, the first post shows only the current figure. From the second week onward, the post includes the difference from the previous week. The saved figure is stored for later runs.
Does it count edited records or only new ones?
Only new ones, based on each record's created time. If you want to count records that changed status instead, use the last edited time or a status filter, and say so when setting it up.
What permissions does it need?
Notion read; Slack chat:write. 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 (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 “Get a weekly count of new Notion entries” from your assistant

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