Self-Hosted n8n Platform Migration
the same retailer, platform infrastructure
n8nDockerPostgreSQLSlack
The problem
Dozens of production workflows ran on hosted n8n with no visibility when they failed. A broken workflow stayed broken until someone noticed the downstream symptom, which was usually a customer-facing one.
What was built
- Self-hosted n8n on Docker and Postgres, with live workflows cut over in stages rather than in one move
- Database connection pool tuned after the default caused interface stalls under load
- An hourly canary that detects when the task runner stops executing code and alerts Slack
- Error workflows routing failures to the right channel instead of failing silently
What was hard
A scheduled pipeline reported success while writing nothing. The upstream API returned a success status with a null payload when the record was absent, so every check passed and two thirds of the work silently did nothing. Finding it meant comparing what the API claimed against what actually landed.