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 email reporting.
How it works
- Discover active, inactive and archived workflows through the n8n API.
- Match each workflow to one stable page in a dedicated Notion catalog.
- Generate readable English documentation from the workflow's notes and configured steps.
- Attach one complete, formatted JSON export directly to each workflow page.
- Download and verify the attachment before accepting a replacement or removing an older copy.
- Preserve personal notes and recognized documentation edits. Keep the last backup when a source workflow becomes unavailable.
- Process workflows sequentially with paced requests, bounded retries and a report that identifies incomplete backups.
Setup
- Import public-export.json from the V3 release package and keep the backup inactive while configuring integrations.
- Create an n8n API credential with permission to read workflows and executions, then select it in the n8n API node.
- Import and save the separate setup-notion-catalog.json companion from the same V3 package. It creates or reuses the dedicated Notion catalog and its 14 properties.
- Select your Notion integration credentials in the setup companion and both Notion API nodes of the backup; share the intended parent page or existing catalog with that integration.
- In Configuration, set setupWorkflowId to the saved companion workflow ID, configure your Notion parent or existing data source and n8n instance/API URLs, then run setup sequentially before the first backup.
- Configure SMTP credentials and notification preferences if email reports are required. Otherwise, leave notifications off and disable the optional Send backup email node.
- Configure binary storage and execution retention for your deployment.
- Run a sync, inspect the generated documentation and download a JSON attachment before enabling unattended execution.
- Choose a schedule and time zone that suit your needs, then activate the configured workflow.
Requirements
- An n8n instance with public API access and permission to read the workflows and executions being documented.
- A Notion workspace with a dedicated catalog database and an integration that can read, insert and update its content and upload files.
- A Notion upload allowance large enough for the workflow exports being backed up.
- Binary storage supported by your n8n deployment and sufficient capacity for attachments and execution data.
- An SMTP account only if you enable email notifications.
Customization
- Adjust workflow inclusion, exclusions and archived-workflow handling in Configuration.
- Change the schedule, request pacing, runtime budget and file-size allowance to match your environment.
- Improve the English sticky notes in source workflows to make the generated documentation more useful.
- Add personal commentary to the Notes property or outside the managed documentation sections.
- Configure email notifications or an independent n8n error workflow to suit your monitoring preferences.
Additional info
- Synchronization runs from n8n to Notion. Restore an exported workflow by importing its JSON into n8n.
- Exports represent the latest saved workflow definition, which may differ from the published version.
- Encrypted credential values and pinned data are excluded. Back up the n8n database, encryption key, credentials and runtime files separately.
- Operational exports can retain source URLs, identifiers and credential references. Review them before sharing outside your organization.
- Files that exceed the configured upload allowance produce an error and leave the previous backup intact.
- V3 uses native n8n nodes and requires its separate setup-notion-catalog.json companion. No AI service or community node package is required.
Published V3 package, setup companion and release reference: https://github.com/paoloronco/n8n-templates/tree/main/catalog/n8n-published/23213
V4 is a separate unified 30-node revision under review as #22936. The main repository workflow.json is V4, not the downloadable V3 release.