Deploy n8n β the open-source workflow automation tool β on Upsun in minutes. No infrastructure management, no DevOps overhead, just powerful automation with a drag-and-drop interface.
Related article: NoCode with Upsun: Supercharge Your Automation with Zero Code
| Component | Details |
|---|---|
| Runtime | Node.js 22 |
| n8n packages | n8n (latest) + n8n-nodes-mcp (MCP community nodes) |
| Persistent storage | .n8n/ (workflows, credentials, DB) and .cache/ |
| SMTP | Pre-configured for Upsun's built-in SMTP relay (port 25) |
| Task Runners | Enabled via N8N_RUNNERS_ENABLED |
| HTTPS | Automatic β HTTP requests are redirected to HTTPS |
- An Upsun account
- The Upsun CLI installed
- Git installed locally
git clone <this-repo-url>
cd n8nupsun project:createFollow the CLI prompts to set up your project and link it to this repository.
git add .
git commit -m "Initial n8n deployment"
upsun pushAfter deployment completes, grab your live URL:
upsun environment:url --primaryOpen the URL in your browser and create your n8n account.
All Upsun configuration lives in .upsun/config.yaml.
- Dynamic port binding β n8n needs to listen on the port assigned by Upsun. Since
variables.envdoesn't support referencing other variables, thehooks.buildstep writesN8N_PORT=$PORTandN8N_LISTEN_ADDRESS=0.0.0.0into.environment, which is sourced at runtime. - Mounts β The
.n8nmount persists your workflows, credentials, and SQLite database across deployments. The.cachemount keeps temporary data out of the read-only filesystem. - Request buffering disabled β Required for n8n's real-time features (webhooks, SSE, streaming).
You can set additional n8n environment variables via the Upsun CLI:
upsun variable:create --name env:N8N_ENCRYPTION_KEY --value '<your-key>' --sensitive trueSee the n8n environment variables reference for the full list.
A few real-world automations you can build with n8n:
- π§ Email marketing β Sync new Airtable contacts to Mailchimp
- π¬ Slack alerts β Notify your team when a customer submits a form
- π Social monitoring β Track mentions and store them in Notion
- ποΈ File watchers β Upload new Dropbox files to Google Drive automatically
- π€ AI agents β Use MCP nodes (
n8n-nodes-mcp) to connect AI tools to your workflows
- n8n documentation
- Upsun documentation
- Upsun CLI reference
- Demo project on GitHub
- Upsun Discord community
This project template is provided as-is. n8n itself is licensed under the Sustainable Use License.