Kestra vs. n8n : Nodes on a visual canvas for app and AI automations vs. YAML flows that run code, data and infrastructure tasks across teams.

n8n is a workflow automation tool where you connect nodes on a canvas, with 2,000+ integrations and AI agent nodes, self-hosted or on n8n Cloud. Kestra is an open-source orchestration platform that runs YAML flows, where scripts, data pipelines, infrastructure jobs and API calls are tasks.

n8n or Kestra?

n8n is the better fit if

  • The people building automations prefer to drag nodes on a canvas and rarely write code.
  • Your main use case is AI agents and chat workflows, and n8n's agent and LangChain nodes cover them.
  • One team owns automations between SaaS apps that already have n8n nodes.

Choose Kestra if

  • You want every workflow in Git, with revisions and review, without a paid plan.
  • Your workflows run Python, Shell or Go with their own dependencies, or move large files and datasets.
  • You need an Apache 2.0 license, for example to offer workflows to your own customers.

How do n8n and Kestra compare, feature by feature?

Workflow definition Nodes on a visual canvas, saved as workflow JSON YAML flows, with a no-code editor and a topology view
Code Code node in JavaScript or Python Script tasks in Python, Node.js, Shell, Go, R, PowerShell and more, each with its own dependencies
Triggers Webhooks, schedules, app events and error triggers Webhooks, schedules, flow triggers, polling and realtime triggers
Failure handling Retry on fail per node, and one error workflow per workflow Retries and timeouts per task, an errors block, and replay from any task
AI agents AI Agent and LangChain nodes on the canvas AIAgent and LLM tasks inside a flow
Scaling Queue mode, with a main instance, Redis and Node.js workers Executor, scheduler and workers scale separately in both editions
Version control Git and environments on the Business and Enterprise plans Every save is a revision; flows sync with Git in every edition
Access control Projects, SSO and external secrets on paid plans Namespaces in every edition; RBAC and SSO (Kestra Enterprise)
Integrations 2,000+ integrations 2,900+ plugins and an HTTP task
License Sustainable Use License, for internal business, non-commercial or personal use Apache 2.0

Which integration teams moved to Kestra?

E-commerce

0 incidents on Black Friday after Víssimo compared n8n, Temporal, Prefect and Airflow, then moved its iPaaS and AWS Lambdas to Kestra.

With Kestra, orchestration stopped being a fragile point in the architecture and became a stable foundation for the business.

Rafael Bartalotti, Engineering and Architecture Manager

Read the story

Healthcare

50+ critical integration workflows moved off a 30-year-old platform, run on-premises for more than 400 pharmacies.

Stability was the turning point. With Kestra, our most critical flows finally run the way they should.

Infrastructure Lead

Read the story

HR software

10x faster connector development, with hundreds of connectors built on Kestra.

Thank you Kestra for your great support and for providing a best-in-class platform to power our integrations!

Patrick Ferreira

Read the story

How are n8n and Kestra built?

n8n passes lists of items from node to node on a canvas. Kestra runs a YAML flow where each task hands outputs and files to the next.

  • n8n: nodes on a canvas

    A workflow is a graph of nodes stored as JSON. Each node receives a list of items and runs its operation once per item, and in queue mode the main instance hands executions to workers through Redis.

    • Trigger nodes start workflows from webhooks, schedules and app events
    • Code nodes run JavaScript or Python against the incoming items
    • Credentials are stored encrypted in n8n's database
    • SQLite by default; Postgres for teams and queue mode
  • Kestra: declarative flows

    A flow is a YAML file. Kestra validates it against each plugin's schema when you save it and shows the topology before anything runs.

    • Webhook, schedule, event and flow triggers
    • Script tasks install their dependencies per task, in containers
    • Outputs and files stored once and passed by reference
    • Task runners send heavy jobs to Kubernetes or your cloud account

What does the same workflow look like in each?

The same workflow in both: a webhook receives a batch of orders, each order is posted to the ERP with up to three tries, and an alert goes out if the run fails.

