Documentation
Run reliable, multi-step workflows as ordinary code. Durablex makes each step durable, retriable, and resumable.
Durablex runs durable workflows: ordinary functions whose every step is saved as it runs, so the whole thing survives crashes, restarts, and deploys without losing progress or repeating work. You write normal code; Durablex handles the retries, the waiting, and the resuming.
New here? Run your first workflow in a few minutes.
Start here
Documentation
Quickstart and the concepts behind durable execution.
SDK
The @durablex/sdk TypeScript API: defineWorkflow, steps, serve, register, connect.
REST API
Trigger events, read and control runs over plain JSON HTTP - no SDK required.
Trigger a workflow
A workflow starts from an event. Send one from another workflow with the SDK, or from anywhere over the REST API - no SDK required:
// inside a workflow handler
await ctx.step.emit("notify", {
name: "order.created",
app: "order-app",
data: { orderId: "A1" },
});curl -X POST "$DURABLEX_ENGINE_URL/events" \
-H "Authorization: Bearer $DURABLEX_API_KEY" \
-d '{"name":"order.created","app":"order-app","data":{"orderId":"A1"}}'