Archive Empty Pages in Notion Database
This workflow is designed to automatically scan the Notion database, intelligently detect and archive pages with empty content, ensuring that the database remains tidy and organized. It is scheduled to run daily at 2 AM, requiring no manual intervention, thus addressing the time-consuming and easily overlooked issue of manually cleaning up blank pages. With this automation solution, users can efficiently maintain their workspace and enhance information management efficiency, making it suitable for content managers, team collaboration, and personal knowledge organization.

Workflow Name
Archive Empty Pages in Notion Database
Key Features and Highlights
This workflow automatically scans all databases and their pages within Notion, intelligently detecting pages that are empty—meaning both page properties and content blocks contain no substantive information—and archives these blank pages to help users maintain a clean and organized database. It is scheduled to run daily at 2 AM, enabling unattended automated management.
Core Problem Addressed
Notion databases often accumulate numerous useless empty pages, which negatively impact database usability and search efficiency. This workflow automates the detection and archiving of empty pages, eliminating the time-consuming and error-prone manual cleanup process, thereby enhancing workspace tidiness and information management efficiency.
Use Cases
- Content managers maintaining large Notion workspaces can automatically clear unused or unfilled pages.
- Teams collaborating can automatically archive mistakenly created or abandoned blank pages to reduce distractions.
- Individual knowledge base users can regularly organize their data to keep entries accurate and effective.
Main Process Steps
- Scheduled Trigger: Automatically initiates the workflow daily at 2 AM.
- Retrieve All Databases: Calls the Notion API to fetch all databases under the current account.
- Retrieve Database Pages: Iterates through each database to obtain a list of all pages.
- Empty Property Check: Examines page properties to preliminarily filter potential empty pages.
- Batch Processing: Splits pages into batches to process sequentially, preventing API rate limit issues.
- Retrieve Page Block Content: Further fetches all content blocks within pages to verify actual emptiness.
- Archive Condition Evaluation: Uses custom functions to determine whether a page should be archived.
- Archiving Operation: Archives confirmed empty pages by hiding them without deletion.
Systems and Services Involved
- Notion API: Used for retrieving databases, pages, and content blocks, as well as performing archiving actions.
- n8n Automation Platform Nodes: Including scheduled triggers (Cron), conditional checks (If), function processing (Function), batch splitting (SplitInBatches), and others.
Target Users and Value
- Advanced Notion users and team administrators seeking to maintain a clean workspace through automation.
- Content operators and knowledge managers who need to regularly maintain large volumes of page data.
- Automation enthusiasts and productivity seekers aiming to reduce repetitive manual cleanup tasks.
This workflow offers Notion users an intelligent and efficient solution for archiving empty pages, significantly enhancing the automation level and productivity of database management.