Get started with Kestra
n8n workflow order_sync.json
1{2  "nodes": [3    {4      "name": "Orders webhook",5      "type": "n8n-nodes-base.webhook",6      "typeVersion": 2,7      "position": [0, 0],8      "parameters": { "httpMethod": "POST", "path": "orders" }9    },10    {11      "name": "One item per order",12      "type": "n8n-nodes-base.splitOut",13      "typeVersion": 1,14      "position": [220, 0],15      "parameters": { "fieldToSplitOut": "body.orders" }16    },17    {18      "name": "Send to ERP",19      "type": "n8n-nodes-base.httpRequest",20      "typeVersion": 4.2,21      "position": [440, 0],22      "retryOnFail": true,23      "maxTries": 3,24      "parameters": {25        "method": "POST",26        "url": "https://erp.example.com/api/orders",27        "sendBody": true,28        "specifyBody": "json",29        "jsonBody": "={{ JSON.stringify($json) }}"30      }31    }32  ],33  "connections": {34    "Orders webhook": { "main": [[{ "node": "One item per order", "type": "main", "index": 0 }]] },35    "One item per order": { "main": [[{ "node": "Send to ERP", "type": "main", "index": 0 }]] }36  },37  "settings": { "errorWorkflow": "Hx3kP9qLm2Vt7RaZ" }38}
/ Flows / order_sync
1id: order_sync2namespace: sales.integrations34triggers:5  - id: orders_webhook6    type: io.kestra.plugin.core.trigger.Webhook7    key: "{{ secret('ORDERS_WEBHOOK_KEY') }}"89tasks:10  - id: each_order11    type: io.kestra.plugin.core.flow.Loop12    values: "{{ trigger.body.orders }}"13    tasks:14      - id: send_to_erp15        type: io.kestra.plugin.core.http.Request16        method: POST17        uri: https://erp.example.com/api/orders18        contentType: application/json19        body: "{{ item.value }}"20        retry:21          type: constant22          interval: PT1S23          maxAttempts: 32425errors:26  - id: alert27    type: io.kestra.plugin.slack.notifications.SlackIncomingWebhook28    url: "{{ secret('SLACK_WEBHOOK') }}"29    messageText: "Order sync failed: {{ execution.id }}"

What does it take to get n8n and Kestra running?

Both projects start from a Docker Compose setup for a first run.

n8n SQLite by default
$curl -fsSL https://get.n8n.io | sh

n8n's one-line setup checks for Docker, writes a Compose file and starts n8n on localhost:5678 with a built-in SQLite database. For a team or production install, the docs point to Docker Compose with Postgres.

Kestra Database included
$curl -o docker-compose.yml https://raw.githubusercontent.com/kestra-io/kestra/develop/docker-compose.yml$docker compose up

One Compose file starts Kestra and its Postgres database. Open localhost:8080, pick a blueprint and run it. Production runs the same image on Kubernetes with the Kestra Helm chart.

How hard is it to move from n8n to Kestra?

Leaving n8n

Each workflow downloads as a JSON file with its nodes, parameters and connections. Credentials stay behind, since the file holds only their names and IDs. Code nodes use n8n helpers such as $json and $input, so their JavaScript needs small edits to read Kestra inputs.

Moving to Kestra

Trigger nodes become Kestra triggers, HTTP Request nodes become HTTP tasks, app nodes become plugin tasks and Code nodes become Node.js or Python script tasks. While workflows move in waves, a Kestra HTTP task can call an n8n webhook, so both run side by side.

How do n8n and Kestra compare on licensing, pricing and self-hosting?

n8n

The Community edition is free to self-host under the Sustainable Use License, which allows use for internal business, non-commercial or personal purposes. Files marked .ee need an n8n Enterprise License, and SSO, Git, environments and projects need a paid plan. n8n Cloud is billed by workflow executions, one per run whatever its step count.

Kestra

Apache 2.0 and free to self-host, with no limits on flows or executions. Kestra Cloud is billed on usage, and Kestra Enterprise is licensed per instance. Both are on the pricing page.

Three ways to run Kestra

Try it alone, try it managed, or talk to an expert who has done the migration before.

Kestra Core

Open Source

Where most teams start, and where many experiment with a first production. Self-hosted and free, with no limits on flows or executions.

Get started

Kestra Cloud

Early Access

Managed by the people who build Kestra. No platform to run, pay for what you use.

Try Kestra Cloud
Find the edition that fits your team

Questions from n8n teams

SOC 2 GDPR

SOC 2 Type 2 and GDPR, independently audited. The report is available on request.

Security overview