Developer & DevOps
Archive empty pages in your Notion database automatically
10 nodes
275
152
Scheduled trigger
Workflow Description
A scheduled automation that regularly scans your Notion database, identifies pages with no content, and archives them automatically. This keeps your workspace organized and eliminates clutter while preserving data integrity through archival rather than deletion.
How it works
- 1.Execute the automation at scheduled intervals using a time-based trigger
- 2.Query the Notion database to retrieve all pages and their content status
- 3.Divide pages into batches for efficient processing
- 4.Check each page to identify those with no content or blank entries
- 5.Archive empty pages in Notion to remove them from active view
Use cases
- Regular maintenance of large Notion databases with accumulated unused pages
- Cleaning up team workspaces where blank pages accumulate over time
- Improving database performance by reducing visual clutter and inactive entries
Requirements
- Active Notion account with access permissions to the target database
- Clear definition of what constitutes an empty page (absence of text, media, or content blocks)
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Notion
Split In Batches
Schedule
Details
Trigger
Scheduled trigger
Nodes
10
Apps
3
Views
275
Downloads
152
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (10)
Get All Databases
Notion
Get All Database Pages
Notion
Get Page Blocks
Notion
Process Blocks
Function
SplitInBatches
Split In Batches
Check for empty properties
Function
Archive Page
Notion
If toDelete
If
If Empty Properties
If
Every day @ 2am
Cron