Tasks due today reminder from Notion
Get a Slack message listing every Notion task due today.
How it works
Trigger: Schedule — every weekday at 9:00
- Query your Notion tasks database for items due today and not done.
- Group them by person.
- Send each person (or one channel) their list in Slack.
Diagram
Trigger App Code
Code
JavaScript used in the Code step — already included in the template below.
// Groups today's tasks by assignee. Adjust the property names to match your database.
const byPerson = {};
for (const { json: task } of $input.all()) {
const who = task.property_assignee?.[0] || "Unassigned";
(byPerson[who] ||= []).push(`• ${task.name}`);
}
const sections = Object.entries(byPerson).map(([who, tasks]) => `*${who}*\n${tasks.join("\n")}`);
if (!sections.length) return [];
return [{ json: { text: `📋 Due today:\n\n${sections.join("\n\n")}` } }];Build it
Pick your tool — same automation, step by step.
Copy and paste straight into an n8n canvas (Ctrl+V), or download and use Import from File. Then connect your own credentials and replace every YOUR_… placeholder.
Show code (139 lines)
{
"name": "Tasks due today reminder from Notion (Flowngn)",
"nodes": [
{
"parameters": {
"content": "## Tasks due today reminder from Notion\nGet a Slack message listing every Notion task due today.\n\n**Setup**\n1. Open each node and connect your own credentials.\n2. Replace every YOUR_… placeholder.\n3. Test once, then activate.\n\nFree template from Flowngn",
"height": 260,
"width": 340
},
"id": "34314253-203f-42a9-ad2e-39673f3cb5f5",
"name": "Setup notes",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-420,
-60
]
},
{
"parameters": {
"rule": {
"interval": [
{
"field": "cronExpression",
"expression": "0 9 * * 1-5"
}
]
}
},
"id": "34314253-203f-42a9-ad2e-39673f3cb5f5",
"name": "Weekdays 9:00",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
0,
0
]
},
{
"parameters": {
"resource": "databasePage",
"operation": "getAll",
"databaseId": {
"__rl": true,
"value": "YOUR_DATABASE_ID",
"mode": "id"
},
"returnAll": true,
"filterType": "json",
"filterJson": "={ \"and\": [ { \"property\": \"Due\", \"date\": { \"equals\": \"{{ $today.toFormat('yyyy-MM-dd') }}\" } }, { \"property\": \"Status\", \"status\": { \"does_not_equal\": \"Done\" } } ] }",
"options": {}
},
"id": "34314253-203f-42a9-ad2e-39673f3cb5f5",
"name": "Tasks due today",
"type": "n8n-nodes-base.notion",
"typeVersion": 2.2,
"position": [
300,
0
]
},
{
"parameters": {
"jsCode": "// Groups today's tasks by assignee. Adjust the property names to match your database.\nconst byPerson = {};\n\nfor (const { json: task } of $input.all()) {\n const who = task.property_assignee?.[0] || \"Unassigned\";\n (byPerson[who] ||= []).push(`• ${task.name}`);\n}\n\nconst sections = Object.entries(byPerson).map(([who, tasks]) => `*${who}*\\n${tasks.join(\"\\n\")}`);\nif (!sections.length) return [];\n\nreturn [{ json: { text: `📋 Due today:\\n\\n${sections.join(\"\\n\\n\")}` } }];"
},
"id": "34314253-203f-42a9-ad2e-39673f3cb5f5",
"name": "Group by person",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
600,
0
]
},
{
"parameters": {
"select": "channel",
"channelId": {
"__rl": true,
"value": "#team",
"mode": "name"
},
"text": "={{ $json.text }}",
"otherOptions": {}
},
"id": "34314253-203f-42a9-ad2e-39673f3cb5f5",
"name": "Post to #team",
"type": "n8n-nodes-base.slack",
"typeVersion": 2.2,
"position": [
900,
0
]
}
],
"connections": {
"Weekdays 9:00": {
"main": [
[
{
"node": "Tasks due today",
"type": "main",
"index": 0
}
]
]
},
"Tasks due today": {
"main": [
[
{
"node": "Group by person",
"type": "main",
"index": 0
}
]
]
},
"Group by person": {
"main": [
[
{
"node": "Post to #team",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"meta": {
"templateCredsSetupCompleted": false
},
"tags": []
}In Make, create a new scenario and add these modules in order:
- Schedule the scenario: Weekdays 9:00
- Notion › Search Objects (database items)
- Tools › Set variable / Iterator + Array aggregator (same logic as the Code step)
- Slack › Create a Message
- Every module run uses Make operations — the free plan includes a monthly quota.
- Make's built-in functions (map, sum, formatDate…) can replace most Code steps; for complex logic use a code module.
- Module and step names can differ slightly as Make and Zapier update their apps.
In Zapier, create a new Zap and add these steps in order:
- Schedule by Zapier — Weekdays 9:00
- Notion — Find Database Item
- Code by Zapier — Run JavaScript (paste the code from the Code section)
- Slack — Send Channel Message
- Zaps with more than two steps need a paid Zapier plan.
- Webhooks, Filters/Paths and Code by Zapier are premium features on some Zapier plans.
- Code by Zapier runs JavaScript: reuse the code shown above, reading inputs from inputData instead of $json.
- Module and step names can differ slightly as Make and Zapier update their apps.
Tips
- Share the database with your Notion integration or it won't be visible.
Related flows
ProductivityEasy
New Notion database pages → Slack
Announce every new page in a Notion database — requests, docs or tasks — in Slack.
Notion → Slack2h/mo
ProductivityMedium
Turn labelled emails into Notion tasks
Label an email "To-do" and it becomes a Notion task with a link back to the email.
Gmail → Notion3h/mo
ProductivityEasy
Google Form responses in Slack
Every new Google Form response is posted to a Slack channel.
Google Sheets → Slack2h/mo