Mastra Workflows

Workflows are durable, graph-based pipelines composed from typed steps with branching, parallelism, loops, suspension, human-in-the-loop, and event triggers. Step inputs and outputs are validated against Zod schemas and each run is persisted so workflows can be replayed, resumed, and observed.

Mastra Workflows is one of 12 APIs that Mastra publishes on the APIs.io network.

Tagged areas include Workflows, Orchestration, and Durable Execution. The published artifact set on APIs.io includes API documentation.

API entry from apis.yml

apis.yml Raw ↑
aid: mastra-ai:mastra-workflows
name: Mastra Workflows
description: Workflows are durable, graph-based pipelines composed from typed steps with branching, parallelism,
  loops, suspension, human-in-the-loop, and event triggers. Step inputs and outputs are validated against
  Zod schemas and each run is persisted so workflows can be replayed, resumed, and observed.
humanURL: https://mastra.ai/docs/workflows/overview
tags:
- Workflows
- Orchestration
- Durable Execution
properties:
- type: Documentation
  url: https://mastra.ai/docs/workflows/overview
- type: SourceCode
  url: https://github.com/mastra-ai/mastra/tree/main/workflows