A Temporal workflow is a resilient, stateful function that defines the business logic for a long-running process. Unlike ephemeral functions, its execution is durable and fault-tolerant, surviving process restarts and infrastructure failures. The Temporal platform guarantees exactly-once execution semantics by persisting workflow state to a database and managing automatic retries with exponential backoff. This model allows developers to write complex, multi-step business processes as simple code without manually handling state persistence or failure recovery.
