Automatic Notion database backup to Google Drive with Telegram notifications
Ready for 3.0What this workflow does
This workflow has 18 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Drive, Notion and Telegram.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Configuration Settings (Edit Fields (Set)): sets 5 fields: backup_format, retention_days, enable_cleanup…
- Create Backup Folder (Google Drive): work with folder
- Get All Databases (Notion): get many (database)
- Initialize Tracking (Code): runs custom JavaScript code
- Loop Databases (Loop Over Items (Split in Batches)): loops over the items in batches
- Generate Metadata (Code): runs custom JavaScript code
- Get Database Pages (Notion): get many (database page)
- Upload Metadata (Google Drive): uses Google Drive
- Create Backup File (Code): runs custom JavaScript code
- Should Cleanup? (If): checks a condition and branches into true / false
…plus 7 more steps. See the full node list below.
Services it uses
Other Telegram + Google Drive templates (162) · Other Telegram + Notion templates (74) · Other Google Drive + Notion templates (42)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Drive
n8n-nodes-base.googleDrive - Notion
n8n-nodes-base.notion - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - If
n8n-nodes-base.if - Telegram
n8n-nodes-base.telegram
From the author
🔍 Workflow Overview What This Workflow Does This workflow automatically saves copies of all your Notion databases to Google Drive. It's like creating a safety backup of your important Notion information, similar to saving important documents in a filing…