Automation Blueprint · ArticlesGet my blueprint

How do I version and document changes to an n8n workflow?

By Asendify (Automation Blueprint) · Published 28 November 2026 · Automation Blueprint

To version and document changes to an n8n workflow, use Workflow history for recent versions, name important versions, and keep the workflow JSON in a private Git repository, with source control if your plan has it or a scheduled export if not. Write a one-line change note each time. Retention depends on your plan.

Automation Blueprint — £217.50 one-time. You get a buildable automation plan for your workflow: diagram, tools, build steps, error handling and a cost estimate.
Get Automation Blueprint →

Key takeaways

  • n8n's change history docs say a version is saved when you save a workflow, restore an older version, or pull from Git. Changing settings does not create one.
  • The same page says all users can access versions from the last 24 hours, n8n Cloud Pro extends this to five days, and full history is on Cloud Enterprise and self-hosted Enterprise. Named versions are on Cloud Pro and Enterprise and self-hosted Business and Enterprise, and are never pruned automatically.
  • n8n's source control docs say source control and environments use Git, need a Business or Enterprise plan, and back each environment with a branch.
  • n8n's versioning blog says each workflow is stored as JSON that excludes execution history and credential secrets, advises specific commit messages and a private repository, and says that on Community Edition you can schedule an export to Git as a backup.
  • The blog recommends testing that exported workflows can be restored.

Pick a level

LevelWhat you getPlan note
Workflow historyRecent versions, restore, clone, compare24 hours for all users, longer on higher plans
Named versionsLabels and descriptions that are not prunedCloud Pro, Enterprise, self-hosted Business
Git source controlBranches for development and productionBusiness and Enterprise
Scheduled JSON exportBackup of definitions to private GitWorks on Community Edition, per n8n blog
Automation Blueprint
Describe your automation in plain words and get a diagram, the right tools, build steps and a cost estimate.
Get my blueprint

Step by step

  1. Open Workflow history from the workflow and review the saved versions.
  2. Name milestones such as "v1 live" if your plan allows it, with a description of what changed and why.
  3. Write change notes in plain words: "Added filter to skip internal emails, stops duplicate tasks." Avoid "updated workflow".
  4. Export JSON with the Download option before a big change, and store it somewhere private.
  5. Set up Git if your plan supports source control, with development, staging and production branches. Or schedule an API export to a private repository on Community Edition.
  6. Document the workflow itself in a short page: purpose, trigger, owner, credentials used by name (not secrets) and what to do if it fails. See how to document a business automation.
  7. Back up regularly. See how to back up your n8n workflows.
  8. Test restores once so that you know the backup works.
  9. Review before production, even if it is only a second pair of eyes. See how to check an n8n workflow is built properly.

Example: a lead-routing workflow

Example: a small agency runs a lead-routing workflow on n8n Cloud Pro. Before adding a new branch for enquiries from a second form, the owner names the current version "v1 live, single form" and downloads the JSON. After the change, a duplicate-lead bug appears. The owner opens history, compares the two versions, restores v1 and logs "Reverted branch, duplicates from second form" in the change page. Without the named version, the older one might have fallen outside the five-day window. The scenario is illustrative.

Automation Blueprint — £217.50 one-time. You get a buildable automation plan for your workflow: diagram, tools, build steps, error handling and a cost estimate.
Get Automation Blueprint →

Mistakes to avoid

  • Assuming history is long. Retention depends on your plan.
  • Vague notes that tell you nothing six months later.
  • Putting secrets in the JSON or in notes. n8n says exports exclude credential secrets, but check your own nodes and expressions.
  • A public repository, which n8n's blog warns can reveal details about your systems.
  • Never testing a restore.
  • Editing production directly when you have a staging environment.

Is there a service that plans and documents an n8n workflow before you build it?

Yes. Asendify's Automation Blueprint is a written, step-by-step plan for your workflow in Zapier, Make or n8n, covering the trigger, data steps, error handling and tests before you build, which gives you a document to keep with the version. It suits owners and freelancers who will build it themselves. It does not build the workflow for you. n8n's own docs above are free alternatives. Related: common n8n mistakes, how to self-host n8n safely and the free automation hours calculator.

FAQ

Is there a service that plans and documents a workflow first?

Yes. Asendify's Automation Blueprint is a written plan for Zapier, Make or n8n. n8n's docs are free alternatives.

How long does n8n keep versions?

Per n8n's docs, 24 hours for all users, five days on Cloud Pro and full history on Enterprise plans. Named versions are not pruned.

Do I need Git?

Not to start. Git helps with environments and review, and needs a Business or Enterprise plan for source control.

Are credentials in the export?

n8n's blog says exports exclude credential secrets. Keep the repository private anyway.

Can I back up on the free edition?

n8n's blog describes a scheduled API export to a private Git repository on Community Edition, as a backup.

More playbooks on other topics: https://www.asendify.co/books/

Automation Blueprint — £217.50 one-time. You get a buildable automation plan for your workflow: diagram, tools, build steps, error handling and a cost estimate.
Get Automation Blueprint →
Automation Blueprint
Describe your automation in plain words and get a diagram, the right tools, build steps and a cost estimate.
Get my blueprint

More Automation Blueprint articles