GuideIntermediate

Git and Environments for n8n: Version, Test, and Ship Like a Pro

Ship your n8n workflows like a professional, not a hobbyist: version-controlled in Git, tested in a sandbox with synthetic data and test credentials, and promoted through dev, staging, and prod environments with rollback capability. By the end you produce exactly what the best offers in the market ask for in writing ("as version-controlled, documented JSON"), and you cross the line from "workflow builder" to "automation system owner." The default path throughout is self-hosted Community at zero cost; what only exists in Enterprise or Cloud is called out honestly, with the criteria for deciding when it's worth it.

48
lessons
6
modules
English · Spanish
available in
Yes
certificate
Free
access
NIEVA

Outcomes

What you'll be able to do

  • Understand the difference between a workflow builder and a system owner, and the real limits of exporting and importing JSON by hand
  • Learn Git from zero, applied to workflows: repository, staging and commits, reading a diff, branches, pushing to GitHub, and rollback
  • Export workflows with the n8n CLI, separate credentials from code, normalize the JSON for clean diffs, and document for handoff
  • Spin up isolated dev, staging, and prod environments with Docker Compose on top of the Self-Hosted AI Starter Kit v2, each with its own encryption key and credentials
  • Test in a sandbox before production: test accounts and sandbox keys, synthetic data, dry runs, pinned data, and execution replay
  • Test AI Agent node workflows at zero cost with local models, and verify results with the Evaluation node
  • Promote workflows between environments, review changes as diffs (including AI-generated ones), and run a rollback with a runbook
  • Set up a CI check in GitHub Actions that validates the workflow JSON on every commit

Before you start

What you need to bring

It's for you if...

  • Anyone already building real n8n workflows who wants to stop handling versions by hand through exporting and importing JSON
  • Freelancers and consultants who need to deliver "as version-controlled, documented JSON," exactly as market offers ask for it
  • Teams who want a reproducible dev, staging, and prod flow on self-hosted Community, without paying for Enterprise
  • Automators with no prior Git experience who want to learn it applied to their real use case

Requirements and materials

  • Having built real workflows in n8n and being comfortable with the 2.0 editor
  • Basic terminal skills (running commands, editing files) and Docker installed on your machine
  • No prior Git experience required: it's taught from zero in Module 2
  • Basic JavaScript helps in the Code node, but it's not mandatory

Content

The syllabus, module by module

Open any of them to see its lessons.

Common questions

What people usually ask

Start whenever you like

Reviews

What students say

These reviews are from enrolled students who completed at least 50% of the course. We moderate reviews only on content grounds (spam, offensive language, personal data), never for being critical or negative.

No approved reviews yet.

Be the first to share your experience!