Content: 01749.zip (42.12 KB)
Uploaded: 11.01.2026

Positive responses: 0
Negative responses: 0

Sold: 0
Refunds: 0

$7
# Back up n8n credentials to GitHub every 2 hours with change detection

This automation exports all n8n credentials on a schedule and securely stores them in a GitHub repository. It checks for changes before committing, ensuring only updated versions are saved — ideal for disaster recovery and configuration versioning.

## Who it´s for
- n8n administrators who need regular credential backups
- DevOps engineers managing production n8n instances
- Developers using GitHub as the source of truth for configurations

## What the automation does
- Exports all n8n credentials via CLI command
- Parses output into structured JSON format
- Checks existing files in the target GitHub repository
- Compares content to detect changes
- Decides whether to create, update, or skip based on differences
- Commits changes only when updates are detected
- Runs every 2 hours via cron schedule
- Uses subworkflow execution to reduce memory usage

## What´s included
- Ready-to-use n8n workflow
- Cron trigger logic and change handling
- Integration with GitHub API
- CLI command execution and JSON parsing
- Basic text instructions for setup and adaptation

## Requirements for setup
- Access to an n8n instance with CLI command execution enabled
- GitHub account with repository access (write-enabled token)
- Configured environment variables for authentication

## Benefits and outcomes
- Protection against credential loss during failures
- Fast recovery after system crashes or migrations
- Full version history via GitHub commit log
- Elimination of manual backup routines
- Transparent audit trail of configuration changes
- Optimized memory usage through subworkflow design

## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet