Skip to main content
n8n support is available starting from Zylon 1.52

n8n Integration

n8n is a workflow automation tool now integrated into Zylon, enabling you to create flows by connecting different services and systems. The deployment and configuration of n8n are automatically managed by Zylon, requiring minimal user setup.

Important Considerations

  • Version management: Zylon manages the deployed n8n version to ensure compatibility with the rest of the system. Manual n8n updates are not available.
  • Access: n8n is available at its own subdomain (for default: https://n8n.your-zylon-instance.com)
  • User management: User management in n8n is independent from Zylon users. Users must be created and managed directly within the n8n interface.

Configuration

To enable n8n in your environment, you only need to modify the corresponding option in the /etc/zylon/zylon-conf.yaml file:
n8n’s public API allows you to manage workflows, executions, credentials, and other resources programmatically through REST endpoints (API Documentation)
The license fields only apply when externalConnection.enabled is set to true and an internet connection is available.
In Semi/Full AirGap, externalConnection.enabled will always be false regardless of the configured value.

SSL Certificates Configuration (Optional)

This section is only necessary if you are not using Let’s Encrypt certificates
If your Zylon installation uses manual SSL certificates (not Let’s Encrypt), you will need to create an additional Kubernetes secret specifically for n8n.

Create a Secret for n8n

Once you have your certificate files ready (tls.crt and tls.key), create a secret in the Kubernetes cluster specifically for n8n:
After creating the secret, reload the configuration:
Your n8n instance will now use HTTPS with the configured SSL certificates.

External Connections

When external connections are disabled, certain n8n functionalities are automatically deactivated:
  • Community packages: Installation of packages from the NPM registry is disabled
  • Workflow templates: Community workflow templates are disabled
  • License activation: Licenses are not validated and will not work in this mode
These restrictions ensure that n8n operates without external dependencies.

Proxy Configuration

n8n uses Zylon’s global proxy configuration. The system automatically manages proxy certificates and endpoints, so no additional n8n-specific configuration is required. If your organization uses a proxy, configure it following the proxy configuration guide.

Troubleshooting

DNS

If you experience DNS resolution problems with n8n (e.g., slow or failing lookups for internal services), you may need to adjust the dnsConfig.options.ndots setting. To apply custom DNS settings, add the following to your configuration:
After making changes, run sudo zylon-cli sync to apply them.

Certificate rejection

If you have a custom certificate n8n may reject it. To avoid TLS verification on internal calls you can set up the following flag
After making changes, run sudo zylon-cli sync to apply them.

Backup Management

n8n uses PostgreSQL as its database, which means all n8n information is automatically included in Zylon’s standard database backups. For more information about backup management, see the Zylon backup documentation. For specific use cases involving workflow migration or transfer between environments, see the Workflow Import and Export section.

Apply Configuration

After modifying the configuration file, apply the changes:

Workflow Import and Export

n8n provides CLI commands that allow selective export and import of entities. These commands are especially useful for:
  • Migration from other environments: If you want to migrate n8n information to Zylon from another existing environment
  • Selective import: Export specific workflows from other environments and import them into Zylon without needing to migrate the entire instance
For more information about CLI commands, see the official n8n documentation.

Basic Export Commands

Export all workflows:
Export a specific workflow:
Export credentials:
Export decrypted credentials:
Use the --decrypted option when migrating between instances with different encryption keys.
Export complete instance:

Basic Import Commands

Import workflows:
Import a specific workflow:
Import credentials:
Import all instance:
Only works if the export database type matches the target database type. Zylon n8n uses PostgreSQL.
Import complete instance:

Transfer Files from Your Local Machine

If you need to import workflows, credentials or other files located on your local machine, you must first transfer them to the n8n pod:

1. Get the Persistent Volume ID

2. Copy Files to the Volume

3. Access the Pod and Verify the File

Important Notes

Exported entities retain their original IDs, so importing them will overwrite existing entities with the same ID.
Export files must be located in an accessible directory within the pod, typically /home/node/.n8n/.