Back to prompt library
Mastra AI Workflow Definition
Linked challenge: Gulf Trade Corridor Logistics Handler with Mastra AI
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Using `@mastra/core`, define a workflow `rerouteWorkflow` with steps `assessRisk`, `calculateCapacity`, and `selectCorridor` in TypeScript.