Run durable, multi-step workflows
You can now deploy Next.js apps that use the Workflow SDK on Arkor. Split a background process into steps, retry a failed operation or wait for a webhook before continuing. This makes it possible to build flows such as an onboarding sequence that waits for a response, or a document processing job that retries an external service.
Use the workflow package at version 5.x, wrap your Next.js configuration with withWorkflow,
and mark functions with "use workflow" and "use step". Arkor supplies the runtime and stores
each run's progress; no separate workflow service needs configuring. The SDK's sleeps, hooks,
webhooks and streams are supported.
The project's Workflows page shows runs by environment and status. Open a run to inspect its input and output previews, steps, retry attempts, waiting hooks, event log and failure reason. Production and preview runs are separate.
A run continues on the deployment that started it after a newer version is published, for up to 30 days after its deployment retires. There is no per-run or per-step charge; the CPU used by workflow code counts as Active CPU usage.