WorkflowOtherOpen

Backup workflows to git repository on Gitea

Triggered on a schedule. Connects Code, Condition, HTTP request, Loop, N8N, Schedule. Workflow changes committed to the repository Check if there are any changes in the workflow Create a new file for the workflow Check if file exists in the repository Get all workflows Set variables 📌 Setup Guide for Backup Workflows to Git Repository on Gitea 🔧 1. Configure Global Variables Go to the Globals node

Front matter
name: Backup workflows to git repository on Gitea
description: Triggered on a schedule. Connects Code, Condition, HTTP request, Loop, N8N, Schedule. Workflow changes committed to the repository Check if there are any changes in the workflow Create a new file for the workflow Check if file exists in the repository Get all workflows Set variables ### **📌 Setup Guide for Backup Workflows to Git Repository on Gitea** #### **🔧 1. Configure Global Variables** Go to the **Globals** node and update the following: - **`repo.url`** → `{{ $env.WEBHOOK_URL }}` *(Replace with your actual Gitea URL)* - **`repo.name`** → `workflows` *(Repository name wher
category: Automation
kind: Workflow
software: Code|Condition|HTTP request|Loop|N8N|Schedule

Backup workflows to git repository on Gitea

Triggered on a schedule. Connects Code, Condition, HTTP request, Loop, N8N, Schedule. Workflow changes committed to the repository Check if there are any changes in the workflow Create a new file for the workflow Check if file exists in the repository Get all workflows Set variables ### 📌 Setup Guide for Backup Workflows to Git Repository on Gitea

🔧 1. Configure Global Variables

Go to the Globals node and update the following:

  • repo.url → {{ $env.WEBHOOK_URL }} (Replace with your actual Gitea URL)
  • repo.name → workflows *(Repository name wher

Steps

  • Globals (set)
  • n8n (n8n)
  • Schedule Trigger (scheduleTrigger)
  • Sticky Note (stickyNote)
  • Sticky Note1 (stickyNote)
  • Sticky Note2 (stickyNote)
  • Sticky Note3 (stickyNote)
  • Sticky Note5 (stickyNote)
  • Sticky Note6 (stickyNote)
  • SetDataUpdateNode (set)
  • SetDataCreateNode (set)
  • Base64EncodeUpdate (code)
  • Base64EncodeCreate (code)
  • Exist (if)
  • Changed (if)
  • PutGitea (httpRequest)
  • GetGitea (httpRequest)
  • PostGitea (httpRequest)
  • ForEach (splitInBatches)
  • Sticky Note4 (stickyNote)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source: https://github.com/Zie619/n8n-workflows/blob/main/Code/1426_Code_Schedule_Export_Webhook.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.