Skip to main content

Workflow runners

Mastra workflows can be executed using the built-in workflow runner or deployed to specialized workflow execution platforms that handle orchestration, monitoring, and reliability.

Inngest
Direct link to Inngest

Inngest is a developer platform for running background workflows without managing infrastructure. Mastra workflows can be deployed to Inngest, which provides step memoization, automatic retries, real-time monitoring, and suspend/resume capabilities.

Visit the Inngest deployment guide for setup instructions and the Inngest workflow example for a complete implementation.

Temporal
Direct link to Temporal

Temporal is a durable execution platform for orchestrating long-running workflows. Mastra workflows can run on Temporal workers, with each createStep mapped to a Temporal activity for automatic retries and durable state.

The @mastra/temporal package is experimental and not ready for production use. Visit the Temporal deployment guide for setup instructions.

On this page