Automate Notion Task Updates with n8n Workflow

Discover how to automate weekly updates of your Notion tasks using n8n. This workflow fetches, sorts, and emails task summaries, helping you stay on top of deadlines with ease.
notion
emailSend
pushover
+10
Workflow Identifier: 2084
NODES in Use: Manual Trigger, Notion, Filter, Sort, HTML, Aggregate, If, Merge, Set, Email Send, Pushover, Schedule Trigger, Sticky Note

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

1. Opening Problem Statement

Meet David, a project manager who juggles multiple task boards in Notion every week. Every Monday at 9 AM, he spends at least 30 minutes manually checking which tasks are overdue or coming due soon, composing emails to update his team, and sending push notifications to remind them. This manual process not only wastes precious time but also risks missing urgent overdue tasks, affecting project delivery. Imagine if David could automate this entire weekly update, ensuring no task falls through the cracks and saving him hours every week.

2. What This Automation Does

This n8n workflow completely automates the weekly Notion task update process. Specifically, it:

  • Automatically triggers every Monday at 9 AM to start the update process.
  • Fetches all tasks from a specified Notion database using the Notion API.
  • Filters tasks to include only those with set deadlines and sorts them by the closest deadline.
  • Separates tasks into two groups: overdue tasks and tasks due soon.
  • Generates customized HTML blocks for each task, assembling them into a beautifully styled email template.
  • Sends the weekly update email to a specified recipient with a clear summary and direct link to the Notion task board.
  • Sends you a Pushover push notification to alert you that the email has been sent.

By automating this, users like David save 30+ minutes every week and reduce the risk of missing critical deadline updates.

3. Prerequisites ⚙️

  • n8n account (cloud or self-hosted).
  • Notion account with API access and a database ID where tasks are stored.
  • SMTP email credentials for sending emails (e.g., Gmail SMTP or another mail server).
  • Pushover account with a user key to receive push notifications.
  • Basic understanding of HTML (optional, for customizing email templates).

4. Step-by-Step Guide

Step 1: Set Up the Trigger to Run Weekly

Navigate to your n8n workflow editor. Add the Schedule Trigger node by clicking Add Node → Trigger → Schedule Trigger. Configure it to run every Monday at 9 AM by setting the interval field to weeks, trigger at day: Monday, and trigger at hour: 9. This ensures the workflow runs automatically every Monday morning.

Outcome: The workflow will automatically start every Monday at 9 AM.

Common Mistake: Not setting the correct day or time leads to missed or mistimed updates.

Step 2: Define Workflow Variables

Add a Set node named Set Workflow vars. Here, define variables like your email, Notion database URL, logo path for the email header, and your Pushover user key for push notifications. Navigate by clicking Add Node → Core → Set. Enter your real values in the respective fields. For example, your_email: [email protected], pushover_user_key: your_actual_key.

Outcome: These variables will be reused in the workflow, making configuration centralized.

Common Mistake: Leaving variables blank will cause errors or incomplete emails.

Step 3: Fetch Tasks from Notion

Add the Notion node from Integrations → Notion. Select the operation getAll under databasePage. In the databaseId field, paste your Notion database ID (found in Notion’s share menu or integration settings). Ensure your Notion API credentials are connected.

Outcome: The node retrieves all tasks as JSON data.

Common Mistake: Using incorrect database ID or missing API credentials leads to fetch failure.

Step 4: Filter Tasks with Deadlines

Add a Filter node named Filter for deadline. Set a condition to ensure you only pass tasks where the deadline property exists (not empty). This is done by adding a condition: $json.property_deadline.start exists.

Outcome: Only tasks with valid deadlines progress.

Common Mistake: Not filtering causes tasks without deadlines to clutter the email.

Step 5: Sort Tasks by Closest Deadline

Add a Sort node named Sort by closest deadline. Configure sorting to use the field property_deadline.start in ascending order so you get tasks that are due sooner first.

Outcome: Tasks are ordered from nearest to farthest deadline.

Common Mistake: Sorting incorrectly might obscure urgent tasks.

Step 6: Generate HTML Template for Each Task

Add an HTML node named HTML for Task. Design your task display with placeholders such as name, deadline, priority, status, and tags. Use the example HTML provided in the workflow, which includes styled blocks linking directly to tasks.

Outcome: Each task is converted into a neat HTML snippet.

Common Mistake: Forgetting to include mandatory properties or syntax errors in the template.

Step 7: Identify Overdue Tasks Using an If Node

Add an If node named If deadline is overdue. Set condition to check if the task deadline is before or equals the current date/time ($now). This splits tasks into overdue or upcoming.

