Developer & DevOps

Backup workflow to repository on

20 nodes 195 122 Scheduled trigger
Download

Workflow Description

A scheduled workflow that automatically backs up N8N workflows and configurations to an external repository, processing large datasets in batches and logging success or failure status for each backup operation securely.

How it works

  1. 1.Trigger workflow at defined intervals using a scheduler
  2. 2.Fetch workflow data and variables from N8N API with authentication
  3. 3.Split retrieved data into batches to handle large payloads efficiently
  4. 4.Send each batch to the repository via HTTP requests
  5. 5.Log results and alert administrators if backup operations fail

Use cases

  • Protect critical workflows from unexpected data loss or corruption
  • Maintain audit trail of automation changes over time
  • Enable rapid disaster recovery by restoring backups when needed

Requirements

  • N8N API key with full read access permissions
  • Repository credentials for Git or cloud storage service
  • Email notification setup for failure alerts
  • System clock synchronized for accurate scheduling

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

N8N Split In Batches

Details

Trigger Scheduled trigger
Nodes 20
Apps 2
Views 195
Downloads 122

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (20)

/

Globals

Set

#1

n8n

N8N

#2

Schedule Trigger

Schedule Trigger

#3

Sticky Note

Sticky Note

#4

Sticky Note1

Sticky Note

#5

Sticky Note2

Sticky Note

#6

Sticky Note3

Sticky Note

#7

Sticky Note5

Sticky Note

#8

Sticky Note6

Sticky Note

#9

SetDataUpdateNode

Set

#10

SetDataCreateNode

Set

#11

Base64EncodeUpdate

Code

#12

Base64EncodeCreate

Code

#13

Exist

If

#14

Changed

If

#15

PutGitea

HTTP Request

#16

GetGitea

HTTP Request

#17

PostGitea

HTTP Request

#18

ForEach

Split In Batches

#19

Sticky Note4

Sticky Note

#20