> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anotherwrapper.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Marketing Plan

> Generate schema-based marketing plans with multiple AI models

<Info>
  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.
</Info>

## 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

<Steps>
  <Step title="Fill in the form">
    The user provides key details about their product and goals. Short and focused -- not a 20-field monster.
  </Step>

  <Step title="Pick a model">
    Choose from available AI models to power the generation.
  </Step>

  <Step title="Generate">
    The app sends the inputs plus the schema to the AI. The response is forced to match the defined structure.
  </Step>

  <Step title="Review your plan">
    The result renders in a clean UI with two main sections: **traditional growth tactics** and **creative growth hacks**.
  </Step>
</Steps>

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

<Steps>
  <Step title="Define your output shape">
    Edit `app/(apps)/marketing-plan/schema.ts` to match the data you want back from the AI.
  </Step>

  <Step title="Write your prompt">
    Edit `app/(apps)/marketing-plan/prompt.ts` to tell the AI what kind of plan to generate.
  </Step>

  <Step title="Update the form">
    Edit `app/(apps)/marketing-plan/form.tsx` to collect the right inputs from users.
  </Step>

  <Step title="Style the output">
    Edit `app/(apps)/marketing-plan/output.tsx` to control how the result looks.
  </Step>

  <Step title="Adjust app config">
    Edit `app/(apps)/marketing-plan/toolConfig.ts` for model selection, credits, and metadata.
  </Step>

  <Step title="Tweak the API">
    Edit `app/(apps)/marketing-plan/api/route.ts` if you need to change the generation logic.
  </Step>
</Steps>

<Tip>
  The fastest way to build a new schema-based AI tool? Duplicate this app, swap the schema and prompt, and you're shipping.
</Tip>
