blog/self-hosting-n8n-for-a-gtm-team

Company Logo

Self-hosting n8n for a GTM team: a setup that survives real traffic

A single container on a small server works until the first busy day. The production setup — queue mode, a proper database, credentials, backups, monitoring, version control — that keeps automations running when it matters.

25 Oct 2025 · 2 min read · by HeiSyn

n8n's self-hosting story is its main advantage and its main risk: the quick-start container is easy, and it is also what falls over when a hundred webhooks arrive in a minute or the disk fills. A production setup is not complicated, but it has parts that the quick start skips, and each one is learned the hard way if it is skipped.

Database and queue mode

Run n8n against Postgres, not the default SQLite, from day one. Enable queue mode with a Redis instance and separate worker processes so webhooks are received by one process and executed by others; this is what keeps the instance responsive under load and lets you add workers when volume grows.

Credentials and secrets

Set the encryption key explicitly and back it up separately from the database — without it, every stored credential is unreadable after a restore. Use the environment or a secrets manager for infrastructure credentials, and n8n's credential store for app credentials, with access limited to the workflows that need them.

Backups and version control

Nightly database backups, tested by restoring them. Workflows exported as JSON to a git repository on every change, so a broken edit can be rolled back and a change can be reviewed. Separate staging and production instances, with workflows promoted rather than edited live.

Monitoring

Execution failures alerted to a channel with the workflow name and the error. Webhook endpoints monitored from outside for availability. Disk, memory and queue depth watched. Execution data pruned on a schedule so the database does not grow without limit. With these in place, an n8n instance runs a GTM team's automations for years without drama.

Questions people ask next

What size server does n8n need?
A small instance — two cores and four gigabytes — runs a GTM team's workflows comfortably in queue mode with one or two workers. Scale workers before scaling the main instance. Disk fills with execution data, so pruning matters more than size.
How do we upgrade without downtime?
Test the new version on staging with the exported workflows, back up the database, then upgrade production during a quiet hour. Queue mode lets webhooks be received while workers restart. Keep the previous image to roll back.
Where should we host it?
Any reputable cloud provider in the region your data rules require, on a small virtual machine or a managed container service. Keep it close to the databases it talks to. The choice matters less than the backup and monitoring discipline around it.
n8nself-hostinginfrastructure

Want this built for your team?

A free scoping call: we map your motion, name the number that should move, and quote a fixed-scope build.

logo

HeiSyn is a GTM-first automation agency. We build and run the go-to-market systems behind growing businesses worldwide — B2B, B2C, D2C and B2B2C — outbound, speed-to-lead, CRM & RevOps, AI SDRs, lifecycle, reporting.

© 2026 HeiSyn. All rights reserved.