Outcome: Tasks are categorized for separate treatment.

Common Mistake: Incorrect date formats cause wrong categorization.

Step 8: Aggregate and Group Tasks

Use two Aggregate nodes named Aggregate overdue tasks and Aggregate due to tasks to group tasks accordingly.

Then add two HTML nodes (HTML overdue List and HTML due to List) for wrapping these groups with headers and fallback messages (like “No overdue tasks. Great!”).

Outcome: Final grouped HTML snippets ready for email assembly.

Common Mistake: Mislinking nodes breaks email formatting.

Step 9: Compose the Final HTML Email

Add a final HTML node named HTML where you wrap the whole content inside the email design template. Embed your company logo, the Notion board link, and the grouped tasks HTML snippets here.

Outcome: A visually appealing, fully styled email ready to send.

Common Mistake: Forgetting to update variables like logo source or URL results in broken images or links.

Step 10: Send Email and Push Notification

Add an Email Send node named Send Email using your SMTP credentials. Fill in the recipient as {{$node["Set Workflow vars"].json["your_email"]}}, subject line and use the composed HTML as the email body.

Connect this node to a Pushover node to send a push notification alerting you once the email is dispatched.

Outcome: The team receives a detailed weekly tasks update, and you get a notification.

Common Mistake: Incorrect SMTP or Pushover credentials prevent sending.

5. Customizations ✏️

  • Filter out Completed Tasks: In the Notion node, add a filter to exclude tasks where Status equals “Closed” or “Done” to remove finished tasks from the email.
  • Change Email Recipient: Modify the your_email variable in the Set node to send the report to different team members.
  • Customize Email Style: Edit the final HTML node to adjust colors, fonts, or add company branding such as additional logos or links.
  • Add More Task Properties: In the HTML for Task node, include additional properties from Notion like assigned person or comments for richer updates.
  • Adjust Schedule Frequency: Change the trigger node’s schedule from weekly to daily or monthly based on your needs.

6. Troubleshooting 🔧

  • Problem: “Failed to fetch Notion database”.
    Cause: Incorrect Notion API credentials or database ID.
    Solution: Double-check your API token permissions and ensure database ID is copied correctly from Notion.
  • Problem: “Email not sent”.
    Cause: SMTP settings or credentials are misconfigured.
    Solution: Verify SMTP host, port, username/password. Test sending from another mail client.
  • Problem: “Push notification not received”.
    Cause: Incorrect Pushover user key or network issues.
    Solution: Confirm your Pushover user key from your account dashboard. Check device notification settings.
  • Problem: Incorrect task categorization or missing tasks.
    Cause: Date format mismatches or missing filter criteria.
    Solution: Ensure Notion date properties are consistent and your filter node criteria matches.

7. Pre-Production Checklist ✅

  • Confirm your Notion database ID and API token are working by manually running the Notion node and checking output.
  • Verify all workflow variables in the Set node are correctly filled.
  • Test schedule trigger manually to observe workflow execution.
  • Send a test email and ensure formatting looks as expected.
  • Check if push notifications arrive on your device.

8. Deployment Guide

After completing and testing your workflow, activate it by toggling the active switch in n8n. This will enable the Schedule Trigger to run automatically every Monday at 9 AM.

Monitor execution logs in n8n to ensure successful runs and troubleshoot any errors promptly. You can also extend this workflow by integrating with team chat tools or databases for further insights.

9. FAQs

  • Can I use Gmail SMTP instead of a custom SMTP server? Yes, Gmail SMTP can be used, but ensure you have enabled app-specific passwords or OAuth2 for authentication.
  • Does this workflow consume a lot of API calls? Not significantly; fetching tasks weekly typically stays well within API limits of most services.
  • Is my data securely handled? n8n runs workflows locally or on secure cloud infrastructure, and your Notion API token stays safe within n8n’s credential management.
  • Can I customize the email template further? Absolutely. The HTML node allows full customization of styles and content.
  • Will this work if I have hundreds of tasks? Yes, but you might want to paginate your Notion API queries if task count grows very large.

10. Conclusion

By following this guide, you’ve automated the tedious weekly update of Notion tasks. You’ve built a reliable process that fetches, sorts, and summarizes your tasks automatically, then emails your team and notifies you via push. This saves at least 30 minutes each week and ensures no task is overlooked.

Next, consider expanding this workflow to include Slack reminders, integrate with calendar apps, or automate task creation based on email triggers. Keep exploring n8n’s powerful automation to continuously improve your productivity!

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation in n8n (Beginner Guide)

A complete beginner guide to building an AI-powered SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free