Nightly scenario backup to GitLab with version history

On a schedule the scenario exports all your scenarios to GitLab, updates the changed ones, and keeps version history — sorted by client.

  • Copies all scenarios on a schedule
  • Updates only the changed ones
  • Keeps version history in GitLab
  • Sorts them into client folders
n8nGitLab

How it works

To move data from GitLab to automatically, use a ready-made scenario — no manual exports.

  1. Starts when: When clicking ‘Execute workflow’
  2. Then: Set Global GitLab Variables
  3. Then: Fetch Workflows from n8n
  4. Then: Clean & Normalize Workflow Name
  5. Then: Prepare Workflow JSON for UI-Compatible Export
  6. Then: Prepare GitLab File Path
  7. Then: Fetch Existing File from GitLab
  8. Check: Compare Workflow with GitLab Version
  9. If yes: Update Existing File in GitLab
  10. Then: Mark as Updated
  11. Check: Merge
  12. Then: Normalize Backup Output
  13. Then: Summarize Backup Results
  14. If no: Mark as Unchanged
  15. Then: Create New File in GitLab
  16. Then: Mark as Created
  17. Starts when: Schedule Trigger

You can launch this integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.