workflows.fit
Back to n8n workflows
n8n templateFreeBy Julien DEL RIO

Save your workflows into a Gitlab repository

This template is inspired by [Save your workflows into a GitHub repository](https://n8n.io/workflows/817-save-your-workflows-into-a-github-repository/) by [hikerspath](https://n8n.io/creators/hikerspath/) and [Back Up...

DevelopmentCore NodesManual TriggerSetNo OpSplit In Batches
Loading interactive preview...

Template notes

This template is inspired by [Save your workflows into a GitHub repository](https://n8n.io/workflows/817-save-your-workflows-into-a-github-repository/) by [hikerspath](https://n8n.io/creators/hikerspath/) and [Back Up Your n8n Workflows To Github](https://n8n.io/workflows/1534-back-up-your-n8n-workflows-to-github/) by [jon-n8n](https://n8n.io/creators/jon-n8n/).

Basic

Retrieve all workflows from an n8n instance and save it on a gitlab project. If the workflow exist, il will only save the changes.

Flow

What the workflow does :

1. Sets custom parameters 2. Gets workflows 3. Iterates through each workflow one by one 1. Get the file from Gitlab if exists 2. Compare the files as objects (not as strings) 3. Return a status on the workflow 4. Create, Edit or ignore the file depending on the status 5. Return a list of status for each workflow

Configuration

Select a credential in each Gitlab nodes.