Back to prompt library
Mastra AI Workflow Definition
Linked challenge: Sale-Leaseback Valuation & Credit Monitor Workflow with Mastra AI
Prompt source
implementation3 lines1 sectionsNo variables0 checklist items
import { Workflow, Step } from '@mastra/core';
// Create a Mastra AI workflow with steps 'creditCheckStep' and 'valuationStep'.
// Calculate initial_rent_coverage = ebitda / rent and cap_rate = rent / appraisal.