Kestra vs. Google Workflows : Serverless step orchestration of Google Cloud APIs vs. YAML flows that call services and run code, on any cloud.

Google Workflows is a serverless Google Cloud service that runs steps written in YAML or JSON, calling Google Cloud APIs and HTTP endpoints in the order you define. Kestra is an open-source orchestration platform whose YAML flows call those same services and also run Python, SQL and shell code, on Google Cloud, other clouds or your own servers.

Google Workflows or Kestra?

Google Workflows is the better fit if

  • Your logic already lives in Cloud Run services and Google Cloud APIs, and you only need to call them in order.
  • You want nothing to operate and a bill counted in steps, with 5,000 internal and 2,000 external steps free each month.
  • Your workflows start from Eventarc events or Pub/Sub messages inside Google Cloud.

Choose Kestra if

  • You want to run Python, SQL, dbt or shell code as a step, with no service to deploy for each piece of logic.
  • Your steps hand each other files or result sets larger than a workflow's 512 KB of variable memory.
  • You orchestrate Google Cloud, other clouds and on-premises systems from one place.

How do Google Workflows and Kestra compare, feature by feature?

Workflow definition YAML or JSON steps, up to 128 KB of source YAML flows, checked against plugin schemas on save
Running code None in the workflow; logic runs in the services it calls Python, SQL, dbt, shell, Node.js and more as tasks
Integrations Connectors for Google Cloud APIs, plus HTTP calls to any endpoint 2,900+ plugins, including BigQuery, GCS, Pub/Sub, Dataproc and Vertex AI, plus HTTP
Data between steps 512 KB for all variables; HTTP responses up to 2 MB Task outputs, with files kept in internal storage and passed by URI
Triggers Cloud Scheduler, Eventarc events, Pub/Sub messages and API calls Schedules with backfills, webhooks, flow triggers, and GCS or Pub/Sub triggers
Parallelism Up to 10 branches per parallel step and 20 concurrent branches or iterations per execution Parallel and Loop tasks, spread across workers
Operations Serverless, with no charge while idle Self-hosted on Docker or Kubernetes, or managed on Kestra Cloud
Execution history Kept for 90 days after an execution completes Kept in your database until a purge task removes it
Pricing Billed per internal and external step after a monthly free tier No per-step fees in open source; Kestra Cloud billed on usage
License Proprietary Google Cloud service Apache 2.0

Which teams run Google Cloud pipelines on Kestra?

Retail

+900% data production at Leroy Merlin on Google Cloud, after Cloud Composer and self-hosted Airflow both fell short.

Kestra is the unifying layer for our data and workflows. You can start small, but then there is no limit to the possibilities and scalability of such an open architecture.

Julien Henrion, Head of Data

Read the story

SaaS

20,000+ executions a month across more than 70 workflows, running dbt on BigQuery and syncing the results.

Declarative Data Engineering is rising as Data teams embrace software practices and Kestra got this point right allowing data practitioners to collaborate around a common tool.

Antoine Balliet, Senior Data Engineer

Read the story

Advertising

>90% lower toolchain costs on Kestra Cloud on Google Cloud, leaving almost entirely BigQuery compute.

Kestra completely transformed our operational workflows. We now deploy new pipelines rapidly, easily manage our integrations, and have vastly improved our productivity and cost efficiency.

Jack Perry, Founding Engineer

Read the story

How are Google Workflows and Kestra built?

Google Workflows orchestrates services that already exist. Kestra calls services too, and runs code on its own workers.

  • Google Workflows: steps that call services

    A workflow is a list of steps that assign variables, branch, loop and call HTTP endpoints or connectors. Workflows keeps each execution's state while it waits on a call, a callback or a sleep, for up to a year.

    • Connectors wrap Google Cloud APIs and wait on long-running operations
    • try, retry and except blocks handle errors per step
    • Subworkflows split a definition into reusable parts
    • Callbacks pause an execution until an HTTP request arrives
  • Kestra: flows that call services and run code

    A flow is a YAML file of tasks. Workers run plugin tasks against APIs and run scripts in containers, and the executor stores the state and outputs of every task run.

    • Python, SQL and shell scripts run with their own dependencies
    • Task runners send heavy jobs to Cloud Run, Google Batch or Kubernetes
    • Namespaces hold each team's flows, files and secrets
    • Subflows reuse one flow inside another

What does the same BigQuery pipeline look like in each?

The same pipeline in both: a BigQuery insert, a call to a Cloud Run service with retries, and an alert if either step fails.

Get started with Kestra
Google Workflows definition orders_daily.yaml
1main:2  steps:3    - run_pipeline:4        try:5          steps:6            - build_daily_orders:7                call: googleapis.bigquery.v2.jobs.insert8                args:9                  projectId: ${sys.get_env("GOOGLE_CLOUD_PROJECT_ID")}10                  body:11                    configuration:12                      query:13                        query: INSERT INTO shop.daily_orders SELECT * FROM shop.orders WHERE order_date = CURRENT_DATE()14                        useLegacySql: false15                result: query_job16            - refresh_service:17                try:18                  call: http.post19                  args:20                    url: https://orders-sync-abc123-uc.a.run.app/refresh21                    auth:22                      type: OIDC23                    body:24                      job_id: ${query_job.jobReference.jobId}25                retry: ${http.default_retry}26        except:27          as: e28          steps:29            - post_alert:30                call: http.post31                args:32                  url: https://alerts.example.com/hooks/orders33                  body:34                    text: orders_daily failed35            - fail:36                raise: ${e}
/ Flows / orders_daily
1id: orders_daily2namespace: company.analytics34tasks:5  - id: build_daily_orders6    type: io.kestra.plugin.gcp.bigquery.Query7    sql: |8      INSERT INTO shop.daily_orders9      SELECT * FROM shop.orders WHERE order_date = CURRENT_DATE()1011  - id: refresh_service12    type: io.kestra.plugin.gcp.function.HttpFunction13    httpMethod: POST14    url: https://orders-sync-abc123-uc.a.run.app/refresh15    httpBody:16      job_id: "{{ outputs.build_daily_orders.jobId }}"17    retry:18      type: exponential19      interval: PT1S20      maxInterval: PT1M21      delayFactor: 1.2522      maxAttempts: 62324errors:25  - id: post_alert26    type: io.kestra.plugin.core.http.Request27    method: POST28    uri: "{{ secret('ALERT_WEBHOOK_URL') }}"29    body: '{"text": "orders_daily failed: {{ execution.id }}"}'

How hard is it to move from Google Workflows to Kestra?

Leaving Google Workflows

The workflow definition is often short, because the logic sits in the Cloud Run services and functions it calls, each with its own deployment, service account and IAM bindings. Expressions use the Workflows syntax and standard library, so each one is rewritten.

Moving to Kestra

Each call step becomes an HTTP, Cloud Run or plugin task, connectors such as BigQuery map to Kestra's GCP plugins, and try, retry and except become task retries and an errors block. Code from small single-purpose functions can move into script tasks, and services other systems depend on stay where they are.

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

Google Workflows

A proprietary Google Cloud service with no self-hosted version. Each month, 5,000 internal steps and 2,000 external HTTP steps are free. After that, internal and external steps are billed separately, and every retry attempt counts as a step. The Cloud Run services and APIs a workflow calls are billed on their own.

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 Google Workflows teams

SOC 2 GDPR

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

Security overview