Backup n8n Workflows to GitHub

September 24, 2025

Aladuddin Aladin

Automatically back up all n8n workflows to GitHub on a daily schedule. Each workflow is stored as a JSON file in a structured YYYY/MM/ID.json format. The workflow detects changes before committing, reducing duplicates, and sends optional Slack notifications for start, completion, and errors.

Features:

  1. Automated Daily Backups – Schedule-triggered to run every 24 hours.
  1. Organized Storage – Saves workflows in YYYY/MM/ID.json a.
  1. Change Detection – Detects new, updated, or unchanged workflows before committing.
  1. GitHub Integration – Pushes workflow JSON files directly into your chosen repository.
  1. Scalable – Tested with 1400+ workflows (30 min initial run, <12 min subsequent runs).
  1. Slack Notifications – Sends start, completion, and error alerts.
  1. Configurable – Easily adjust repo owner, name, and path via variables or the Config node.

About the author

Alauddin Aladin is an AI Automation expert helping businesses streamline operations, boost productivity, and scale effortlessly using tools like Make.com and n8n. With over a decade of experience in digital systems and automation strategy, Alauddin empowers entrepreneurs to save time and grow smarter through intelligent workflows and AI-driven solutions.

Leave a Comment