FM
FlowMarket
Docs, PDF & OCR Advanced ⚡ 21 n8n Nodes

Save your workflows into a Gitlab repository

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 workfl...

🔌 Nodes & Integrations Used (3)

GitLab Extract From File n8n

📖 Implementation & Setup Guide

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
  4. 1. Get the file from Gitlab if exists
  5. 2. Compare the files as objects (not as strings)
  6. 3. Return a status on the workflow
  7. Create, Edit or ignore the file depending on the status
  8. Return a list of status for each workflow

Configuration

Select a credential in each Gitlab nodes.

Edit the data in node "Globals" : - repo.owner : slug of the user or team owning the repo - repo.name : slug of the repository - repo.branch : branch to commit on - repo.path : from root of the repository. Should end with /

Comments

Error on gitlab nodes will not stop the run but will list the current workflow as error in the results

Some fields are ignored to determined if there is changes : - updatedAt : should be ignored if only ignores fields are changed - globals : it's running information, no need to follow the changes

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Save your workflows into a Gitlab repository.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related Docs, PDF & OCR Workflows

View All in Docs, PDF & OCR →