n8n-sync

Git-friendly version control for n8n Community Edition workflows. Pull, push, diff, and drift detection โ€” no Enterprise required.

PyPI GitHub License
pip install n8n-sync

Commands

n8n-sync init

Interactive setup wizard

n8n-sync pull

Export workflows to normalized JSON files

n8n-sync push

Create/update workflows on remote

n8n-sync diff

Show semantic local vs remote differences

n8n-sync status

List workflows with drift detection

n8n-sync list

Show remote workflows with IDs & tags

Why n8n-sync?

๐Ÿ“

Readable Git diffs

YAML frontmatter + sorted JSON = stable, meaningful diffs

๐Ÿ”‘

Credential mapping

Staging โ†’ production without manual fixes

๐Ÿ”„

CI integration

diff --check exits 1 on drift, 0 if in-sync

๐Ÿ›ก๏ธ

Drift detection

Know if someone changed a workflow in the UI

๐Ÿ‘€

Dry-run push

Preview changes before applying them

๐Ÿ†“

No Enterprise required

Works with any Community Edition instance

GitHub PyPI