Marketing Plan is the clearest example of a schema-first business workflow in this repo. Short form in, validated growth strategy out. No free-form AI rambling — just clean, structured data.
Why This App Matters
This is the pattern you want for business tooling:- Collect focused inputs via a form
- Define a schema for the output
- Generate validated data with
Output.object(...) - Render the result in a product-friendly UI
How It Works
1
Fill in the form
The user provides key details about their product and goals. Short and focused — not a 20-field monster.
2
Pick a model
Choose from available AI models to power the generation.
3
Generate
The app sends the inputs plus the schema to the AI. The response is forced to match the defined structure.
4
Review your plan
The result renders in a clean UI with two main sections: traditional growth tactics and creative growth hacks.
Credit System
Marketing Plan uses the shared credit system. You can monetize premium generations without rebuilding billing logic. Set different prices for different models, or keep some free.Great Starting Point For…
This app is easy to reshape into:- SEO planners
- Content strategy tools
- Growth consulting products
- GTM assistants
- Founder planning tools
Files to Customize
1
Define your output shape
Edit
app/(apps)/marketing-plan/schema.ts to match the data you want back from the AI.2
Write your prompt
Edit
app/(apps)/marketing-plan/prompt.ts to tell the AI what kind of plan to generate.3
Update the form
Edit
app/(apps)/marketing-plan/form.tsx to collect the right inputs from users.4
Style the output
Edit
app/(apps)/marketing-plan/output.tsx to control how the result looks.5
Adjust app config
Edit
app/(apps)/marketing-plan/toolConfig.ts for model selection, credits, and metadata.6
Tweak the API
Edit
app/(apps)/marketing-plan/api/route.ts if you need to change the generation logic.
