Skip to content

Daily

Copy yesterday's metrics from a sheet into a Notion daily report

Each morning, yesterday's campaign totals are added up from your metrics sheet and saved as an entry in your Notion daily-report database.

Runs
Daily
Apps
Google Sheets, Notion
AI
Not needed
Access
Sheet read; Notion insert

Send this to your assistant

Create a ClickRuntime automation: every morning, add up yesterday's spend, clicks and conversions from my Metrics sheet and create an entry in my Notion daily-report database.

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 small marketing team exports ad results into a spreadsheet every day, but plans and discusses campaigns in Notion. Someone copies the totals across each morning, and on busy days the report is skipped.

Having yesterday's numbers appear in Notion every morning keeps the daily report reliable. Discussions start from the same figures and trends are easy to spot over weeks.

What you get out of it

  • The daily report always exists

    An entry appears every morning without anyone copying numbers. Gaps in the record disappear.

  • Numbers where decisions are made

    The team sees results next to campaign plans in Notion. Changes are made with the latest data in view.

  • No copy-paste mistakes

    Totals are added up directly from the sheet. Typos and missed rows stop creeping into reports.

  • Trends over time

    A database of daily entries can be charted or filtered by week. Slow declines are noticed early.

How it works

What happens, step by step

  1. Every morning, ClickRuntime reads your Metrics sheet and picks out the rows dated yesterday.

  2. It adds up spend, clicks and conversions across those rows.

  3. A new entry with the totals is created in your Notion daily-report database.

Before it runs live

  • Connect your Google Sheets account and pick the spreadsheets it may use
  • Connect Notion and share the database you want it to use

What you get

RunsDaily
Copy yesterday's metrics from a sheet into a Notion daily reporttoday, 9:00Succeeded
Notion · Daily reportsReport 2026-10-18: spend 412.60, clicks 1,284, conversions 37, cost per conversion 11.15

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 Google Sheets and Notion 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_performance_metrics_to_notion_and_sheets.pyexample
from datetime import date, timedelta
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http

SHEET_ID, DB_ID = "your-spreadsheet-id", "your-notion-database-id"

@on_trigger
def run(event):
    day = (date.today() - timedelta(days=1)).isoformat()
    rows = build("sheets", "v4", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False).spreadsheets().values().get(
        spreadsheetId=SHEET_ID, range="Metrics!A2:D", valueRenderOption="UNFORMATTED_VALUE").execute().get("values", [])
    mine = [r for r in rows if str(r[0]).startswith(day) and len(r) >= 4]
    if not mine:
        return {"rows": 0}
    spend, clicks, conv = (sum(float(r[i] or 0) for r in mine) for i in (1, 2, 3))
    http.post("https://api.notion.com/v1/pages", headers={"Authorization": f"Bearer {credentials.connection('notion', 'work')}",
        "Notion-Version": "2022-06-28"}, json={"parent": {"database_id": DB_ID}, "properties": {
        "Name": {"title": [{"text": {"content": f"Report {day}"}}]}, "Date": {"date": {"start": day}},
        "Spend": {"number": round(spend, 2)}, "Clicks": {"number": clicks}, "Conversions": {"number": conv},
        "Cost per conversion": {"number": round(spend / conv, 2) if conv else None}}})
    return {"rows": len(mine), "spend": round(spend, 2)}

FAQ

Common questions

Which metrics are included?
Any numeric columns in your sheet, such as spend, impressions, clicks and conversions. Cost per conversion can be worked out from those.
What if yesterday's data arrives late?
Set the run for a time after your export usually finishes. If no rows for yesterday are found, no entry is created that day.
Can it compare with the day before?
Yes. The entry can include the change from the previous day for each metric, which makes jumps easy to spot.
What permissions does it need?
Sheet read; Notion insert. 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 (daily). 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 “Copy yesterday's metrics from a sheet into a Notion daily report” from your assistant

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