Block 1 - Schedule Trigger
- Type / Role
- n8n-nodes-base.scheduleTrigger - scheduleTrigger
- Config choices
- Version 1.2
This workflow is provided as-is. Please review and test before using in production.
This workflow provides a robust solution for automatically backing up all your n8n workflows to a designated GitHub repository on a daily basis. By leveraging the n8n API and GitHub API, it ensures...
n8n-nodes-base.scheduletrigger, n8n-nodes-base.n8n, n8n-nodes-base.aggregate, n8n-nodes-base.github, n8n-nodes-base.if, n8n-nodes-base.converttofile, n8n-nodes-base.extractfromfile, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Hugo.
Original n8n.io sourceThis workflow provides a robust solution for automatically backing up all your n8n workflows to a designated GitHub repository on a daily basis. By leveraging the n8n API and GitHub API, it ensures your workflows are version-controlled and securely stored, safeguarding against data loss and facilitating disaster recovery.
The automation follows these key steps:
workflow-name-tag.json).This process ensures that you always have an up-to-date version of all your n8n workflows stored securely in your GitHub version control system, providing peace of mind and a reliable backup history.
Before you can use this template, please ensure you have the following:
repo scope (or fine-grained token with read/write access to the specific backup repository). This token will be used for GitHub API authentication.Setting up this workflow should take approximately 10-15 minutes if you have your credentials ready.
Owner: Your GitHub username or organization name.Repository: The name of your GitHub repository dedicated to backups.Branch (e.g., main or master) where backups should be stored.Path within the repository if you want backups in a specific folder (e.g., n8n_backups/). Leave blank to store in the root.Here's a detailed breakdown of each node used in this workflow:
n8n-nodes-base.scheduleTriggern8n-nodes-base.githubn8n-nodes-base.aggregaten8n-nodes-base.n8nn8n-nodes-base.convertToFilen8n-nodes-base.extractFromFilen8n-nodes-base.setcommitDate: The current date and time for the commit message.fileName: A standardized file name for the workflow backup (e.g., my-workflow-vps-backups.json), typically using the workflow's name and its first tag.n8n-nodes-base.iffileName (generated by "Commit date & file name") is present in the list of files aggregated by the "Aggregate" node. This determines if the workflow backup already exists in GitHub.n8n-nodes-base.githubn8n-nodes-base.githubHere are a few ways you can customize this template to better fit your needs:
Path parameter to store backups in a specific folder within your repository (e.g., workflows/ or daily_backups/).fileName) to change how backup files are named. For example, you might want to include the workflow ID or a different date format.Template was created in n8n v1.92.2
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Automated daily workflow backup to GitHub |
|---|---|
| Complexity | intermediate |
| Nodes | 13 |
| Categories | DevOps |
| Author | Hugo |
| Published | 15 May 2025 |
Use the JSON export at /data/workflows/4064/4064.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
This workflow provides a robust solution for automatically backing up all your n8n workflows to a designated GitHub repository on a daily basis. By leveraging the n8n API and GitHub API, it ensures...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your DevOps use case.