Back up workflow catalog JSON to Notion with n8n API
Ready for 3.0What this workflow does
This workflow has 25 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). It uses only n8n's built-in nodes.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Configuration (Code): runs custom JavaScript code
- Ensure Notion catalog (Execute Sub-workflow): calls another n8n workflow
- Build failure report (Code): runs custom JavaScript code
- Initialize backup (Code): runs custom JavaScript code
- Send backup notification? (If): checks a condition and branches into true / false
- Backup run finished? (If): checks a condition and branches into true / false
- Send backup email (Send Email): sends an email over SMTP
- Final backup outcome (Code): runs custom JavaScript code
- Backup report (Code): runs custom JavaScript code
- Keep backup state (Code): runs custom JavaScript code
…plus 12 more steps. See the full node list below.
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 (10)
- Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Send Email
n8n-nodes-base.emailSend - Wait
n8n-nodes-base.wait - HTTP Request
n8n-nodes-base.httpRequest - No Operation, do nothing
n8n-nodes-base.noOp - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Merge
n8n-nodes-base.merge - Execute Sub-workflow
n8n-nodes-base.executeWorkflow
From the author
Quick overview This workflow runs manually or hourly to back up your n8n workflows into a Notion database by creating or updating one page per workflow with a generated README and a verified JSON file attachment, using the n8n API and Notion API with optional…