📄️ Creating a Workflow
Example of using Mastra to define and execute a simple workflow with a single step.
📄️ Sequential Steps
Example of using Mastra to chain legacy workflow steps in a specific sequence, passing data between them.
📄️ Parallel Steps
Example of using Mastra to execute multiple independent tasks in parallel within a workflow.
📄️ Branching Paths
Example of using Mastra to create legacy workflows with branching paths based on intermediate results.
📄️ Conditional Branching
Example of using Mastra to create conditional branches in legacy workflows using if/else statements.
📄️ Calling an Agent
Example of using Mastra to call an AI agent from within a legacy workflow step.
📄️ Using a Tool as a Step
Example of using Mastra to integrate a custom tool as a step in a legacy workflow.
📄️ Cyclical Dependencies
Example of using Mastra to create legacy workflows with cyclical dependencies and conditional loops.
📄️ Workflow Variables
Learn how to use workflow variables to map data between steps in Mastra workflows.
📄️ Human in the Loop Workflow (Legacy)
Example of using Mastra to create legacy workflows with human intervention points.
📄️ Workflow (Legacy) with Suspend and Resume
Example of using Mastra to suspend and resume legacy workflow steps during execution.