Anatomy of a Workflow
Creating a Workflow
From Python Code
From YAML
workflow.yaml
Workflow Lifecycle
Workflow Properties
| Property | Type | Description |
|---|---|---|
name | str | Human-readable workflow name |
description | str | Description of what the workflow does |
version | int | Version number (default: 1) |
is_active | bool | Whether workflow can be executed |
tags | list[str] | Tags for organization and filtering |
workflow_id | str | Assigned after deployment |
nodes | list[Node] | List of nodes in the workflow |
node_count | int | Number of nodes |
Managing Workflows
List All Workflows
Update a Workflow
Delete a Workflow
Get Workflow Statistics
Execution
Synchronous Execution
Wait for the workflow to complete:Asynchronous Execution
Start execution and check later:Async/Await Pattern
For high-performance applications:Input Data
Pass data to your workflow at runtime:{{input.field_name}}:
Output Data
Each node’s output is stored by its ID:Best Practices
Use descriptive names
Use descriptive names
Add meaningful tags
Add meaningful tags
Version your workflows
Version your workflows
Validate before deploying
Validate before deploying
Next Steps
Node Types
Learn about the different types of nodes
YAML Workflows
Define workflows declaratively