ES | EN
DevOps

Save your workflows into a GitHub repository

GitHub
Nodes 2
Complexity Basic
Category DevOps
n8n popularity 10,459 views in n8n library

Basics Provides a mechanism to save all your workflows into a github repository and path (of your choosing). These can then be shared through your entire org and used to track changes (if you make any sad 'oopsies'. Flow Obtains and creates listing of currently configured workflows. Iterates through each workflow looking at the following Github source (if present) Actual workflow code (from N8N) Workflow code is sorted and compared for any changes If changed (or new) the workflows are saved / archived into github. Configuration Most of the configuration is done in the Globals node which houses the repo detail for github nodes. The only other dependency is that it by default looks for a GitHub credential, if you use something other than that precise wording you will need to change the credential used on the respective nodes. We gave it 'Manage' rights, but that was only so that it was able to override a requirement for checks to complete? Most would probably only need 'Write'

Apps and nodes included

Step-by-Step Implementation Guide

Guardar workflows en GitHub

Este workflow guarda automáticamente tus flujos de trabajo de n8n en un repositorio de GitHub, permitiendo el control de versiones y el respaldo de tus automatizaciones.

Nodos utilizados

  • GitHub: Para interactuar con la API de GitHub.
  • HTTP Request: Posiblemente para obtener la definición del workflow.

Pasos de configuración

  • Paso 1: Conecta n8n con tu cuenta de GitHub y autoriza el acceso al repositorio.
  • Paso 2: Configura el nodo GitHub para guardar los workflows como archivos.
  • Paso 3: Establece la periodicidad o el desencadenante para la ejecución del workflow.
⚡ Open and edit in Scriflow ← Browse all n8n templates

Scriflow builds and adapts n8n workflows with AI. Open this template in the editor to get the import-ready JSON.