Workflows provide durable execution at the edge—run processes spanning minutes, hours, or days without worrying about infrastructure failures. Each workflow instance runs to completion, automatically retrying on errors, and you control the execution model.
Define workflows with the workflow decorator and step functions. Each step is a function that's durable: if the runtime restarts, the step resumes from where it stopped. No more manual retry logic or state machine management.
Use-cases include: scheduled reports, batch processing, user onboarding flows, webhook processing that needs external calls. The workflow runs to completion, with configurable retry policies per step. History lets you audit and debug—see exactly what ran and when.