OpenCloud
N8N

n8n Configuration

How to configure and customize your n8n instance on OpenCloud.

Configure n8n

After deploying n8n, you can customize it through environment variables and the n8n settings panel.

Default configuration

OpenCloud sets up n8n with sensible defaults:

SettingDefault ValueWhat it does
N8N_ENCRYPTION_KEYAuto-generatedEncrypts your saved credentials (API keys, passwords)
DB_TYPEpostgresdbUses your PostgreSQL database
GENERIC_TIMEZONEAsia/Ho_Chi_MinhSets the timezone for scheduled workflows
EXECUTIONS_DATA_PRUNEtrueAutomatically deletes old execution data
EXECUTIONS_DATA_MAX_AGE336 (14 days)How long to keep execution history
N8N_DIAGNOSTICS_ENABLEDfalseTelemetry is disabled for privacy

Common customizations

Change the timezone

If you're not in Vietnam, update the timezone:

  1. Go to your n8n application > Environment Variables
  2. Update GENERIC_TIMEZONE and TZ to your timezone (e.g., America/New_York, Europe/London)
  3. Save and restart the application

Change execution history retention

By default, n8n keeps execution data for 14 days. To change this:

  1. Go to Environment Variables
  2. Update EXECUTIONS_DATA_MAX_AGE (value in hours, e.g., 720 = 30 days)
  3. Save and restart

Change the language

  1. Go to Environment Variables
  2. Update N8N_DEFAULT_LOCALE (e.g., vi for Vietnamese, en for English)
  3. Save and restart

Important: Encryption key

Never change or delete N8N_ENCRYPTION_KEY after you've saved credentials in n8n. This key encrypts all your stored API keys and passwords. Changing it will make all saved credentials unreadable.

Connecting n8n to other services

Inside n8n, you can add "credentials" to connect to external services:

  1. Open your n8n dashboard
  2. Go to Settings > Credentials
  3. Click Add Credential
  4. Search for the service (e.g., Google Sheets, Slack, GitHub)
  5. Follow the on-screen instructions to authenticate

Custom domain

To access n8n from your own domain, see Custom Domains. After connecting a domain, n8n automatically updates its webhook URLs to use your new domain.

Troubleshooting

ProblemSolution
n8n won't startCheck that your PostgreSQL database is running
Workflows don't trigger on scheduleVerify the timezone setting is correct
Credentials don't workCheck that N8N_ENCRYPTION_KEY hasn't been changed
Execution history is missingData is automatically pruned after 14 days by default
Need help? Check the n8n logs for error messages, or submit a support ticket.
Copyright © 2026