This course teaches you how to combine agents and tools into robust, multi-step processes using Mastra’s official workflow system. You’ll start with simple, linear workflows and progress to advanced features like data passing, human review, and error handling.
Overview
Syllabus
- Unit 1: Creating Your First Mastra Workflow
- Create Your First Mastra Workflow
- Creating your first Step
- Implementing the Workflow Execute Function
- Committing the Workflow
- Running the Workflow
- Unit 2: Chaining Multiple Agents in a Workflow
- Creating our Workflow
- Adding the IntentAgent
- Adding the SummaryAgent
- Debugging a Broken Workflow Chain
- Unit 3: Creating Conditional Workflows with Branching
- Adding a Schema to the SummaryAgent
- Using the Schema
- Rewriting the Step Schemas
- Adding a new printDraftReply Step
- Adding a noReplyStep
- Automating our Workflow