Daily or weekly
Create recurring tasks in Notion
Weekly and monthly tasks are added to Notion on time, and each owner is told in Slack.
- Runs
- Daily or weekly
- Apps
- Notion, Slack
- AI
- Not needed
- Access
- Notion read+insert; Slack chat:write
Send this to your assistant
Create a ClickRuntime automation: every Monday, create this week's recurring tasks in my Notion tasks database from my Recurring database, and message each owner in Slack.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Every team has chores that repeat: monthly invoicing, a Monday metrics review, quarterly access reviews, renewing a domain every year. Notion has no dependable repeating tasks across a database, so people copy last month's page by hand or keep a calendar reminder that is not connected to the work. The task is created late, assigned to the wrong person or simply forgotten, and the missed access review is found during an audit.
ClickRuntime reads a rules database in Notion where each row describes a recurring task, its owner and how often it repeats. Daily or weekly, it creates the due task pages that do not exist yet, using saved state to avoid duplicates, and posts a Slack message to each owner with the new task.
Operations managers and finance teams use it for the routine work that keeps a business compliant.
What you get out of it
Routine work appears without anyone remembering
On the first of the month the invoicing task is already in the database, assigned and dated. The chore no longer relies on a person's calendar or good intentions. The chore stops depending on a personal calendar entry or on someone's good intentions.
Owners are told where they will notice
A Slack message goes to the person responsible when the task is created. They act on it right away, rather than discovering it on the due date. They act when the task is created rather than discovering it on the due date.
The schedule is a table anyone can edit
Rules are plain Notion rows, so adding a quarterly review or changing an owner takes a minute. No one needs to touch the automation when the routine changes. Nobody has to touch the automation itself when the routine changes.
Duplicates are prevented
The record of created tasks means a rule produces one page per period. A run repeated after a hiccup does not fill the database with copies. A run that is repeated after a hiccup does not fill the database with copies.
Evidence for audits builds itself
Each completed instance stays as a dated page. Showing that the access review ran every quarter for two years is a matter of filtering the database. Auditors can be shown the full history without anyone assembling it by hand.
How it works
What happens, step by step
Every Monday, ClickRuntime reads your recurring task rules from a Notion database.
For each rule due this week, it creates a new task in your Notion tasks database, skipping any it has already created this week.
Each task owner gets a Slack direct message with the new task and its due date.
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
Build your own
Need it to work differently?
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
from datetime import date, timedelta
from slack_sdk import WebClient
from clickruntime import on_trigger, credentials, http, state
RULES_DB = "your-recurring-database-id"
TASKS_DB = "your-tasks-database-id"
@on_trigger
def run(event): # Mondays
h = {"Authorization": f"Bearer {credentials.secret('NOTION_TOKEN')}", "Notion-Version": "2022-06-28"}
week = date.today().isocalendar()
key = f"{week.year}-W{week.week}"
done = set(state.get(key) or [])
slack = WebClient(token=credentials.connection("slack", "work"))
created = 0
for rule in http.post(f"https://api.notion.com/v1/databases/{RULES_DB}/query", headers=h, json={}).json()["results"]:
p = rule["properties"]
if rule["id"] in done:
continue
title = "".join(t["plain_text"] for t in p["Name"]["title"])
due = date.today() + timedelta(days=int(p["Weekday"]["number"] or 0))
http.post("https://api.notion.com/v1/pages", headers=h, json={"parent": {"database_id": TASKS_DB}, "properties": {
"Name": {"title": [{"text": {"content": title}}]}, "Due": {"date": {"start": due.isoformat()}},
"Assignee": {"people": [{"id": u["id"]} for u in p["Owner"]["people"]]}}})
for u in p["Owner"]["people"]:
sid = slack.users_lookupByEmail(email=u["person"]["email"])["user"]["id"]
slack.chat_postMessage(channel=sid, text=f"🔁 New this week: {title} (due {due:%a %d %b})")
done.add(rule["id"]); created += 1
state.set(key, sorted(done))
return {"created": created}FAQ
Common questions
What can a rule specify?
What if the owner changes?
How does it know a task has already been created?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Send everyone their Notion tasks each morning
Every weekday, each person gets a Slack message with their open tasks and due dates.
See how it worksGet 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.
See how it worksKeep a Notion log of your daily standups
The team posts standup updates in Slack, and they're collected into one dated Notion page each day.
See how it worksKeep exploring
Set up “Create recurring tasks in Notion” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.