Skip to main content
A Workflow is the core building block of Fibonacci. It’s a directed graph of nodes that execute in order based on their dependencies.

Anatomy of a Workflow

Creating a Workflow

From Python Code

From YAML

YAML format:
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

Managing Workflows

List All Workflows

Or use the CLI:

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:
Access in nodes with {{input.field_name}}:

Output Data

Each node’s output is stored by its ID:

Best Practices

Next Steps

Node Types

Learn about the different types of nodes

YAML Workflows

Define workflows declaratively