Every weekday morning, sends each person a Slack message listing their Notion tasks due today.
UsesNotion
Slack
Today's Notion tasks, sent to each owner
Tasks get missed when nobody looks at the board. Every weekday at 8am this finds the tasks in your Notion Tasks database that are due today and not Done, and sends each owner one Slack message listing theirs.
The database needs the columns Due date, Status and Owner (a People column). Tasks with no owner are skipped.
Run every weekday at 08:00.Run every weekday at 08:00.
due_today.NotionTasks grouped by ownerGroup the items in
due_today.results by “people_emails.Owner” and save it as tasks_by_owner.Each owner's tasksFor each
owner in tasks_by_owner:If
owner.key isn't blankIf owner.key isn't blankYes
Their tasks, one per lineWrite each item in
owner.items as “• @item.title”, one per line and save it as task_lines.owner.key. Save it as task_message.You have owner.count task(s) due today:
task_linesSlackNo
No steps