---
title: "Workflows are coming to Supabase"
description: "Supabase is building Workflows, an open source orchestration engine written in Elixir that uses the Amazon States Language to coordinate existing functions (AWS, GCP, Azure, OpenFaaS, Postgres) in response to database events or HTTP calls."
url: "https://swe.quest/articles/workflows-are-coming-to-supabase-a57ed34660f0256b"
canonical: "https://supabase.com/blog/supabase-workflows"
source: "Supabase"
published: "2021-04-02"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 5
tags: ["serverless","postgres","elixir-erlang","scheduling","event-driven"]
---

# Workflows are coming to Supabase

A post on [Supabase](https://swe.quest/sources/supabase.md), published 2021-04-02, 5 min read, Announcement. Original: [https://supabase.com/blog/supabase-workflows](https://supabase.com/blog/supabase-workflows)

## Summary

Supabase is building Workflows, an open source orchestration engine written in Elixir that uses the Amazon States Language to coordinate existing functions (AWS, GCP, Azure, OpenFaaS, Postgres) in response to database events or HTTP calls. Jobs, queues and logs are stored in Postgres via Oban. Workflows can be persistent, surviving restarts, or transient and in-memory. A worked example shows a state machine that maps over Realtime INSERT events on a users table, waits 86400 seconds, then sends a templated welcome email. The interpreter is already open sourced on Hex, with dashboard integration and a Zapier-like UI planned.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Elixir & Erlang](https://swe.quest/tags/elixir-erlang.md) (Languages)
- [Scheduling](https://swe.quest/tags/scheduling.md) (Distributed systems)
- [Event-driven architecture](https://swe.quest/tags/event-driven.md) (Backend & APIs)

## Prerequisites

- serverless functions ([easy posts on Serverless](https://swe.quest/tags/serverless.md?difficulty=easy))
- Postgres basics ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- state machines

## Keywords

Supabase Workflows, Amazon States Language, AWS Step Functions, Oban, Elixir, Supabase Realtime, Firebase Functions

## Related posts

- [Running Durable Workflows in Postgres using DBOS](https://swe.quest/articles/running-durable-workflows-in-postgres-using-dbos-758f463809fa3e9f.md): Supabase · 2024-12-10 · Medium · 4 min read · PostgreSQL, Scheduling, Resilience, Serverless
  DBOS implements durable workflows entirely in Postgres: workflow and step decorators record a workflow's ID, inputs and status in a workflow\_status table and each step's output in operation\_outputs, all within a separate system database.
- [Processing large jobs with Edge Functions, Cron, and Queues](https://swe.quest/articles/processing-large-jobs-with-edge-functions-cron-and-queues-07d70dfaed40c250.md): Supabase · 2025-09-16 · Medium · 8 min read · Serverless, Data pipelines, PostgreSQL, Resilience, Scheduling
  Large data-processing jobs on Supabase can be split into a three-layer pipeline: cron-triggered Edge Functions collect work, distributor jobs route it into per-source Postgres queue tables, and specialized workers process one item at a time to stay within serverless timeouts.
- [How Zillow runs 100 million daily notifications on AWS Step Functions](https://swe.quest/articles/how-zillow-runs-100-million-daily-notifications-on-aws-step-functions-43ac4ec68597baa8.md): AWS Architecture Blog · 2026-11-11 · Medium · 15 min read · Serverless, Communications, System design, Cloud platforms, Configuration management
  Zillow replaced more than 10 per-campaign notification generator services with a configuration-driven Campaign Orchestrator that runs each of 100M+ daily email and push notifications as a short-lived AWS Step Functions Express Workflow, calling a shared library of stateless, schema-driven content modules (the Universal Content Generator) via HTTP Invoke.
- [Updates for Supabase Functions](https://swe.quest/articles/updates-for-supabase-functions-78e26e9858c89367.md): Supabase · 2021-07-30 · Medium · 6 min read · PostgreSQL, Event-driven architecture, Serverless
  Supabase is shipping Database Webhooks in alpha, a convenience wrapper around Postgres triggers that fires asynchronous HTTP requests on INSERT, UPDATE and DELETE with a Realtime-style JSON payload.
- [Introducing Supabase Pipelines](https://swe.quest/articles/introducing-supabase-pipelines-65fc9ed15e862b06.md): Supabase · 2025-12-02 · Medium · 4 min read · Event-driven architecture, PostgreSQL, Analytics & OLAP, Data pipelines, Replication
  Supabase Pipelines is a managed change-data-capture service that replicates Postgres tables to analytical destinations in near real time using logical replication, publications and replication slots, with an initial sync followed by batched ongoing changes.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
