Tasks due today reminder from Notion

Get a Slack message listing every Notion task due today.

Easy Saves ~2 hours/month ProductivityBy Flowngn team

Works with n8n · Make · Zapier

How it works

Trigger: Schedule — every weekday at 9:00
  1. Query your Notion tasks database for items due today and not done.
  2. Group them by person.
  3. Send each person (or one channel) their list in Slack.

Diagram

Weekdays 9:00Schedule TriggerNTasks due todayNotion{ }Group by personCodeSPost to #teamSlack
Trigger App Code

Code

JavaScript used in the Code step — already included in the template below.

Group by person · Code node
// 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.

Workflow JSON
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": []
}

Open in the playground to edit →

Tips

  • Share the database with your Notion integration or it won't be visible.

Related flows