Keep safe copies of your n8n workflows in GitLab, on a schedule or on demand. It is built for IT and operations teams that want version control and a clear audit trail without manual exports.
A schedule or manual start loads shared settings from the Globals node. The n8n node pulls only workflows that match a chosen tag. The flow creates a clean filename from each workflow name, gets the list of files in the GitLab repo, and checks if a match already exists. If a file is found, it fetches the current content and compares it to the new JSON. Files that did not change are skipped. New or updated items are committed to the main branch with time stamped messages.
Set your GitLab owner, project, branch, and folder path in the Globals node, and pick the tag used for backups. Tag the workflows you want to protect and set the schedule. You get faster backups, fewer errors, and simple restore from GitLab history. This helps teams with many automations or strict change control keep stable and recoverable operations.