cyberneticlibrary

Sync Remote Workflows to Local Repo

mirror-syncworkflowsetup L314
neurawork-git/n8n-autopilot
What it does

Mirror n8n remote workflows to local repo

Best for

Keeping n8n local repo mirrored to instance without manual sync.

Inputs
  • · optional: env override
  • · optional: limit (smoke-test)
Outputs
  • · file paths pulled
  • · mirrorComplete: bool
  • · remote-only remaining count
Requires
  • · n8n-autopilot agent
  • · n8nac CLI
  • · N8NAC_ENVIRONMENT (inherited)
Preconditions

N8N instance running; n8nac authenticated; session env set

Failure modes
  • · env collision
  • · remote-only list incomplete
  • · pull timeout
Trust signals
  • · env-enforcement hook safety net
  • · idempotent pull
  • · Discover→Pull→Verify phases