Auto-Archive Duplicate Notion Pages by Property | n8n Workflow
detail.loadingPreview
Automate cleaning your Notion databases! This n8n workflow finds and archives duplicate pages based on a specified property, saving you time and effort.
🚀Ready to Deploy This Workflow?
About This Workflow
How it works
This n8n workflow is designed to automatically identify and archive duplicate pages within your Notion databases. It utilizes a scheduled trigger (daily or on page addition) to fetch all pages from a specified database using the Notion node. It then formats these pages to extract their IDs and a user-defined property for checking duplicates. The code node efficiently filters these pages, identifying duplicates based on the chosen property. Finally, the Notion node archives the identified duplicate pages, effectively removing them from view while keeping one instance of each unique entry. This workflow leverages the scheduleTrigger, notionTrigger, notion (getAll and archive operations), set (for formatting), aggregate (to gather items), and code nodes.
Key Features
- Automatically detects duplicate Notion database pages.
- Archives duplicate items, leaving one instance.
- Customizable duplicate check based on any Notion property.
- Flexible triggering: daily or on page addition.
- Saves significant manual cleanup time.
How To Use
- Set up Notion Credentials: Ensure you have a Notion credential configured in n8n.
- Configure Triggers: Choose your desired trigger: 'Every day' for a scheduled cleanup or 'When a page is added to the database' for real-time detection. Adjust the schedule as needed.
- Select Notion Database: In the 'Get pages from database' node, configure your Notion credential and select the specific database you want to clean.
- Define Property to Check: In the 'Format items properly' (Set) node, locate the
property_to_checkfield. Use n8n's drag-and-drop feature to select the specific Notion property (e.g., 'Name', 'Email', 'URL') that should be used to identify duplicates. - Run the Workflow: Activate the workflow. Duplicates found based on your specified property will be archived.
Apps Used
Workflow JSON
{
"id": "5cb54365-6a23-47eb-9d96-3fab9c6e45c2",
"name": "Auto-Archive Duplicate Notion Pages by Property | n8n Workflow",
"nodes": 0,
"category": "Productivity",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 5cb54365-6a23...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Related Integrations
- Execute Workflow Trigger + Split Out(193 workflows)
- Execute Workflow Trigger + Google Sheets(101 workflows)
- Execute Workflow Trigger + Google Drive(73 workflows)
- Execute Workflow Trigger + Schedule Trigger(73 workflows)
- Notion + Schedule Trigger(62 workflows)
- Execute Workflow Trigger + Gmail(58 workflows)
- Execute Workflow Trigger + Telegram(58 workflows)
- Execute Workflow Trigger + Form Trigger(42 workflows)
- Execute Workflow Trigger + Slack(38 workflows)
- Convert To File + Execute Workflow Trigger(37 workflows)
Related Workflows
Discover more workflows you might like
Automate YouTube Video Saves to Raindrop.io Automatically
Save time by automatically archiving new YouTube videos from a playlist to Raindrop.io. Get notified and organized.
Sync Todoist Tasks to Notion Database Automatically
Automate your workflow by syncing specific Todoist tasks to a Notion database. Save time and stay organized.
AI-Powered Text Automations with Apple Shortcuts
Automate text transformations like translation and grammar correction using OpenAI via Apple Shortcuts.
Automate Daily Journal Reminders with Cron & Telegram Bot
Never miss a journal entry! This workflow auto-sends a daily reminder message via Telegram, prompting you to reflect on yesterday's activities.
Automate Spotify Liked Songs to Playlist Sync | n8n Workflow
Automatically sync your Spotify liked songs to a designated playlist. This n8n workflow handles additions and removals, keeping your playlists perfectly curated.
Auto-Summarize Google Docs to Google Sheets with AI
Automate Google Docs summarization. AI condenses docs into Google Sheets, saving time & boosting productivity. Integrates Google Drive & OpenAI.