Anatomy of a Workflow
Creating a Workflow
From Python Code
From YAML
workflow.yaml
Workflow Lifecycle
1
Create
Define your workflow and nodes in Python or YAML
2
Validate
Check for errors like circular dependencies or missing nodes
3
Deploy
Upload to Fibonacci platform
4
Execute
Run with input data
5
Monitor
Check status and retrieve results
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