Skip to main content
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:
  1. Collect focused inputs via a form
  2. Define a schema for the output
  3. Generate validated data with Output.object(...)
  4. Render the result in a product-friendly UI
That pattern works beautifully for planners, analyzers, internal ops tools, and niche micro-SaaS products.

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.
Each section is rendered from structured data — not post-processed text blobs.

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
The schema-based pattern means your outputs are always clean and predictable.

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.
The fastest way to build a new schema-based AI tool? Duplicate this app, swap the schema and prompt, and you’re shipping.