Back to prompt library
Mastra AI Workflow Initialization
Linked challenge: Office-to-Residential Conversion Feasibility Engine with Mastra AI & Hume AI
Prompt source
planning1 lines1 sectionsNo variables0 checklist items
Set up a Mastra AI project using `@mastra/core`. Define a workflow named `officeConversionWorkflow` with steps: `extractBuildingMetrics`, `checkZoningCompliance`, `calculateFeasibilityScore`, and `generateHumeVoicePrompt`. Configure state passing between steps using TypeScript interfaces.