Backup n8n workflows to Bitbucket
An automated backup solution designed for self-hosted n8n users to automatically backup their workflows to Bitbucket, leveraging Bitbucket's free private rep...
🔌 Nodes & Integrations Used (2)
📖 Implementation & Setup Guide
An automated backup solution designed for self-hosted n8n users to automatically backup their workflows to Bitbucket, leveraging Bitbucket's free private repository offering.
Perfect for maintaining version control of your n8n workflows without additional costs.
How it works: * Runs on a regular schedule to check all workflows in your n8n instance * Compares each workflow with its version in Bitbucket * Only uploads workflows that are new or have changed * Uses basic rate limiting to stay within Bitbucket's API limits * Formats filenames for easy tracking and includes timestamps in commit messages * Handles errors gracefully with automatic retries
Set up steps (10-15 minutes): 1. Create a free Bitbucket account and private repository 2. Create a Bitbucket App Password with repository write access 3. Add Bitbucket credentials to n8n (using your username and app password) 4. Set up n8n API access (generate API key in your n8n instance) 5. Configure your Bitbucket workspace and repository names in the Set node 6. Optional: Adjust the backup schedule (default: 2 AM daily)
Perfect for n8n self-hosters who want: * Version control for their workflows * Automated daily backups * Free private repository storage * Easy workflow recovery * Change tracking over time
The workflow includes basic error handling and rate limiting to ensure reliable backups even with larger numbers of workflows. Adjust your timing based on https://support.atlassian.com/bitbucket-cloud/docs/api-request-limits/.
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Backup n8n workflows to Bitbucket.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related DevOps & GitHub Workflows
View All in DevOps & GitHub →Generate Google Doc Proposal
Production-ready n8n automation template for Generate Google Doc Proposal built by AhiXLight. Seamlessly connects Execute Workflow Trigger, Google Drive, OpenAI with 7 configured nodes.
Add a new lead to Pipedrive once GitHub repo is forked
This workflow automatically adds a new lead to Pipedrive once someone forks your GitHub repository. Prerequisites - Pipedrive account and Pipedrive credentia...
Add the affiliate to a program automatically
This workflow allows you to create an affiliate, add metadata, and add the affiliate to a program. !workflow-screenshot Tapfiliate node: This node allows you...
Add a note to Pipedrive s contact once PR is added on GitHub
This workflow automatically adds a note of the PR from GitHub to the Pipedrive contact if their GitHub email matches a Person in Pipedrive. Prerequisites - P...