Archive empty pages in Notion Database

Automated workflow: Archive empty pages in Notion Database. This workflow processes data and performs automated tasks.

Integrations Used (2)

Workflow Structure (11 nodes)
100%
Cron
Every day @ 2am
Notion
Get All Databases
Notion
Get All Database Pages
Function
Check for empty properties
If
If Empty Properties
Split In Batches
SplitInBatches
Stop And Error
Error Handler
Notion
Get Page Blocks
Function
Process Blocks
If
If toDelete
Notion
Archive Page
Node Types:
action
code
logic
trigger
default
Requires credentials

Prerequisites

Required Credentials (1)

Notion

Used by: Get All Databases, Get All Database Pages +2 more

Docs

Complexity

Advanced

Expert level. Custom code, complex logic, many integrations.

Setup time: ~40 min
Score: 68/100
Custom Code
Conditional Logic
Loops

When to Use This Workflow

Scheduled Operations

Run automated tasks at specific times - daily reports, weekly cleanups, monthly backups.

Set it and forget it - reliable automation that runs on your schedule.

Time Savings

Replace repetitive manual tasks with reliable automation.

Reclaim hours every week for higher-value work.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "id": 115,
  "name": "Archive empty pages in Notion Database",
  "nodes": [
    {
      "name": "Get All Databases",
      "type": "n8n-nodes-base.notion",
      "position": [
        240,
        300
      ],
      "parameters": {
        "resource": "database",
        "operation": "getAll",
        "returnAll": true
      },
      "credentials": {
        "notionApi": {
          "id": "{{ $credentials.notionApi.id }}",
          "name": "Notion account"
...

Workflow Details

Nodes
11
Trigger
Scheduled
Source
community
Added
Sep 29, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Automate LinkedIn Posts with AI

Fetch the day's post from my Notion database A Notion "database" is just a table on a Notion Page. This table will have...

Schedule
Notion
Linkedin
Http-request
11 nodesScheduled
Curated

Automate Competitor Research with Exa.ai, Notion and AI Agents

Try It Out! This workflow builds a competitor research agent using Exa.ai as a starting point. The HTTP Request tool is...

Lmchatopenai
Toolhttprequest
Outputparserstructured
Notion
39 nodesManual
Curated

Notion AI Assistant Generator

Generate new workflow version for specific notion db schema Input a Notion database URL and get an AI Assistant chatbot...

Notion
Outputparserautofixing
Lmchatanthropic
Outputparserstructured
24 nodesEvent
Curated

Notion knowledge base AI assistant

Notion knowledge base assistant [v1] Built as part of the [30 Day AI Sprint](https://30dayaisprint.notion.site/) by [@ma...

Lmchatopenai
Toolhttprequest
Notion
Memorybufferwindow
12 nodesEvent
Curated

Store Notion's Pages as Vector Documents into Supabase with OpenAI

Store Notion's Pages as Vector Documents into Supabase This workflow assumes you have a Supabase project with a table th...

Embeddingsopenai
Textsplittertokensplitter
Notion
Documentdefaultdataloader
9 nodesEvent
Curated

RAG on living data

Switch trigger (optional) If you are on the cloud plan, consider switching to the Notion Trigger Node instead, to save o...

Embeddingsopenai
Textsplittertokensplitter
Chainretrievalqa
Retrievervectorstore
34 nodesEvent
Curated