Render raises $100M at a $1.5B valuation
Read the announcementWhy deploy n8n on Render?
n8n is a workflow automation platform that connects applications, databases, and APIs via a node-based visual interface. It enables developers to build complex logic, synchronizations, and custom integrations between disparate services without writing extensive glue code.
This template leverages Render's infrastructure-as-code to deploy the official n8n Docker image and automatically wires it to a managed Postgres database, removing the need to manually configure connection strings or networking. By abstracting away the complexity of running a database server, this setup saves you from managing docker-compose files or VPS maintenance while instantly providing automatic SSL and managed backups. You get a production-ready automation platform where the application and persistence layer are pre-integrated, allowing you to move from deployment to building workflows in minutes.
Architecture
What you can build
This template provisions a self-hosted n8n instance connected to a managed PostgreSQL database for persistent workflow storage. You will have a live environment ready to design node-based automations, create custom webhooks, and synchronize data across your API services immediately after deployment.
Key features
- Declarative Infrastructure Blueprint: Utilizes a
render.yamlfile to define all services and dependencies as code for reproducible deployments. - Official Container Runtime: Deploys the web service by directly pulling and running the official n8n Docker image.
- Integrated Postgres Storage: Automatically provisions and connects a Render Postgres database to persist n8n workflow data.
- Free Tier Optimization: Pre-configures compute and storage resources to use Render's free instance types by default.
Use cases
- Migrate from Zapier to self-hosted n8n to reduce monthly automation costs
- Deploy a private workflow automation server with persistent Postgres storage
- Startups building custom internal tool integrations on a free Render instance
- Developers spinning up a low-code backend for rapid MVP prototyping
What's included
Service | Type | Purpose |
|---|---|---|
n8n-service | Web Service | Application service |
n8n-db | PostgreSQL | Primary database |
Prerequisites
- Public Webhook URL: The full public URL where your n8n instance will be accessible (e.g., https://your-service-name.onrender.com), required for webhook triggers to function.
Next steps
- Open the service URL provided by Render and create your admin account — You should see the 'Set up owner account' screen followed by the main 'Workflows' dashboard
- Create a new workflow, add a 'Manual Trigger' node, and click 'Test workflow' — You should see a green 'Success' banner and execution data appear in the output panel
- Toggle the workflow activation switch in the top right corner — The switch should turn green and stay active, verifying the Postgres database is successfully storing your workflow state