Short version: if you want n8n with a more permissive licence, use Activepieces. If your automations are really code, use Windmill. If they are data pipelines, Kestra. If they are events from devices, Node-RED. Every option below can run on your own server; star counts and licences are from the GitHub API on 18 September 2026.

Why look beyond n8n at all
n8n is excellent and has over 200,000 stars. But it is fair-code under its Sustainable Use License, not an OSI-approved open-source licence, which limits some commercial uses, notably offering it as a hosted service to your own customers. That, and a preference for code-first tools, is what drives most searches for alternatives.
The alternatives
**Activepieces** is the closest match: a visual builder, a catalogue of integrations and AI steps. Its community edition is permissively licensed. Check that your connectors exist first; the catalogue is smaller than n8n's.
**Windmill** is script-first. Write steps in Python, TypeScript or Go and get workflows, schedules and internal UIs with permissions and audit logs.
**Kestra** (Apache-2.0) defines flows declaratively in YAML and is built for data and orchestration workloads.
**Node-RED** (Apache-2.0) is the veteran for event-driven and IoT flows, light enough for a Raspberry Pi.
**Huginn** (MIT) runs agents that watch websites and feeds and act on changes. Think self-hosted IFTTT for people comfortable with Ruby.
**Automatisch** is a Zapier-style builder, but its last code push was in February 2026, so weigh its maintenance pace before committing.

How to choose
- Look at what your workflows are.
- SaaS-to-SaaS glue: Activepieces.
- Mostly scripts: Windmill.
- Data pipelines: Kestra.
- Device and event flows: Node-RED.
- Check the licence against your plans.
- Reselling automation to customers needs a permissive licence.
- Prototype your busiest workflow first.
- Migration is a manual rebuild; there is no reliable importer.
Running several of these side by side is cheap on one small VPS. Our self-hosted productivity stack covers the rest of the setup.