Scaling & Operating n8n · 45 min

CI/CD for workflows

Automate deploying workflow JSON from Git to n8n instances via the public API.

Key concepts

  • n8n Public REST API
  • GitHub Actions pipeline
  • Environment promotion (dev→staging→prod)

Exercise

Write a GitHub Action that pushes a workflow JSON file to a staging n8n instance on merge.

Official docs