Skip to main content
This example demonstrates Workflows 2.0 using the Steps object to organize multiple individual steps into logical sequences. This pattern allows you to define reusable step sequences and choose which sequences to execute in your workflow. When to use: When you have logical groupings of steps that you want to organize, reuse, or selectively execute. Ideal for creating modular workflow components that can be mixed and matched based on different scenarios.
workflow_using_steps.py
To see the async example, see the cookbook-