
n8n source control: connect Git and set up dev and prod environments
How n8n source control works: connect a Git repo, push and pull workflows between dev and prod, what gets committed, and the new Environments preview.
Manage n8n like software: Git-based source control, environments, workflow versioning, CI/CD pipelines and the n8n public API and CLI.

How n8n source control works: connect a Git repo, push and pull workflows between dev and prod, what gets committed, and the new Environments preview.

How to move n8n workflows to another instance: copy and paste, JSON files, the server CLI, or n8n packages, with credentials, dependencies and repeat imports.

How to use the n8n public API: create a scoped API key, call /api/v1, page through results, retry POSTs safely, and handle the new 2.47 rate limits.

How to monitor a self-hosted n8n: /healthz and readiness checks, the Prometheus /metrics endpoint, failed-run metrics, alerts, and OpenTelemetry traces.

The n8n environment variables worth setting on a production instance: URLs, encryption key, Postgres, timeouts, logging, and the security defaults in 2.x.

How n8n execution data pruning works: the defaults (14 days, 10,000 runs), the env vars to change, what to stop saving, and freeing SQLite disk space.

Set up n8n queue mode with Docker Compose: Redis, Postgres, workers with their own task runners and a webhook processor, tested on n8n 2.46.6 under load.

A tested n8n workflow that checks your sites every 5 minutes, confirms a failure before it alerts, and messages Telegram when a site goes down or recovers.

n8n ships a new minor most weeks on two release channels, stable and beta. Which one to run, where to read the changelog, and how to pin a version.

n8n 3.0 drops npm installs. How to move an npm or npx n8n instance to Docker with your workflows, credentials and encryption key intact, tested on 2.45.7.

A tested Docker Compose setup for self-hosted n8n: Postgres, automatic HTTPS with Caddy, an external task runner for Python, and the settings that matter.

Update self-hosted n8n without losing data: back up the n8n volume, database and encryption key, pin the new version, test it, and roll back if it fails.