Workflow Basic Template
The Workflow Basic template demonstrates the simplest workflow you can build with BindAI. It introduces the core concepts of the workflow engine by executing a single AI agent in a linear sequence. This template is the recommended starting point for understanding how workflows are created, executed, and extended. Once you’re familiar with this template, you can gradually introduce conditions, loops, parallel execution, retries, scheduling, and human approval into your workflows.Purpose
This template demonstrates how to:- Create a workflow
- Register and execute an AI agent
- Execute nodes sequentially
- Share data through the workflow context
- Return the final workflow result
Workflow Structure
The workflow consists of three nodes connected in a simple linear sequence.When to Use
Use the Workflow Basic template when you want to:- Learn how BindAI workflows execute
- Build your first workflow
- Test an AI agent in a workflow
- Create simple automations
- Prototype new workflow ideas
Components
A basic workflow contains the minimum set of components required for execution.Execution Flow
Workflow execution follows a predictable sequence.Agent Execution
The Agent node performs the primary AI task.Workflow Context
Every workflow maintains a shared execution context.- User input
- Agent responses
- Variables
- Intermediate results
- Metadata
Expected Output
When execution completes successfully, the workflow returns a result.What You’ll Learn
By working through this template, you’ll understand:- How a workflow is structured
- How workflow execution begins and ends
- How nodes execute sequentially
- How agents participate in a workflow
- How data is shared through the workflow context
Extending the Workflow
Once you’re comfortable with the basic execution model, you can introduce additional workflow nodes to support more advanced automation. For example, adding a condition:Best Practices
- Start with a simple linear workflow before adding complexity.
- Verify that each node behaves as expected before introducing additional logic.
- Give workflow nodes clear, descriptive names.
- Store shared information in the workflow context instead of duplicating data.
- Build complex workflows incrementally by adding one feature at a time.
Related Templates
The Workflow Basic template introduces the core execution model used throughout the BindAI workflow engine. The remaining templates build on these same concepts while introducing additional capabilities:- Workflow Condition
- Workflow Loop
- Workflow Parallel
- Workflow Human
- Workflow Retry
- Workflow Timeout
- Workflow Schedule
