SupabaseFrancesco CecconAnnouncement
Workflows are coming to Supabase
Summary
Supabase is developing Workflows, an Elixir-based orchestration engine designed to coordinate complex serverless tasks and event-driven logic. Standard serverless and database-triggered functions often struggle with delayed execution and queuing without external cron processes. To solve this with native Postgres integration, the new engine adopts the open-source Amazon States Language specification to orchestrate functions across platforms including AWS, GCP, Azure, OpenFaaS, and Postgres itself. Execution states, jobs, queues, and logs are deeply integrated with Postgres using the Oban job processing library, though transient in-memory workers are also supported. The engine responds directly to HTTP calls or database change events delivered through Supabase Realtime.
Context
Standard function providers and database-triggered functions lack built-in queuing and scheduling capabilities for delayed actions without relying on self-managed cron jobs. Furthermore, existing open-source workflow tools lack deep integration with Postgres.
Approach / What changed
Supabase is building an open-source Elixir orchestration engine that interprets Amazon States Language. It coordinates functions across cloud providers and Postgres, utilizing Oban for Postgres-backed queues, jobs, and state storage, with support for persistent and transient execution.
Takeaways
Supabase Workflows uses the open-source Amazon States Language to define state transitions and coordinate functions across external providers and Postgres without running code itself.
Workflows support both default persistent mode, which relies on Postgres and Oban to survive server restarts, and transient mode for high-frequency in-memory execution.
Workflows can be triggered by direct HTTP calls or database events like inserts, allowing state constructs like Map and Choice to process batch event payloads.
Source and freshness
- Source
- supabase.com
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.