Skip to content

On a schedule

Get a weekly plan from your Notion tasks

Each Sunday evening you get next week's tasks grouped by priority, so Monday starts with a plan.

Runs
On a schedule
Apps
Notion
AI
Yes, uses the built-in AI allowance
Access
read

Send this to your assistant

Create a ClickRuntime automation: every Sunday at 6pm, take the tasks in my Notion Tasks database due in the next 7 days, group them into a prioritised plan for the week, and email it to me.

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 consultant plans the week in a Notion tasks database with Due, Priority and Project properties. By Sunday evening there are forty open items across six clients, and sorting them in her head is the part of the weekend she dreads. Without a plan, Monday starts with whatever email arrived first, and the one deadline hidden at the bottom of the list gets missed.

Every Sunday, tasks due in the next seven days are pulled from the database and handed to ClickRuntime's built-in AI. It groups them by priority, flags where several deadlines pile up on the same day, and writes a brief plan that is emailed to you ready for Monday morning.

It is useful for freelancers, managers with many small commitments, and students planning coursework. It is especially helpful when workloads swing from week to week.

What you get out of it

  • Monday starts with a plan, not a scramble

    A grouped list in your inbox means the first hour of the week goes to the highest priority task, not to rereading a Notion board to decide. It turns planning into a quick read.

  • Hidden deadlines surface early

    A task due Thursday that you forgot about is placed beside everything else due that day, so you see a crunch coming while there is still time to move things. The result is a calmer start to the week.

  • Weekend planning time shrinks

    Instead of sorting forty tasks by hand, you read a one-page summary and correct what is off. Most people finish that in minutes. Planning stays quick even in a heavy week.

  • Priorities follow your own labels

    The summary uses the Priority property you already set, which rewards keeping the database tidy and makes the output consistent from week to week. Consistent labels make every weekly plan more reliable.

  • A weekly record of intended work

    Each summary email documents what you planned. Comparing a few weeks shows whether you overcommit, which helps when quoting new work. Over months, the pile of emails shows how your workload really behaves.

How it works

What happens, step by step

  1. Every Sunday at 6 pm, the automation collects the Notion tasks due in the next seven days.

  2. AI reads the list, groups the tasks by day and priority, and writes a short plan for the week.

  3. The plan is emailed to you, so Monday starts with a clear list of what to do first.

Before it runs live

  • Connect Notion and share the database you want it to use

What you get

RunsOn a schedule
Get a weekly plan from your Notion taskstoday, 9:00Succeeded
Email · Your plan for the weekMonday: finish the Acme proposal (due Tue), prep Northwind call. Tuesday: send proposal, review Q4 budget.

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 Slack
  • Combine it with other 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.
weekly_ai_planning_summary.pyexample
from datetime import date, timedelta
from clickruntime import on_trigger, credentials, http, ai, notify

NOTION = "https://api.notion.com/v1"

def headers():
    return {"Authorization": f"Bearer {credentials.secret('NOTION_TOKEN')}", "Notion-Version": "2022-06-28"}

def query(db, body=None):
    resp = http.post(f"{NOTION}/databases/{db}/query", headers=headers(), json=body or {})
    resp.raise_for_status()
    return resp.json()["results"]

def title(page, prop="Name"):
    return "".join(t["plain_text"] for t in page["properties"][prop]["title"])

TASKS = "tasks-database-id"

@on_trigger
def run(event):
    today = date.today()
    rows = query(TASKS, {"filter": {"and": [
        {"property": "Done", "checkbox": {"equals": False}},
        {"property": "Due", "date": {"on_or_before": (today + timedelta(days=7)).isoformat()}}]},
        "sorts": [{"property": "Due", "direction": "ascending"}]})
    if not rows:
        return {"tasks": 0}
    tasks = "\n".join(f"{title(r)} (due {r['properties']['Due']['date']['start'][:10]})" for r in rows)
    plan = ai.generate("Group these tasks into a prioritised plan for the week, day by day, most important first:\n" + tasks,
                       max_output_tokens=800).text
    notify.email_me("Your plan for the week", plan)
    return {"tasks": len(rows)}

FAQ

Common questions

Does the summary invent tasks that aren't in my database?
The AI is given only the tasks pulled from Notion and asked to group and prioritize them. It writes about those items. You should still skim the email, since AI wording can occasionally misread a vague task title.
Which tasks count as next week's tasks?
Tasks with a Due date in the coming seven days and a status that is not Done are included. Tasks without a due date are left out unless you ask for them to be listed in a separate backlog section.
Can the plan arrive on Friday afternoon instead?
Yes. The day and hour are part of the schedule, so Friday at 4 pm works as well as Sunday evening. Note the lookahead window is counted from the day the run happens. The schedule accepts any day and time.
What permissions does it need?
read. 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 (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 “Get a weekly plan from your Notion tasks” from your assistant

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