~/talk

Automate Your Life: Building a Workflow Engine in TypeScript

Talkat jsday 2025 · 2025-04-07..04-08· [typescript, ai-assisted-development]
slides:none on file

Claims a runnable TypeScript workflow engine that actually enforces a DAG, stores templates and runs in Postgres, queues work on Redis and executes workers via a promise chain, and wires a web hook trigger to steps implemented as a plugin registry. Uses React Flow for the UI and TypeBox for schemas, and supports IoT and LLM plugins as concrete examples. Surprising tradeoff is zero error handling so a single step failure aborts the run. Conditionals use a conditional JSON rule engine and plugins are literally ten lines to write.

AI-written summary · about

  1. 0:00Workflow engines intro
  2. 1:05What is a workflow engine
  3. 2:11Building a toy engine
  4. 3:15Practical use case
  5. 5:43Graph theory basics
  6. 7:29Validating workflow graphs
  7. 8:58Tech stack
  8. 9:41Key workflow concepts
  9. 13:16Lazy dev and error handling
  10. 14:21Plugin ecosystem
  11. 16:29How engine executes
  12. 21:09Dependency execution
  13. 23:41Conditional logic with JSON
  14. 25:06Branching in workflows
  15. 25:26Project status
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.